Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/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_10_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_10_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.00784/0.00784, allocations: 97.98 kB / 15.73 MB, free: 5.605 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.001832/0.001832, allocations: 192.4 kB / 16.67 MB, free: 5.527 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.337/1.337, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.408/2.408, allocations: 437 MB / 0.7105 GB, free: 4.391 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.00137/0.00137, allocations: 71.84 kB / 1.019 GB, free: 9.398 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7599/0.7613, allocations: 151.6 MB / 1.167 GB, free: 3.812 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor): time 0.00305/0.7643, allocations: 2.043 MB / 1.169 GB, free: 1.758 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.002374/0.7667, allocations: 1.671 MB / 1.17 GB, free: 80 kB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.163e-05/0.7668, allocations: 0 / 1.17 GB, free: 80 kB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 7.075e-05/0.7669, allocations: 23.78 kB / 1.17 GB, free: 56 kB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.0001156/0.7671, allocations: 51.55 kB / 1.17 GB, free: 4 kB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.001055/0.7681, allocations: 358.8 kB / 1.171 GB, free: 15.65 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.0002523/0.7684, allocations: 227.1 kB / 1.171 GB, free: 15.43 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001657/0.7686, allocations: 53.53 kB / 1.171 GB, free: 15.38 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001089/0.7687, allocations: 83.78 kB / 1.171 GB, free: 15.29 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001646/0.7688, allocations: 91.66 kB / 1.171 GB, free: 15.2 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 4.741e-05/0.7689, allocations: 23.98 kB / 1.171 GB, free: 15.18 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008409/0.7698, allocations: 407.5 kB / 1.171 GB, free: 14.78 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 4.92e-05/0.7698, allocations: 47.89 kB / 1.172 GB, free: 14.73 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 8.046e-05/0.7699, allocations: 95.64 kB / 1.172 GB, free: 14.64 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.0005826/0.7705, allocations: 435.2 kB / 1.172 GB, free: 14.22 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 6.252e-06/0.7705, allocations: 0 / 1.172 GB, free: 14.22 MB / 0.9044 GB Notification: Performance of FrontEnd: time 2.084e-06/0.7705, allocations: 3.938 kB / 1.172 GB, free: 14.21 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 6.151e-06/0.7705, allocations: 0 / 1.172 GB, free: 14.21 MB / 0.9044 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.0008516/0.7714, allocations: 0.5256 MB / 1.173 GB, free: 13.64 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 4.069e-05/0.7714, allocations: 16.92 kB / 1.173 GB, free: 13.62 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001153/0.7726, allocations: 140.7 kB / 1.173 GB, free: 13.48 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001486/0.7728, allocations: 176.3 kB / 1.173 GB, free: 13.27 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.652e-05/0.7728, allocations: 54.19 kB / 1.173 GB, free: 13.21 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.36e-05/0.7729, allocations: 16.38 kB / 1.173 GB, free: 13.2 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005782/0.7735, allocations: 215.7 kB / 1.173 GB, free: 12.98 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.245e-05/0.7735, allocations: 3.938 kB / 1.173 GB, free: 12.98 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.238e-05/0.7735, allocations: 11.98 kB / 1.173 GB, free: 12.97 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.585e-06/0.7736, allocations: 4 kB / 1.173 GB, free: 12.96 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007342/0.7743, allocations: 236.2 kB / 1.173 GB, free: 12.73 MB / 0.9044 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001427/0.7757, allocations: 0.9664 MB / 1.174 GB, free: 11.64 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004789/0.7762, allocations: 178.6 kB / 1.175 GB, free: 11.46 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003668/0.7766, allocations: 112.8 kB / 1.175 GB, free: 11.35 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006551/0.7773, allocations: 0.5181 MB / 1.175 GB, free: 10.72 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.875e-05/0.7773, allocations: 38.78 kB / 1.175 GB, free: 10.67 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=16): time 1.643e-06/0.7773, allocations: 0 / 1.175 GB, free: 10.67 MB / 0.9044 GB Notification: Performance of matching and sorting (n=16): time 0.001161/0.7785, allocations: 334.5 kB / 1.175 GB, free: 10.34 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.129e-05/0.7785, allocations: 55.41 kB / 1.176 GB, free: 10.27 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001323/0.7787, allocations: 160.9 kB / 1.176 GB, free: 10.11 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 3.932e-05/0.7787, allocations: 29.7 kB / 1.176 GB, free: 10.07 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 7.07e-05/0.7788, allocations: 120.2 kB / 1.176 GB, free: 9.949 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 4.807e-05/0.7788, allocations: 63.47 kB / 1.176 GB, free: 9.887 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.964e-05/0.7789, allocations: 41.7 kB / 1.176 GB, free: 9.84 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001106/0.7791, allocations: 326.8 kB / 1.176 GB, free: 9.512 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003507/0.7794, allocations: 99.89 kB / 1.176 GB, free: 9.414 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003643/0.7798, allocations: 130.7 kB / 1.176 GB, free: 9.281 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006681/0.7805, allocations: 195.3 kB / 1.177 GB, free: 9.086 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.014e-06/0.7805, allocations: 0 / 1.177 GB, free: 9.086 MB / 0.9044 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0008049/0.7813, allocations: 279.1 kB / 1.177 GB, free: 8.809 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.578e-05/0.7813, allocations: 4 kB / 1.177 GB, free: 8.805 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.24e-06/0.7813, allocations: 3.938 kB / 1.177 GB, free: 8.801 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.337e-05/0.7813, allocations: 4 kB / 1.177 GB, free: 8.797 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003865/0.7817, allocations: 51.91 kB / 1.177 GB, free: 8.746 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.635e-06/0.7818, allocations: 0 / 1.177 GB, free: 8.746 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003034/0.7821, allocations: 35.8 kB / 1.177 GB, free: 8.711 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.669e-05/0.7821, allocations: 8 kB / 1.177 GB, free: 8.703 MB / 0.9044 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.0001092/0.7822, allocations: 121.8 kB / 1.177 GB, free: 8.574 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.348e-05/0.7823, allocations: 23.89 kB / 1.177 GB, free: 8.551 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008274/0.7831, allocations: 266.6 kB / 1.177 GB, free: 8.281 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.869e-06/0.7831, allocations: 3.938 kB / 1.177 GB, free: 8.277 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.439e-06/0.7831, allocations: 0 / 1.177 GB, free: 8.277 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.306e-06/0.7831, allocations: 0 / 1.177 GB, free: 8.277 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001801/0.785, allocations: 1.071 MB / 1.178 GB, free: 7.051 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.119e-06/0.785, allocations: 7.938 kB / 1.178 GB, free: 7.043 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003352/0.7853, allocations: 44.03 kB / 1.179 GB, free: 7 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.779e-06/0.7853, allocations: 3.984 kB / 1.179 GB, free: 6.996 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.041e-05/0.7854, allocations: 8 kB / 1.179 GB, free: 6.988 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.074e-06/0.7854, allocations: 3.938 kB / 1.179 GB, free: 6.984 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.466e-06/0.7854, allocations: 4 kB / 1.179 GB, free: 6.98 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007786/0.7862, allocations: 347.4 kB / 1.179 GB, free: 6.621 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 5.895e-05/0.7862, allocations: 96.92 kB / 1.179 GB, free: 6.508 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.128e-05/0.7863, allocations: 8 kB / 1.179 GB, free: 6.5 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003455/0.7866, allocations: 23.97 kB / 1.179 GB, free: 6.477 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.784e-05/0.7867, allocations: 15.98 kB / 1.179 GB, free: 6.461 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.787e-05/0.7867, allocations: 4 kB / 1.179 GB, free: 6.457 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 9.024e-05/0.7868, allocations: 121.6 kB / 1.179 GB, free: 6.34 MB / 0.9044 GB Notification: Performance of sort global known variables: time 2.11e-07/0.7868, allocations: 0 / 1.179 GB, free: 6.34 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0004585/0.7873, allocations: 135.6 kB / 1.179 GB, free: 6.207 MB / 0.9044 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.0004052/0.7877, allocations: 234.7 kB / 1.179 GB, free: 5.969 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0007916/0.7885, allocations: 227.8 kB / 1.18 GB, free: 5.746 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 2.956e-06/0.7885, allocations: 3.938 kB / 1.18 GB, free: 5.742 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.0003595/0.7889, allocations: 119.9 kB / 1.18 GB, free: 5.625 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004223/0.7893, allocations: 44.05 kB / 1.18 GB, free: 5.582 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002124/0.7914, allocations: 472.2 kB / 1.18 GB, free: 5.09 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002571/0.7917, allocations: 0.7086 MB / 1.181 GB, free: 4.355 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 0.0001641/0.7919, allocations: 30.61 kB / 1.181 GB, free: 4.328 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.682e-05/0.792, allocations: 27.42 kB / 1.181 GB, free: 4.301 MB / 0.9044 GB Notification: Performance of SimCode: time 5.21e-07/0.792, allocations: 4 kB / 1.181 GB, free: 4.297 MB / 0.9044 GB Notification: Performance of Templates: time 0.00801/0.8, allocations: 4.561 MB / 1.185 GB, free: 15.77 MB / 0.92 GB make -j1 -f Buildings_10_Buildings.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor.makefile (rm -f Buildings_10_Buildings.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor.pipe ; mkfifo Buildings_10_Buildings.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor.pipe >> ../files/Buildings_10_Buildings.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor.sim & ./Buildings_10_Buildings.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_HeatPumps_Compressors_Validation_ScrollCompressor.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches