Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Movers.BaseClasses.Validation.EulerReducedSpeed.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Fluid.Movers.BaseClasses.Validation.EulerReducedSpeed,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|pow1|eff1.WHyd|pow2|eff2.WHyd|pow3|eff3.WHyd",fileNamePrefix="Buildings_latest_Buildings.Fluid.Movers.BaseClasses.Validation.EulerReducedSpeed") translateModel(Buildings.Fluid.Movers.BaseClasses.Validation.EulerReducedSpeed,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|pow1|eff1.WHyd|pow2|eff2.WHyd|pow3|eff3.WHyd",fileNamePrefix="Buildings_latest_Buildings.Fluid.Movers.BaseClasses.Validation.EulerReducedSpeed") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001344/0.001344, allocations: 114.1 kB / 16.37 MB, free: 6.008 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001487/0.001487, allocations: 195.3 kB / 17.31 MB, free: 5.613 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.452/1.452, allocations: 222.9 MB / 241 MB, free: 15.2 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.49/2.49, allocations: 442.6 MB / 0.7165 GB, free: 14.66 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001387/0.001387, allocations: 62.8 kB / 0.8773 GB, free: 10.99 MB / 0.6544 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2716/0.273, allocations: 153 MB / 1.027 GB, free: 2.062 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Movers.BaseClasses.Validation.EulerReducedSpeed): time 0.006444/0.2795, allocations: 4.914 MB / 1.032 GB, free: 13.12 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.008987/0.2885, allocations: 5.577 MB / 1.037 GB, free: 7.527 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000852/0.2894, allocations: 23.94 kB / 1.037 GB, free: 7.504 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.01269/0.3021, allocations: 7.878 MB / 1.045 GB, free: 15.61 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.002573/0.3048, allocations: 1.093 MB / 1.046 GB, free: 14.52 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.002565/0.3073, allocations: 1.196 MB / 1.047 GB, free: 13.32 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.01962/0.327, allocations: 13.53 MB / 1.06 GB, free: 15.78 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003599/0.3273, allocations: 154.9 kB / 1.06 GB, free: 15.61 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001376/0.3287, allocations: 0.8409 MB / 1.061 GB, free: 14.77 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001255/0.33, allocations: 0.8443 MB / 1.062 GB, free: 13.92 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 0.0003097/0.3303, allocations: 92 kB / 1.062 GB, free: 13.83 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00232/0.3327, allocations: 1.369 MB / 1.063 GB, free: 12.46 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 0.0009871/0.3337, allocations: 1.141 MB / 1.064 GB, free: 11.32 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 0.001665/0.3353, allocations: 1.255 MB / 1.066 GB, free: 10.05 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.004811/0.3402, allocations: 3.967 MB / 1.07 GB, free: 6.074 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 4.148e-06/0.3402, allocations: 0 / 1.07 GB, free: 6.074 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.593e-06/0.3402, allocations: 0 / 1.07 GB, free: 6.074 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 8.851e-05/0.3403, allocations: 0 / 1.07 GB, free: 6.074 MB / 0.8419 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 64 * Number of variables: 64 Notification: Performance of Generate backend data structure: time 0.005895/0.3462, allocations: 3.048 MB / 1.073 GB, free: 2.961 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 3.113e-05/0.3462, allocations: 8.031 kB / 1.073 GB, free: 2.953 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003671/0.3499, allocations: 0.7146 MB / 1.073 GB, free: 2.234 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.4241/0.7741, allocations: 4.225 MB / 1.077 GB, free: 53.04 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.656e-05/0.7741, allocations: 34.81 kB / 1.077 GB, free: 53.02 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000128/0.7743, allocations: 46.66 kB / 1.077 GB, free: 53.01 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001805/0.7761, allocations: 0.9911 MB / 1.078 GB, free: 52.75 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.221e-05/0.7761, allocations: 1.406 kB / 1.078 GB, free: 52.75 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.267e-05/0.7762, allocations: 9.406 kB / 1.078 GB, free: 52.74 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.428e-06/0.7762, allocations: 11.48 kB / 1.078 GB, free: 52.73 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002018/0.7782, allocations: 0.8525 MB / 1.079 GB, free: 52.55 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00615/0.7844, allocations: 3.211 MB / 1.082 GB, free: 51.25 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002314/0.7867, allocations: 1.144 MB / 1.084 GB, free: 50.94 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001034/0.7878, allocations: 457.2 kB / 1.084 GB, free: 50.83 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 7.298e-05/0.7879, allocations: 14.92 kB / 1.084 GB, free: 50.83 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.94e-05/0.7879, allocations: 36.88 kB / 1.084 GB, free: 50.79 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=33): time 2.124e-06/0.7879, allocations: 0 / 1.084 GB, free: 50.79 MB / 0.8419 GB Notification: Performance of matching and sorting (n=33): time 0.004447/0.7923, allocations: 1.631 MB / 1.086 GB, free: 50.3 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.871e-05/0.7924, allocations: 55.06 kB / 1.086 GB, free: 50.23 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006248/0.7987, allocations: 3.7 MB / 1.089 GB, free: 48.92 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 0.0003259/0.799, allocations: 38.08 kB / 1.089 GB, free: 48.88 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007801/0.7998, allocations: 1.006 MB / 1.09 GB, free: 48.11 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001521/0.8, allocations: 134.3 kB / 1.09 GB, free: 48.02 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007382/0.8007, allocations: 0.5126 MB / 1.091 GB, free: 47.83 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 3.455e-05/0.8007, allocations: 308.3 kB / 1.091 GB, free: 47.53 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002744/0.8035, allocations: 1.821 MB / 1.093 GB, free: 46.95 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002913/0.8064, allocations: 2.357 MB / 1.095 GB, free: 45.84 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004962/0.8114, allocations: 3.861 MB / 1.099 GB, free: 44.26 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.053e-05/0.8114, allocations: 3.219 kB / 1.099 GB, free: 44.26 MB / 0.8419 GB Notification: Performance of matching and sorting (n=303) (initialization): time 0.00702/0.8184, allocations: 4.481 MB / 1.103 GB, free: 42.73 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 2.894e-05/0.8185, allocations: 13.12 kB / 1.103 GB, free: 42.73 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.03e-05/0.8185, allocations: 10.19 kB / 1.103 GB, free: 42.73 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.929e-05/0.8186, allocations: 18.94 kB / 1.103 GB, free: 42.73 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001586/0.8202, allocations: 379.6 kB / 1.104 GB, free: 42.7 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.652e-05/0.8202, allocations: 28.97 kB / 1.104 GB, free: 42.69 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00238/0.8226, allocations: 263.4 kB / 1.104 GB, free: 42.55 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002159/0.8229, allocations: 110.5 kB / 1.104 GB, free: 42.53 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.003302/0.8262, allocations: 2.158 MB / 1.106 GB, free: 41.75 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.002625/0.8288, allocations: 2.056 MB / 1.108 GB, free: 40.75 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.00436/0.8332, allocations: 3.291 MB / 1.112 GB, free: 39.29 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.187e-05/0.8332, allocations: 3.219 kB / 1.112 GB, free: 39.29 MB / 0.8419 GB Notification: Performance of matching and sorting (n=303) (initialization_lambda0): time 0.006546/0.8398, allocations: 3.888 MB / 1.115 GB, free: 37.93 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 2.148e-05/0.8398, allocations: 9.531 kB / 1.115 GB, free: 37.93 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.256e-05/0.8399, allocations: 11.16 kB / 1.115 GB, free: 37.93 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.321e-05/0.8399, allocations: 18.94 kB / 1.115 GB, free: 37.93 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001549/0.8415, allocations: 381.2 kB / 1.116 GB, free: 37.89 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.757e-05/0.8415, allocations: 24.23 kB / 1.116 GB, free: 37.89 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0027/0.8442, allocations: 216.1 kB / 1.116 GB, free: 37.8 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002824/0.8445, allocations: 100.6 kB / 1.116 GB, free: 37.78 MB / 0.8419 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 49 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (187): * Single equations (assignments): 180 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0005471/0.8451, allocations: 260.3 kB / 1.116 GB, free: 37.54 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001003/0.8461, allocations: 256.3 kB / 1.117 GB, free: 37.39 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003446/0.8495, allocations: 1.239 MB / 1.118 GB, free: 37.02 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.384e-06/0.8496, allocations: 8.156 kB / 1.118 GB, free: 37.02 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.815e-06/0.8496, allocations: 3.938 kB / 1.118 GB, free: 37.01 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.214e-06/0.8496, allocations: 3.781 kB / 1.118 GB, free: 37.01 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003474/0.8531, allocations: 1.514 MB / 1.119 GB, free: 36.36 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.971e-06/0.8531, allocations: 0.7031 kB / 1.119 GB, free: 36.36 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007665/0.8538, allocations: 128.3 kB / 1.119 GB, free: 36.35 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.683e-06/0.8539, allocations: 1.062 kB / 1.119 GB, free: 36.35 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.017e-05/0.8539, allocations: 17.09 kB / 1.119 GB, free: 36.34 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.649e-06/0.8539, allocations: 2.156 kB / 1.119 GB, free: 36.34 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.254e-06/0.8539, allocations: 4.641 kB / 1.119 GB, free: 36.34 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002714/0.8567, allocations: 1.298 MB / 1.121 GB, free: 35.82 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001384/0.8581, allocations: 493.2 kB / 1.121 GB, free: 35.48 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006912/0.8588, allocations: 6.922 kB / 1.121 GB, free: 35.48 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001333/0.8601, allocations: 67.25 kB / 1.121 GB, free: 35.47 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.304e-05/0.8602, allocations: 30.92 kB / 1.121 GB, free: 35.46 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.267e-05/0.8603, allocations: 23.06 kB / 1.121 GB, free: 35.46 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.004786/0.8651, allocations: 2.481 MB / 1.124 GB, free: 34.59 MB / 0.8419 GB Notification: Performance of sort global known variables: time 3.01e-07/0.8651, allocations: 2.844 kB / 1.124 GB, free: 34.59 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.004106/0.8692, allocations: 1.023 MB / 1.125 GB, free: 34.52 MB / 0.8419 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (36): * Single equations (assignments): 36 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001282/0.8705, allocations: 497.4 kB / 1.125 GB, free: 34.39 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.006279/0.8768, allocations: 4.544 MB / 1.13 GB, free: 32.7 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 3.417e-06/0.8768, allocations: 384 / 1.13 GB, free: 32.7 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0009047/0.8777, allocations: 483.4 kB / 1.13 GB, free: 32.23 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004809/0.8825, allocations: 1.324 MB / 1.131 GB, free: 30.95 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006987/0.8895, allocations: 4.299 MB / 1.136 GB, free: 26.62 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001239/0.8908, allocations: 1.773 MB / 1.137 GB, free: 24.81 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.002669/0.8935, allocations: 0.7941 MB / 1.138 GB, free: 24.01 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008226/0.8943, allocations: 211.3 kB / 1.138 GB, free: 23.8 MB / 0.8419 GB Notification: Performance of SimCode: time 1.022e-06/0.8943, allocations: 0 / 1.138 GB, free: 23.8 MB / 0.8419 GB Notification: Performance of Templates: time 0.08334/0.9777, allocations: 56.57 MB / 1.194 GB, free: 200 kB / 0.8731 GB make -j1 -f Buildings_latest_Buildings.Fluid.Movers.BaseClasses.Validation.EulerReducedSpeed.makefile (rm -f Buildings_latest_Buildings.Fluid.Movers.BaseClasses.Validation.EulerReducedSpeed.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Movers.BaseClasses.Validation.EulerReducedSpeed.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Movers.BaseClasses.Validation.EulerReducedSpeed.pipe >> ../files/Buildings_latest_Buildings.Fluid.Movers.BaseClasses.Validation.EulerReducedSpeed.sim & ./Buildings_latest_Buildings.Fluid.Movers.BaseClasses.Validation.EulerReducedSpeed -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Movers.BaseClasses.Validation.EulerReducedSpeed.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.Movers.BaseClasses.Validation.EulerReducedSpeed_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Movers_BaseClasses_Validation_EulerReducedSpeed.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Movers.BaseClasses.Validation.EulerReducedSpeed.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches