Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.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_ZeroInput,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|com.pDis|com.pSuc|com.P|heaFloEva.Q_flow|heaFloCon.Q_flow",fileNamePrefix="Buildings_9_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_9_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.001391/0.001391, allocations: 100.1 kB / 15.88 MB, free: 12 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.001784/0.001784, allocations: 199.4 kB / 16.79 MB, free: 6.828 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.388/1.388, allocations: 222.9 MB / 240.5 MB, free: 4.617 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.386/2.386, allocations: 390.2 MB / 0.6649 GB, free: 0.6211 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001977/0.001977, allocations: 64.12 kB / 0.8125 GB, free: 14.9 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7616/0.7636, allocations: 140.4 MB / 0.9496 GB, free: 9.227 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor_ZeroInput): time 0.003346/0.767, allocations: 2.087 MB / 0.9516 GB, free: 7.586 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.002231/0.7693, allocations: 1.742 MB / 0.9533 GB, free: 6.219 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.701e-05/0.7694, allocations: 2.125 kB / 0.9533 GB, free: 6.219 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 6.044e-05/0.7695, allocations: 14.14 kB / 0.9533 GB, free: 6.207 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0001103/0.7696, allocations: 45.42 kB / 0.9534 GB, free: 6.168 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009123/0.7705, allocations: 295 kB / 0.9537 GB, free: 5.949 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0002328/0.7708, allocations: 220.9 kB / 0.9539 GB, free: 5.824 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001556/0.7709, allocations: 52.45 kB / 0.9539 GB, free: 5.789 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001018/0.771, allocations: 73.42 kB / 0.954 GB, free: 5.754 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001397/0.7712, allocations: 89.66 kB / 0.9541 GB, free: 5.695 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 3.335e-05/0.7712, allocations: 15.97 kB / 0.9541 GB, free: 5.691 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007763/0.772, allocations: 390.5 kB / 0.9545 GB, free: 5.504 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 3.923e-05/0.7721, allocations: 41.42 kB / 0.9545 GB, free: 5.469 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 8.244e-05/0.7721, allocations: 81.22 kB / 0.9546 GB, free: 5.422 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0003993/0.7726, allocations: 321.9 kB / 0.9549 GB, free: 5.23 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.418e-06/0.7726, allocations: 0 / 0.9549 GB, free: 5.23 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.182e-06/0.7726, allocations: 3.938 kB / 0.9549 GB, free: 5.227 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 5.089e-06/0.7726, allocations: 1.219 kB / 0.9549 GB, free: 5.227 MB / 0.7169 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.0008458/0.7734, allocations: 0.5246 MB / 0.9554 GB, free: 4.73 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.27e-05/0.7735, allocations: 9.688 kB / 0.9554 GB, free: 4.73 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001076/0.7746, allocations: 137.2 kB / 0.9556 GB, free: 4.676 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001143/0.7747, allocations: 184 kB / 0.9557 GB, free: 4.461 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.872e-05/0.7748, allocations: 48.17 kB / 0.9558 GB, free: 4.422 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.315e-05/0.7748, allocations: 15.72 kB / 0.9558 GB, free: 4.418 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005225/0.7753, allocations: 220.7 kB / 0.956 GB, free: 4.277 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.472e-05/0.7754, allocations: 5.094 kB / 0.956 GB, free: 4.273 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.757e-05/0.7754, allocations: 5.062 kB / 0.956 GB, free: 4.27 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.617e-06/0.7754, allocations: 4.625 kB / 0.956 GB, free: 4.27 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006867/0.7761, allocations: 234.4 kB / 0.9562 GB, free: 4.164 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001336/0.7775, allocations: 0.9717 MB / 0.9572 GB, free: 3.203 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000443/0.7779, allocations: 186.2 kB / 0.9574 GB, free: 3.094 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003296/0.7783, allocations: 110.9 kB / 0.9575 GB, free: 3.035 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005427/0.7788, allocations: 0.5215 MB / 0.958 GB, free: 2.441 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.276e-05/0.7788, allocations: 34.55 kB / 0.958 GB, free: 2.398 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=16): time 1.633e-06/0.7788, allocations: 5.688 kB / 0.958 GB, free: 2.395 MB / 0.7169 GB Notification: Performance of matching and sorting (n=16): time 0.00113/0.78, allocations: 327.9 kB / 0.9583 GB, free: 2.227 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.384e-05/0.78, allocations: 52.78 kB / 0.9584 GB, free: 2.164 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001322/0.7802, allocations: 168 kB / 0.9585 GB, free: 2.027 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 2.395e-05/0.7802, allocations: 31.08 kB / 0.9586 GB, free: 1.992 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 6.127e-05/0.7803, allocations: 119 kB / 0.9587 GB, free: 1.875 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 4.247e-05/0.7803, allocations: 54.08 kB / 0.9587 GB, free: 1.828 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.432e-05/0.7804, allocations: 43.44 kB / 0.9588 GB, free: 1.793 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.619e-05/0.7805, allocations: 321.6 kB / 0.9591 GB, free: 1.473 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003269/0.7808, allocations: 107.3 kB / 0.9592 GB, free: 1.418 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003377/0.7811, allocations: 123.7 kB / 0.9593 GB, free: 1.348 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006151/0.7818, allocations: 197 kB / 0.9595 GB, free: 1.246 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.645e-06/0.7818, allocations: 1.156 kB / 0.9595 GB, free: 1.246 MB / 0.7169 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0007727/0.7825, allocations: 268.1 kB / 0.9597 GB, free: 1.105 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 2.167e-05/0.7826, allocations: 13.03 kB / 0.9598 GB, free: 1.098 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.642e-06/0.7826, allocations: 1.125 kB / 0.9598 GB, free: 1.098 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.753e-05/0.7826, allocations: 1.094 kB / 0.9598 GB, free: 1.098 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003762/0.783, allocations: 56.08 kB / 0.9598 GB, free: 1.078 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.178e-06/0.783, allocations: 0.8438 kB / 0.9598 GB, free: 1.078 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002907/0.7833, allocations: 34.77 kB / 0.9598 GB, free: 1.059 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.344e-05/0.7833, allocations: 12.55 kB / 0.9599 GB, free: 1.051 MB / 0.7169 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.0001223/0.7835, allocations: 124.4 kB / 0.96 GB, free: 0.9258 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.197e-05/0.7835, allocations: 11.72 kB / 0.96 GB, free: 0.9219 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008002/0.7843, allocations: 268.1 kB / 0.9602 GB, free: 0.7656 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.45e-06/0.7843, allocations: 6.156 kB / 0.9603 GB, free: 0.7617 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.741e-06/0.7844, allocations: 1.312 kB / 0.9603 GB, free: 0.7617 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.817e-06/0.7844, allocations: 0 / 0.9603 GB, free: 0.7617 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001747/0.7861, allocations: 1.068 MB / 0.9613 GB, free: 15.73 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.594e-06/0.7861, allocations: 5.125 kB / 0.9613 GB, free: 15.72 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003353/0.7865, allocations: 45.36 kB / 0.9613 GB, free: 15.71 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.127e-06/0.7865, allocations: 1.094 kB / 0.9613 GB, free: 15.71 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.358e-05/0.7865, allocations: 10.25 kB / 0.9614 GB, free: 15.7 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.397e-06/0.7865, allocations: 2.188 kB / 0.9614 GB, free: 15.7 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.559e-06/0.7865, allocations: 5.094 kB / 0.9614 GB, free: 15.7 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007992/0.7873, allocations: 349.6 kB / 0.9617 GB, free: 15.45 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 7.34e-05/0.7874, allocations: 99.95 kB / 0.9618 GB, free: 15.33 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.304e-05/0.7875, allocations: 6.812 kB / 0.9618 GB, free: 15.33 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003174/0.7878, allocations: 20.53 kB / 0.9618 GB, free: 15.32 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.503e-05/0.7879, allocations: 14.55 kB / 0.9618 GB, free: 15.31 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.953e-05/0.7879, allocations: 4.875 kB / 0.9618 GB, free: 15.31 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0001089/0.788, allocations: 120.5 kB / 0.962 GB, free: 15.21 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.7e-07/0.788, allocations: 4 kB / 0.962 GB, free: 15.21 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0005597/0.7886, allocations: 130.8 kB / 0.9621 GB, free: 15.18 MB / 0.7325 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.0005092/0.7891, allocations: 230.8 kB / 0.9623 GB, free: 15.02 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.000798/0.7899, allocations: 228.8 kB / 0.9625 GB, free: 14.93 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 5.25e-06/0.7899, allocations: 1.125 kB / 0.9625 GB, free: 14.93 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0003514/0.7903, allocations: 116.8 kB / 0.9626 GB, free: 14.87 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000491/0.7908, allocations: 42.45 kB / 0.9627 GB, free: 14.85 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001646/0.7924, allocations: 0.5006 MB / 0.9632 GB, free: 14.48 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002808/0.7927, allocations: 0.7151 MB / 0.9639 GB, free: 13.77 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001348/0.7929, allocations: 24.3 kB / 0.9639 GB, free: 13.75 MB / 0.7325 GB Notification: Performance of SimCode: time 2.7e-07/0.7929, allocations: 1.062 kB / 0.9639 GB, free: 13.75 MB / 0.7325 GB Notification: Performance of Templates: time 0.008178/0.801, allocations: 4.137 MB / 0.9679 GB, free: 11.63 MB / 0.7325 GB make -j1 -f Buildings_9_Buildings.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor_ZeroInput.makefile (rm -f Buildings_9_Buildings.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor_ZeroInput.pipe ; mkfifo Buildings_9_Buildings.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor_ZeroInput.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor_ZeroInput.pipe >> ../files/Buildings_9_Buildings.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor_ZeroInput.sim & ./Buildings_9_Buildings.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor_ZeroInput -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor_ZeroInput.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor_ZeroInput_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_HeatPumps_Compressors_Validation_ScrollCompressor_ZeroInput.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor_ZeroInput.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches