Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor.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.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.HeatPumps.Compressors.Validation.ScrollCompressor,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|com.pDis|com.pSuc|com.P|heaFloEva.Q_flow|heaFloCon.Q_flow",fileNamePrefix="Buildings_latest_Buildings.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor") translateModel(Buildings.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|com.pDis|com.pSuc|com.P|heaFloEva.Q_flow|heaFloCon.Q_flow",fileNamePrefix="Buildings_latest_Buildings.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001445/0.001445, allocations: 109 kB / 16.41 MB, free: 6.469 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.001519/0.001519, allocations: 187 kB / 17.34 MB, free: 5.715 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.372/1.372, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.615/2.615, allocations: 461.9 MB / 0.7355 GB, free: 11.07 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001296/0.001296, allocations: 59.91 kB / 1.055 GB, free: 7.719 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.955/0.9563, allocations: 157.4 MB / 1.208 GB, free: 13.62 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor): time 0.003398/0.9597, allocations: 2.04 MB / 1.21 GB, free: 11.58 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.002296/0.9621, allocations: 1.667 MB / 1.212 GB, free: 9.906 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.541e-05/0.9622, allocations: 4 kB / 1.212 GB, free: 9.902 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 6.402e-05/0.9623, allocations: 15.8 kB / 1.212 GB, free: 9.887 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.0001213/0.9624, allocations: 51.55 kB / 1.212 GB, free: 9.836 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.00102/0.9634, allocations: 362.8 kB / 1.212 GB, free: 9.48 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0002343/0.9637, allocations: 231.1 kB / 1.213 GB, free: 9.254 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000157/0.9639, allocations: 53.52 kB / 1.213 GB, free: 9.203 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001023/0.964, allocations: 83.77 kB / 1.213 GB, free: 9.121 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001564/0.9641, allocations: 95.66 kB / 1.213 GB, free: 9.027 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 3.404e-05/0.9642, allocations: 20 kB / 1.213 GB, free: 9.008 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007891/0.965, allocations: 411.5 kB / 1.213 GB, free: 8.605 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 4.035e-05/0.965, allocations: 39.91 kB / 1.213 GB, free: 8.566 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 8.701e-05/0.9651, allocations: 95.58 kB / 1.213 GB, free: 8.473 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0005622/0.9657, allocations: 444.6 kB / 1.214 GB, free: 8.043 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 5.59e-06/0.9657, allocations: 4 kB / 1.214 GB, free: 8.039 MB / 0.9356 GB Notification: Performance of FrontEnd: time 2.325e-06/0.9657, allocations: 0 / 1.214 GB, free: 8.039 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 1.06e-05/0.9657, allocations: 0 / 1.214 GB, free: 8.039 MB / 0.9356 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 38 * Number of variables: 38 Notification: Performance of Generate backend data structure: time 0.0008728/0.9666, allocations: 0.5225 MB / 1.214 GB, free: 7.465 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 3.739e-05/0.9666, allocations: 8.031 kB / 1.214 GB, free: 7.457 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001093/0.9677, allocations: 136.6 kB / 1.215 GB, free: 7.324 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001352/0.9679, allocations: 184.2 kB / 1.215 GB, free: 7.105 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.743e-05/0.968, allocations: 54.25 kB / 1.215 GB, free: 7.047 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.203e-05/0.968, allocations: 12.38 kB / 1.215 GB, free: 7.035 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005604/0.9686, allocations: 210.1 kB / 1.215 GB, free: 6.824 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.091e-05/0.9686, allocations: 3.938 kB / 1.215 GB, free: 6.82 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.656e-05/0.9686, allocations: 8 kB / 1.215 GB, free: 6.812 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.105e-06/0.9687, allocations: 4 kB / 1.215 GB, free: 6.809 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007116/0.9694, allocations: 245.2 kB / 1.215 GB, free: 6.57 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001404/0.9708, allocations: 0.9585 MB / 1.216 GB, free: 5.48 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004653/0.9713, allocations: 186.6 kB / 1.216 GB, free: 5.289 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003522/0.9716, allocations: 117 kB / 1.216 GB, free: 5.172 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006513/0.9723, allocations: 0.5259 MB / 1.217 GB, free: 4.535 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.073e-05/0.9723, allocations: 30.56 kB / 1.217 GB, free: 4.496 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=16): time 4.128e-06/0.9723, allocations: 3.984 kB / 1.217 GB, free: 4.492 MB / 0.9356 GB Notification: Performance of matching and sorting (n=16): time 0.001128/0.9735, allocations: 325.5 kB / 1.217 GB, free: 4.168 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.279e-05/0.9735, allocations: 51.41 kB / 1.217 GB, free: 4.105 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001484/0.9737, allocations: 164.7 kB / 1.217 GB, free: 3.938 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 3.045e-05/0.9737, allocations: 29.7 kB / 1.218 GB, free: 3.902 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 7.821e-05/0.9738, allocations: 120.1 kB / 1.218 GB, free: 3.777 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 4.587e-05/0.9739, allocations: 55.27 kB / 1.218 GB, free: 3.723 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.411e-05/0.9739, allocations: 45.61 kB / 1.218 GB, free: 3.672 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001166/0.9741, allocations: 326.8 kB / 1.218 GB, free: 3.344 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003472/0.9744, allocations: 107.8 kB / 1.218 GB, free: 3.238 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003597/0.9748, allocations: 125.6 kB / 1.218 GB, free: 3.109 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006611/0.9755, allocations: 192.1 kB / 1.218 GB, free: 2.918 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.076e-06/0.9755, allocations: 0 / 1.218 GB, free: 2.918 MB / 0.9356 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0007865/0.9763, allocations: 276 kB / 1.219 GB, free: 2.645 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.835e-05/0.9763, allocations: 4 kB / 1.219 GB, free: 2.641 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.959e-06/0.9763, allocations: 4 kB / 1.219 GB, free: 2.637 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.615e-05/0.9763, allocations: 3.938 kB / 1.219 GB, free: 2.633 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003712/0.9767, allocations: 55.89 kB / 1.219 GB, free: 2.578 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.817e-06/0.9767, allocations: 3.938 kB / 1.219 GB, free: 2.574 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002926/0.977, allocations: 35.73 kB / 1.219 GB, free: 2.539 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.458e-05/0.9771, allocations: 11.98 kB / 1.219 GB, free: 2.527 MB / 0.9356 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 2 (com.isOn,$PRE.com.isOn) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (22): * Single equations (assignments): 22 * 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 prepare postOptimizeDAE: time 0.0001279/0.9772, allocations: 121.8 kB / 1.219 GB, free: 2.398 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.215e-05/0.9773, allocations: 11.91 kB / 1.219 GB, free: 2.387 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008331/0.9781, allocations: 266.6 kB / 1.219 GB, free: 2.117 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.033e-06/0.9781, allocations: 7.938 kB / 1.219 GB, free: 2.109 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.9e-06/0.9781, allocations: 0 / 1.219 GB, free: 2.109 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.017e-06/0.9781, allocations: 0 / 1.219 GB, free: 2.109 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001824/0.98, allocations: 1.062 MB / 1.22 GB, free: 0.8945 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.693e-06/0.98, allocations: 7.922 kB / 1.22 GB, free: 0.8867 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003253/0.9803, allocations: 51.97 kB / 1.22 GB, free: 0.8359 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.572e-06/0.9803, allocations: 0 / 1.22 GB, free: 0.8359 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.794e-05/0.9804, allocations: 0 / 1.22 GB, free: 0.8359 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.735e-06/0.9804, allocations: 4 kB / 1.22 GB, free: 0.832 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.643e-06/0.9804, allocations: 0 / 1.22 GB, free: 0.832 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000772/0.9811, allocations: 354.2 kB / 1.221 GB, free: 476 kB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 6.279e-05/0.9812, allocations: 92.89 kB / 1.221 GB, free: 364 kB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.116e-05/0.9813, allocations: 8 kB / 1.221 GB, free: 356 kB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003204/0.9816, allocations: 27.97 kB / 1.221 GB, free: 328 kB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.284e-05/0.9816, allocations: 11.92 kB / 1.221 GB, free: 316 kB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.687e-05/0.9817, allocations: 8 kB / 1.221 GB, free: 308 kB / 0.9356 GB Notification: Performance of sorting global known variables: time 8.262e-05/0.9818, allocations: 121.3 kB / 1.221 GB, free: 188 kB / 0.9356 GB Notification: Performance of sort global known variables: time 1.11e-07/0.9818, allocations: 0 / 1.221 GB, free: 188 kB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0004832/0.9823, allocations: 131.9 kB / 1.221 GB, free: 56 kB / 0.9356 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 1 (com.isOn) * Number of discrete states: 1 (com.isOn) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (16): * Single equations (assignments): 16 * 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.0004989/0.9828, allocations: 227 kB / 1.221 GB, free: 15.82 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.000803/0.9836, allocations: 227.8 kB / 1.221 GB, free: 15.6 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 3.747e-06/0.9836, allocations: 0 / 1.221 GB, free: 15.6 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.0003516/0.9839, allocations: 112.1 kB / 1.222 GB, free: 15.49 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004648/0.9844, allocations: 51.84 kB / 1.222 GB, free: 15.44 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002143/0.9866, allocations: 0.4916 MB / 1.222 GB, free: 14.92 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002748/0.9869, allocations: 0.7164 MB / 1.223 GB, free: 14.18 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001166/0.987, allocations: 23.42 kB / 1.223 GB, free: 14.15 MB / 0.9512 GB Notification: Performance of SimCode: time 6.82e-07/0.987, allocations: 0 / 1.223 GB, free: 14.15 MB / 0.9512 GB Notification: Performance of Templates: time 0.007563/0.9946, allocations: 4.159 MB / 1.227 GB, free: 10.02 MB / 0.9512 GB make -j1 -f Buildings_latest_Buildings.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor.makefile (rm -f Buildings_latest_Buildings.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor.pipe ; mkfifo Buildings_latest_Buildings.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor.pipe >> ../files/Buildings_latest_Buildings.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor.sim & ./Buildings_latest_Buildings.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_HeatPumps_Compressors_Validation_ScrollCompressor.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches