Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-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,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") 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_9_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.001446, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001929/0.001929, allocations: 192.8 kB / 16.14 MB, free: 6.711 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.357/1.357, allocations: 222.9 MB / 239.8 MB, free: 4.609 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.375/2.375, allocations: 390.2 MB / 0.6642 GB, free: 0.5273 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001303/0.001303, allocations: 60.09 kB / 0.8119 GB, free: 14.82 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6397/0.6411, allocations: 140.4 MB / 0.9489 GB, free: 9.172 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor): time 0.00281/0.6439, allocations: 2.099 MB / 0.951 GB, free: 7.52 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.002146/0.6461, allocations: 1.738 MB / 0.9527 GB, free: 6.156 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.608e-05/0.6462, allocations: 1.406 kB / 0.9527 GB, free: 6.156 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 6.045e-05/0.6462, allocations: 14.53 kB / 0.9527 GB, free: 6.145 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 9.449e-05/0.6464, allocations: 45.19 kB / 0.9527 GB, free: 6.105 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007399/0.6471, allocations: 306.8 kB / 0.953 GB, free: 5.875 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0001732/0.6473, allocations: 217.5 kB / 0.9532 GB, free: 5.754 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001258/0.6474, allocations: 44.36 kB / 0.9533 GB, free: 5.727 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 8.435e-05/0.6475, allocations: 76.89 kB / 0.9533 GB, free: 5.688 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000119/0.6476, allocations: 90.2 kB / 0.9534 GB, free: 5.629 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.889e-05/0.6477, allocations: 11.59 kB / 0.9534 GB, free: 5.629 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006739/0.6483, allocations: 391.1 kB / 0.9538 GB, free: 5.441 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 3.63e-05/0.6484, allocations: 38.3 kB / 0.9538 GB, free: 5.41 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 7.764e-05/0.6485, allocations: 79.53 kB / 0.9539 GB, free: 5.363 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0005151/0.649, allocations: 431.3 kB / 0.9543 GB, free: 5.102 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.817e-06/0.649, allocations: 0 / 0.9543 GB, free: 5.102 MB / 0.7169 GB Notification: Performance of FrontEnd: time 9.62e-07/0.649, allocations: 0 / 0.9543 GB, free: 5.102 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 5.37e-06/0.649, allocations: 4 kB / 0.9543 GB, free: 5.098 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.0007905/0.6498, allocations: 0.5249 MB / 0.9549 GB, free: 4.602 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.698e-05/0.6499, allocations: 9.375 kB / 0.9549 GB, free: 4.602 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001129/0.651, allocations: 137.5 kB / 0.955 GB, free: 4.547 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.069e-05/0.6511, allocations: 188.7 kB / 0.9552 GB, free: 4.328 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.189e-05/0.6512, allocations: 51.41 kB / 0.9552 GB, free: 4.285 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.153e-05/0.6512, allocations: 14.72 kB / 0.9552 GB, free: 4.281 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005448/0.6518, allocations: 218.8 kB / 0.9554 GB, free: 4.145 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.128e-05/0.6518, allocations: 7.875 kB / 0.9555 GB, free: 4.137 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.609e-05/0.6518, allocations: 6.469 kB / 0.9555 GB, free: 4.133 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.383e-06/0.6518, allocations: 3.375 kB / 0.9555 GB, free: 4.133 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006999/0.6526, allocations: 239.4 kB / 0.9557 GB, free: 4.023 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001263/0.6538, allocations: 0.9562 MB / 0.9566 GB, free: 3.078 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004528/0.6543, allocations: 188.3 kB / 0.9568 GB, free: 2.969 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003247/0.6546, allocations: 115.9 kB / 0.9569 GB, free: 2.906 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000527/0.6552, allocations: 0.5309 MB / 0.9574 GB, free: 2.301 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.115e-05/0.6552, allocations: 37.25 kB / 0.9575 GB, free: 2.258 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=16): time 1.453e-06/0.6552, allocations: 0 / 0.9575 GB, free: 2.258 MB / 0.7169 GB Notification: Performance of matching and sorting (n=16): time 0.001112/0.6563, allocations: 327.1 kB / 0.9578 GB, free: 2.09 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.054e-05/0.6563, allocations: 52.88 kB / 0.9578 GB, free: 2.027 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001236/0.6565, allocations: 162.9 kB / 0.958 GB, free: 1.895 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 2.294e-05/0.6565, allocations: 30.92 kB / 0.958 GB, free: 1.859 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 4.826e-05/0.6566, allocations: 114.7 kB / 0.9581 GB, free: 1.746 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 3.88e-05/0.6566, allocations: 56.69 kB / 0.9582 GB, free: 1.695 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.171e-05/0.6567, allocations: 44.7 kB / 0.9582 GB, free: 1.66 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.659e-05/0.6567, allocations: 324.8 kB / 0.9585 GB, free: 1.336 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000339/0.6571, allocations: 104.7 kB / 0.9586 GB, free: 1.285 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003433/0.6574, allocations: 124.9 kB / 0.9587 GB, free: 1.215 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006325/0.6581, allocations: 202.3 kB / 0.9589 GB, free: 1.109 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/0.6581, allocations: 1.094 kB / 0.9589 GB, free: 1.109 MB / 0.7169 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0007691/0.6589, allocations: 271.2 kB / 0.9592 GB, free: 0.9648 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.799e-05/0.6589, allocations: 5.469 kB / 0.9592 GB, free: 0.9648 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.163e-06/0.6589, allocations: 1.062 kB / 0.9592 GB, free: 0.9648 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.827e-05/0.6589, allocations: 1.25 kB / 0.9592 GB, free: 0.9648 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003755/0.6593, allocations: 55.64 kB / 0.9593 GB, free: 0.9453 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.133e-06/0.6593, allocations: 5.031 kB / 0.9593 GB, free: 0.9414 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000296/0.6596, allocations: 30.2 kB / 0.9593 GB, free: 0.9258 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.168e-05/0.6597, allocations: 13.02 kB / 0.9593 GB, free: 0.918 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 9.258e-05/0.6598, allocations: 124.2 kB / 0.9594 GB, free: 0.793 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.984e-05/0.6598, allocations: 16.28 kB / 0.9594 GB, free: 0.7852 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007903/0.6606, allocations: 270.5 kB / 0.9597 GB, free: 0.6289 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.781e-06/0.6606, allocations: 5.156 kB / 0.9597 GB, free: 0.625 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.41e-06/0.6606, allocations: 0.875 kB / 0.9597 GB, free: 0.625 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.208e-06/0.6606, allocations: 0 / 0.9597 GB, free: 0.625 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001716/0.6624, allocations: 1.062 MB / 0.9607 GB, free: 15.59 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.328e-06/0.6624, allocations: 5.031 kB / 0.9607 GB, free: 15.59 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003185/0.6627, allocations: 46.17 kB / 0.9608 GB, free: 15.57 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.817e-06/0.6627, allocations: 1.094 kB / 0.9608 GB, free: 15.57 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.3e-05/0.6627, allocations: 10.56 kB / 0.9608 GB, free: 15.57 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.018e-06/0.6628, allocations: 5.156 kB / 0.9608 GB, free: 15.56 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.214e-06/0.6628, allocations: 1.25 kB / 0.9608 GB, free: 15.56 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007506/0.6635, allocations: 347.7 kB / 0.9611 GB, free: 15.31 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 5.109e-05/0.6636, allocations: 96.83 kB / 0.9612 GB, free: 15.2 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.067e-05/0.6636, allocations: 6.781 kB / 0.9612 GB, free: 15.2 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003214/0.664, allocations: 23.97 kB / 0.9613 GB, free: 15.19 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.099e-05/0.664, allocations: 14.7 kB / 0.9613 GB, free: 15.18 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.835e-05/0.664, allocations: 3.812 kB / 0.9613 GB, free: 15.18 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 9.79e-05/0.6641, allocations: 124.3 kB / 0.9614 GB, free: 15.08 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.4e-07/0.6641, allocations: 0 / 0.9614 GB, free: 15.08 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0005686/0.6647, allocations: 129.6 kB / 0.9615 GB, free: 15.05 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.0004982/0.6652, allocations: 234.3 kB / 0.9617 GB, free: 14.89 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0007953/0.666, allocations: 225.9 kB / 0.962 GB, free: 14.79 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 4.288e-06/0.666, allocations: 1.219 kB / 0.962 GB, free: 14.79 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0003509/0.6664, allocations: 119.8 kB / 0.9621 GB, free: 14.74 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004997/0.6669, allocations: 51.69 kB / 0.9621 GB, free: 14.71 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002178/0.6691, allocations: 0.5156 MB / 0.9626 GB, free: 14.36 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002425/0.6694, allocations: 0.7153 MB / 0.9633 GB, free: 13.64 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0002457/0.6696, allocations: 34.94 kB / 0.9634 GB, free: 13.62 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.737e-05/0.6697, allocations: 18.09 kB / 0.9634 GB, free: 13.61 MB / 0.7325 GB Notification: Performance of SimCode: time 2.21e-07/0.6697, allocations: 0 / 0.9634 GB, free: 13.61 MB / 0.7325 GB Notification: Performance of Templates: time 0.008173/0.6779, allocations: 4.397 MB / 0.9677 GB, free: 11.4 MB / 0.7325 GB make -j1 -f Buildings_9_Buildings.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor.makefile (rm -f Buildings_9_Buildings.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor.pipe ; mkfifo Buildings_9_Buildings.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor.pipe >> ../files/Buildings_9_Buildings.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor.sim & ./Buildings_9_Buildings.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_HeatPumps_Compressors_Validation_ScrollCompressor.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches