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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.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.001575/0.001575, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001798/0.001798, allocations: 194.6 kB / 16.53 MB, free: 6.664 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.438/1.438, allocations: 222.9 MB / 240.2 MB, free: 4.375 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.965/2.965, allocations: 472.6 MB / 0.7451 GB, free: 4.605 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001242/0.001242, allocations: 63.47 kB / 0.9121 GB, free: 33.45 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.291/0.2923, allocations: 159.9 MB / 1.068 GB, free: 10.41 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Movers.BaseClasses.Validation.EulerReducedSpeed): time 0.006216/0.2986, allocations: 4.915 MB / 1.073 GB, free: 5.473 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.01017/0.3088, allocations: 5.575 MB / 1.078 GB, free: 15.88 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001411/0.3102, allocations: 23.94 kB / 1.078 GB, free: 15.86 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.01396/0.3243, allocations: 7.885 MB / 1.086 GB, free: 7.965 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.003097/0.3274, allocations: 1.097 MB / 1.087 GB, free: 6.863 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.002815/0.3302, allocations: 1.178 MB / 1.088 GB, free: 5.684 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.01912/0.3493, allocations: 11.86 MB / 1.1 GB, free: 9.84 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004832/0.3498, allocations: 147 kB / 1.1 GB, free: 9.684 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001511/0.3514, allocations: 0.8332 MB / 1.101 GB, free: 8.848 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001307/0.3527, allocations: 0.856 MB / 1.102 GB, free: 7.988 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 0.0003392/0.353, allocations: 92 kB / 1.102 GB, free: 7.898 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002513/0.3556, allocations: 1.373 MB / 1.103 GB, free: 6.523 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0009912/0.3566, allocations: 1.141 MB / 1.104 GB, free: 5.379 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.001189/0.3578, allocations: 1.251 MB / 1.106 GB, free: 4.121 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.004169/0.3619, allocations: 3.956 MB / 1.109 GB, free: 156 kB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 3.878e-06/0.362, allocations: 0 / 1.109 GB, free: 156 kB / 0.8575 GB Notification: Performance of FrontEnd: time 2.024e-06/0.362, allocations: 3.938 kB / 1.109 GB, free: 152 kB / 0.8575 GB Notification: Performance of Transformations before backend: time 3.859e-05/0.362, allocations: 0 / 1.109 GB, free: 152 kB / 0.8575 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.004826/0.3669, allocations: 3.067 MB / 1.112 GB, free: 13.02 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 3.686e-05/0.3669, allocations: 8.031 kB / 1.112 GB, free: 13.01 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003813/0.3707, allocations: 0.7069 MB / 1.113 GB, free: 12.3 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006211/0.3769, allocations: 4.186 MB / 1.117 GB, free: 8.051 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.623e-05/0.377, allocations: 33.12 kB / 1.117 GB, free: 8.02 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001211/0.3771, allocations: 51.94 kB / 1.117 GB, free: 7.969 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001828/0.379, allocations: 0.9884 MB / 1.118 GB, free: 6.977 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.19e-05/0.379, allocations: 0 / 1.118 GB, free: 6.977 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.602e-05/0.3791, allocations: 15.98 kB / 1.118 GB, free: 6.961 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.365e-05/0.3791, allocations: 4 kB / 1.118 GB, free: 6.957 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002245/0.3813, allocations: 0.8415 MB / 1.119 GB, free: 6.113 MB / 0.8731 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00573/0.3871, allocations: 3.264 MB / 1.122 GB, free: 2.789 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002254/0.3894, allocations: 1.139 MB / 1.123 GB, free: 1.645 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001065/0.3904, allocations: 453.1 kB / 1.124 GB, free: 1.199 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 6.333e-05/0.3905, allocations: 24.23 kB / 1.124 GB, free: 1.176 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.18e-05/0.3905, allocations: 38.78 kB / 1.124 GB, free: 1.129 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=33): time 2.184e-06/0.3906, allocations: 4 kB / 1.124 GB, free: 1.125 MB / 0.8731 GB Notification: Performance of matching and sorting (n=33): time 0.003928/0.3945, allocations: 1.62 MB / 1.125 GB, free: 15.5 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.557e-05/0.3945, allocations: 55.41 kB / 1.126 GB, free: 15.43 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004969/0.3995, allocations: 3.751 MB / 1.129 GB, free: 11.68 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 0.0001276/0.3997, allocations: 41.7 kB / 1.129 GB, free: 11.64 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009299/0.4006, allocations: 0.981 MB / 1.13 GB, free: 10.65 MB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001491/0.4007, allocations: 130.4 kB / 1.13 GB, free: 10.52 MB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007339/0.4015, allocations: 0.5752 MB / 1.131 GB, free: 9.941 MB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 9.409e-05/0.4016, allocations: 305.1 kB / 1.131 GB, free: 9.641 MB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002746/0.4043, allocations: 1.916 MB / 1.133 GB, free: 7.719 MB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003219/0.4076, allocations: 2.457 MB / 1.135 GB, free: 5.094 MB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005676/0.4133, allocations: 4.025 MB / 1.139 GB, free: 0.8906 MB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.665e-05/0.4133, allocations: 4 kB / 1.139 GB, free: 0.8867 MB / 0.8887 GB Notification: Performance of matching and sorting (n=333) (initialization): time 0.007363/0.4207, allocations: 4.694 MB / 1.144 GB, free: 12.15 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 3.159e-05/0.4207, allocations: 12.88 kB / 1.144 GB, free: 12.14 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.557e-05/0.4208, allocations: 12 kB / 1.144 GB, free: 12.13 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.09e-05/0.4208, allocations: 20 kB / 1.144 GB, free: 12.11 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001633/0.4225, allocations: 419.4 kB / 1.144 GB, free: 11.7 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.816e-05/0.4225, allocations: 27.92 kB / 1.144 GB, free: 11.67 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001996/0.4245, allocations: 262.8 kB / 1.145 GB, free: 11.41 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001819/0.4247, allocations: 112 kB / 1.145 GB, free: 11.3 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.003392/0.4281, allocations: 2.265 MB / 1.147 GB, free: 9.035 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.002826/0.4309, allocations: 2.172 MB / 1.149 GB, free: 6.695 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.00476/0.4357, allocations: 3.451 MB / 1.152 GB, free: 3.07 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.35e-06/0.4357, allocations: 0 / 1.152 GB, free: 3.07 MB / 0.9044 GB Notification: Performance of matching and sorting (n=333) (initialization_lambda0): time 0.006554/0.4423, allocations: 4.113 MB / 1.156 GB, free: 14.91 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 2.035e-05/0.4423, allocations: 11.94 kB / 1.156 GB, free: 14.9 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.864e-05/0.4423, allocations: 15.98 kB / 1.157 GB, free: 14.89 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.189e-05/0.4424, allocations: 20 kB / 1.157 GB, free: 14.87 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001539/0.4439, allocations: 403.5 kB / 1.157 GB, free: 14.47 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.786e-05/0.444, allocations: 27.92 kB / 1.157 GB, free: 14.45 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00219/0.4461, allocations: 218.6 kB / 1.157 GB, free: 14.23 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001656/0.4463, allocations: 104 kB / 1.157 GB, free: 14.13 MB / 0.92 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 48 * 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 (213): * Single equations (assignments): 204 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 6 * 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.0004299/0.4468, allocations: 269.3 kB / 1.158 GB, free: 13.86 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004148/0.4472, allocations: 264.3 kB / 1.158 GB, free: 13.6 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003088/0.4503, allocations: 1.224 MB / 1.159 GB, free: 12.36 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.454e-06/0.4503, allocations: 4 kB / 1.159 GB, free: 12.36 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.172e-06/0.4503, allocations: 0 / 1.159 GB, free: 12.36 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.1e-06/0.4503, allocations: 0 / 1.159 GB, free: 12.36 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002025/0.4523, allocations: 1.517 MB / 1.16 GB, free: 10.79 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.337e-06/0.4524, allocations: 3.938 kB / 1.16 GB, free: 10.79 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007364/0.4531, allocations: 127.8 kB / 1.161 GB, free: 10.66 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.789e-06/0.4531, allocations: 0 / 1.161 GB, free: 10.66 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.376e-05/0.4532, allocations: 19.98 kB / 1.161 GB, free: 10.64 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.504e-06/0.4532, allocations: 0 / 1.161 GB, free: 10.64 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.713e-06/0.4532, allocations: 4 kB / 1.161 GB, free: 10.64 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00254/0.4557, allocations: 1.302 MB / 1.162 GB, free: 9.316 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008775/0.4566, allocations: 497.2 kB / 1.162 GB, free: 8.809 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000321/0.4569, allocations: 8 kB / 1.162 GB, free: 8.801 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001027/0.458, allocations: 67.92 kB / 1.162 GB, free: 8.734 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.783e-05/0.4581, allocations: 35.95 kB / 1.162 GB, free: 8.699 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.965e-05/0.4581, allocations: 16 kB / 1.162 GB, free: 8.684 MB / 0.92 GB Notification: Performance of sorting global known variables: time 0.003603/0.4617, allocations: 2.501 MB / 1.165 GB, free: 6.195 MB / 0.92 GB Notification: Performance of sort global known variables: time 3.61e-07/0.4618, allocations: 0 / 1.165 GB, free: 6.195 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.002856/0.4646, allocations: 1.066 MB / 1.166 GB, free: 5.129 MB / 0.92 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.001174/0.4658, allocations: 497 kB / 1.166 GB, free: 4.637 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.007474/0.4733, allocations: 4.866 MB / 1.171 GB, free: 15.77 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 3.566e-06/0.4733, allocations: 0 / 1.171 GB, free: 15.77 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.001084/0.4744, allocations: 476.2 kB / 1.172 GB, free: 15.3 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004976/0.4794, allocations: 1.259 MB / 1.173 GB, free: 14.07 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007909/0.4873, allocations: 4.377 MB / 1.177 GB, free: 9.656 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001481/0.4888, allocations: 1.788 MB / 1.179 GB, free: 7.832 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 0.003168/0.492, allocations: 0.7739 MB / 1.18 GB, free: 7.051 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007245/0.4928, allocations: 203.4 kB / 1.18 GB, free: 6.855 MB / 0.9356 GB Notification: Performance of SimCode: time 1.021e-06/0.4928, allocations: 0 / 1.18 GB, free: 6.855 MB / 0.9356 GB Notification: Performance of Templates: time 0.0961/0.5889, allocations: 59.12 MB / 1.238 GB, free: 12.54 MB / 0.9981 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 -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/jenkins/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