Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor_ZeroInput.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_ZeroInput,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_ZeroInput") translateModel(Buildings.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor_ZeroInput,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_ZeroInput") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001503/0.001503, allocations: 109.9 kB / 16.41 MB, free: 6.492 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.001405/0.001405, allocations: 183 kB / 17.34 MB, free: 5.766 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.378/1.378, 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.638/2.638, allocations: 461.9 MB / 0.7355 GB, free: 11.05 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001628/0.001628, allocations: 60.09 kB / 1.055 GB, free: 7.699 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8711/0.8727, 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_ZeroInput): time 0.003221/0.876, allocations: 2.029 MB / 1.21 GB, free: 11.59 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.002381/0.8784, allocations: 1.671 MB / 1.212 GB, free: 9.91 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.638e-05/0.8785, allocations: 7.938 kB / 1.212 GB, free: 9.902 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 5.888e-05/0.8786, allocations: 15.86 kB / 1.212 GB, free: 9.887 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.0001154/0.8787, allocations: 55.48 kB / 1.212 GB, free: 9.832 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.001031/0.8798, allocations: 354.8 kB / 1.212 GB, free: 9.484 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0002396/0.88, allocations: 231 kB / 1.213 GB, free: 9.258 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001623/0.8802, allocations: 57.52 kB / 1.213 GB, free: 9.203 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001112/0.8803, allocations: 79.78 kB / 1.213 GB, free: 9.125 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001577/0.8805, allocations: 95.66 kB / 1.213 GB, free: 9.031 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 3.444e-05/0.8805, allocations: 23.94 kB / 1.213 GB, free: 9.008 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007651/0.8813, allocations: 415.5 kB / 1.213 GB, free: 8.602 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 4.377e-05/0.8813, allocations: 47.84 kB / 1.213 GB, free: 8.555 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 9.184e-05/0.8814, allocations: 87.66 kB / 1.213 GB, free: 8.469 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0005602/0.882, allocations: 436.6 kB / 1.214 GB, free: 8.047 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 4.127e-06/0.882, allocations: 0 / 1.214 GB, free: 8.047 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.422e-06/0.882, allocations: 0 / 1.214 GB, free: 8.047 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 1.05e-05/0.882, allocations: 4 kB / 1.214 GB, free: 8.043 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.0008771/0.8829, allocations: 0.5225 MB / 1.214 GB, free: 7.469 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.051e-05/0.883, allocations: 12.03 kB / 1.214 GB, free: 7.457 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001127/0.8841, allocations: 140.6 kB / 1.215 GB, free: 7.32 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001459/0.8842, allocations: 180.2 kB / 1.215 GB, free: 7.105 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.037e-05/0.8843, allocations: 46.25 kB / 1.215 GB, free: 7.055 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.578e-05/0.8844, allocations: 20.38 kB / 1.215 GB, free: 7.035 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000586/0.885, allocations: 210.1 kB / 1.215 GB, free: 6.824 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.546e-05/0.885, allocations: 11.86 kB / 1.215 GB, free: 6.812 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.764e-05/0.885, allocations: 4 kB / 1.215 GB, free: 6.809 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.038e-05/0.885, allocations: 4 kB / 1.215 GB, free: 6.805 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007273/0.8858, allocations: 237.2 kB / 1.215 GB, free: 6.574 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001443/0.8872, allocations: 0.9624 MB / 1.216 GB, free: 5.48 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004724/0.8877, allocations: 182.5 kB / 1.216 GB, free: 5.293 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003396/0.8881, allocations: 113.1 kB / 1.216 GB, free: 5.18 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006498/0.8887, allocations: 0.5259 MB / 1.217 GB, free: 4.543 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.813e-05/0.8888, allocations: 38.56 kB / 1.217 GB, free: 4.496 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=16): time 1.493e-06/0.8888, allocations: 0 / 1.217 GB, free: 4.496 MB / 0.9356 GB Notification: Performance of matching and sorting (n=16): time 0.001126/0.8899, allocations: 328.3 kB / 1.217 GB, free: 4.172 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.384e-05/0.89, allocations: 55.41 kB / 1.217 GB, free: 4.105 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001436/0.8901, allocations: 160.7 kB / 1.217 GB, free: 3.941 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 3.119e-05/0.8901, allocations: 25.7 kB / 1.218 GB, free: 3.91 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 8.63e-05/0.8902, allocations: 128 kB / 1.218 GB, free: 3.777 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 4.689e-05/0.8903, allocations: 51.3 kB / 1.218 GB, free: 3.727 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.442e-05/0.8904, allocations: 45.61 kB / 1.218 GB, free: 3.676 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001223/0.8905, allocations: 322.8 kB / 1.218 GB, free: 3.352 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003325/0.8908, allocations: 103.9 kB / 1.218 GB, free: 3.25 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003543/0.8912, allocations: 117.7 kB / 1.218 GB, free: 3.129 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006196/0.8918, allocations: 208.4 kB / 1.218 GB, free: 2.922 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.817e-06/0.8919, allocations: 0 / 1.218 GB, free: 2.922 MB / 0.9356 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0007569/0.8926, allocations: 265.4 kB / 1.219 GB, free: 2.656 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 2.046e-05/0.8927, allocations: 8 kB / 1.219 GB, free: 2.648 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.811e-06/0.8927, allocations: 0 / 1.219 GB, free: 2.648 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.624e-05/0.8927, allocations: 0 / 1.219 GB, free: 2.648 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003595/0.893, allocations: 59.83 kB / 1.219 GB, free: 2.59 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.398e-06/0.8931, allocations: 4 kB / 1.219 GB, free: 2.586 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002713/0.8933, allocations: 35.72 kB / 1.219 GB, free: 2.551 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.847e-05/0.8934, allocations: 4 kB / 1.219 GB, free: 2.547 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.0001199/0.8935, allocations: 133.8 kB / 1.219 GB, free: 2.406 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.746e-05/0.8935, allocations: 15.84 kB / 1.219 GB, free: 2.391 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008023/0.8944, allocations: 269.7 kB / 1.219 GB, free: 2.121 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.599e-05/0.8944, allocations: 7.922 kB / 1.219 GB, free: 2.113 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.769e-06/0.8944, allocations: 0 / 1.219 GB, free: 2.113 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.178e-06/0.8944, allocations: 4 kB / 1.219 GB, free: 2.109 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001739/0.8961, allocations: 1.062 MB / 1.22 GB, free: 0.8945 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.568e-06/0.8962, allocations: 4 kB / 1.22 GB, free: 0.8906 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003051/0.8965, allocations: 47.91 kB / 1.22 GB, free: 0.8438 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.387e-06/0.8965, allocations: 0 / 1.22 GB, free: 0.8438 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.137e-05/0.8965, allocations: 8 kB / 1.22 GB, free: 0.8359 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.843e-06/0.8965, allocations: 0 / 1.22 GB, free: 0.8359 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.723e-06/0.8965, allocations: 0 / 1.22 GB, free: 0.8359 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007696/0.8973, allocations: 356.8 kB / 1.221 GB, free: 476 kB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 4.741e-05/0.8974, allocations: 92.89 kB / 1.221 GB, free: 364 kB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.771e-05/0.8974, allocations: 4 kB / 1.221 GB, free: 360 kB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003129/0.8977, allocations: 27.97 kB / 1.221 GB, free: 332 kB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.044e-05/0.8978, allocations: 7.984 kB / 1.221 GB, free: 324 kB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.968e-05/0.8978, allocations: 15.98 kB / 1.221 GB, free: 308 kB / 0.9356 GB Notification: Performance of sorting global known variables: time 8.012e-05/0.8979, allocations: 113.3 kB / 1.221 GB, free: 196 kB / 0.9356 GB Notification: Performance of sort global known variables: time 1.21e-07/0.8979, allocations: 0 / 1.221 GB, free: 196 kB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0004667/0.8984, allocations: 135.8 kB / 1.221 GB, free: 60 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.0004454/0.8988, allocations: 223 kB / 1.221 GB, free: 15.83 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.0007749/0.8996, allocations: 236.4 kB / 1.221 GB, free: 15.61 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 2.876e-06/0.8996, allocations: 4.062 kB / 1.221 GB, free: 15.6 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.0003408/0.9, allocations: 111.9 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.0004474/0.9004, allocations: 55.95 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.001538/0.902, allocations: 450.1 kB / 1.222 GB, free: 14.96 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002638/0.9022, allocations: 0.7125 MB / 1.223 GB, free: 14.22 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000115/0.9024, allocations: 23.42 kB / 1.223 GB, free: 14.2 MB / 0.9512 GB Notification: Performance of SimCode: time 2.31e-07/0.9024, allocations: 0 / 1.223 GB, free: 14.2 MB / 0.9512 GB Notification: Performance of Templates: time 0.006241/0.9086, allocations: 4.165 MB / 1.227 GB, free: 10.06 MB / 0.9512 GB make -j1 -f Buildings_latest_Buildings.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor_ZeroInput.makefile (rm -f Buildings_latest_Buildings.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor_ZeroInput.pipe ; mkfifo Buildings_latest_Buildings.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor_ZeroInput.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor_ZeroInput.pipe >> ../files/Buildings_latest_Buildings.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor_ZeroInput.sim & ./Buildings_latest_Buildings.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor_ZeroInput -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor_ZeroInput.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor_ZeroInput_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_HeatPumps_Compressors_Validation_ScrollCompressor_ZeroInput.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor_ZeroInput.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches