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.001084/0.001084, allocations: 91.84 kB / 15.06 MB, free: 1.098 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.001357/0.001357, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.393/1.393, allocations: 223.3 MB / 240 MB, free: 5.414 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.377/2.377, allocations: 390.9 MB / 0.666 GB, free: 2.504 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003493/0.0003493, allocations: 11.98 kB / 0.8154 GB, free: 13.65 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6441/0.6444, allocations: 142.4 MB / 0.9544 GB, free: 7.84 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor_ZeroInput): time 0.001976/0.6465, allocations: 1.694 MB / 0.9561 GB, free: 6.504 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001947/0.6484, allocations: 1.562 MB / 0.9576 GB, free: 5.254 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.447e-05/0.6485, allocations: 5.344 kB / 0.9576 GB, free: 5.25 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 3.78e-05/0.6486, allocations: 9.609 kB / 0.9576 GB, free: 5.242 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 9.217e-05/0.6487, allocations: 46.17 kB / 0.9577 GB, free: 5.203 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007977/0.6495, allocations: 271.1 kB / 0.9579 GB, free: 5.012 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.000177/0.6497, allocations: 212.8 kB / 0.9581 GB, free: 4.887 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001339/0.6498, allocations: 38.75 kB / 0.9582 GB, free: 4.859 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 9.621e-05/0.6499, allocations: 65.03 kB / 0.9582 GB, free: 4.832 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001217/0.65, allocations: 88.75 kB / 0.9583 GB, free: 4.773 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.416e-05/0.6501, allocations: 10.25 kB / 0.9583 GB, free: 4.773 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007025/0.6508, allocations: 385.6 kB / 0.9587 GB, free: 4.598 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 3.145e-05/0.6508, allocations: 33.61 kB / 0.9587 GB, free: 4.57 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 3.924e-05/0.6509, allocations: 56.8 kB / 0.9588 GB, free: 4.527 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0003512/0.6512, allocations: 313.1 kB / 0.9591 GB, free: 4.344 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.16e-06/0.6512, allocations: 1.375 kB / 0.9591 GB, free: 4.344 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.775e-06/0.6512, allocations: 0 / 0.9591 GB, free: 4.344 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 8.196e-06/0.6513, allocations: 0 / 0.9591 GB, free: 4.344 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.000676/0.6519, allocations: 0.4971 MB / 0.9596 GB, free: 3.871 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.461e-05/0.652, allocations: 9.625 kB / 0.9596 GB, free: 3.871 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000937/0.6529, allocations: 147.6 kB / 0.9597 GB, free: 3.812 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.378e-05/0.653, allocations: 180.4 kB / 0.9599 GB, free: 3.602 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.297e-05/0.6531, allocations: 46.08 kB / 0.9599 GB, free: 3.562 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.15e-05/0.6531, allocations: 13.62 kB / 0.9599 GB, free: 3.559 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005264/0.6537, allocations: 223.8 kB / 0.9602 GB, free: 3.418 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.445e-06/0.6537, allocations: 0 / 0.9602 GB, free: 3.418 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.568e-05/0.6537, allocations: 9.812 kB / 0.9602 GB, free: 3.41 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.144e-06/0.6537, allocations: 3.969 kB / 0.9602 GB, free: 3.41 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006641/0.6544, allocations: 244.9 kB / 0.9604 GB, free: 3.297 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001185/0.6556, allocations: 0.9594 MB / 0.9613 GB, free: 2.348 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004184/0.656, allocations: 183.3 kB / 0.9615 GB, free: 2.242 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002993/0.6563, allocations: 112.1 kB / 0.9616 GB, free: 2.184 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004642/0.6568, allocations: 0.5216 MB / 0.9621 GB, free: 1.59 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.685e-05/0.6568, allocations: 43.62 kB / 0.9622 GB, free: 1.539 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=16): time 1.292e-06/0.6568, allocations: 0 / 0.9622 GB, free: 1.539 MB / 0.7169 GB Notification: Performance of matching and sorting (n=16): time 0.001052/0.6579, allocations: 341 kB / 0.9625 GB, free: 1.363 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.354e-05/0.6579, allocations: 56.38 kB / 0.9626 GB, free: 1.297 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001082/0.658, allocations: 154.4 kB / 0.9627 GB, free: 1.172 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 2.117e-05/0.6581, allocations: 31.7 kB / 0.9627 GB, free: 1.137 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 4.813e-05/0.6581, allocations: 118.1 kB / 0.9628 GB, free: 1.02 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 3.987e-05/0.6582, allocations: 58.44 kB / 0.9629 GB, free: 0.9688 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.466e-05/0.6582, allocations: 8 kB / 0.9629 GB, free: 0.9609 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.534e-05/0.6582, allocations: 326 kB / 0.9632 GB, free: 0.6367 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003126/0.6586, allocations: 97.83 kB / 0.9633 GB, free: 0.5938 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003044/0.6589, allocations: 129.8 kB / 0.9634 GB, free: 0.5195 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002951/0.6592, allocations: 93.34 kB / 0.9635 GB, free: 492 kB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.054e-06/0.6592, allocations: 0 / 0.9635 GB, free: 492 kB / 0.7169 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0006894/0.6599, allocations: 279.7 kB / 0.9638 GB, free: 340 kB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.894e-05/0.6599, allocations: 12.7 kB / 0.9638 GB, free: 332 kB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.08e-06/0.6599, allocations: 1.125 kB / 0.9638 GB, free: 332 kB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.53e-05/0.6599, allocations: 1.344 kB / 0.9638 GB, free: 332 kB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003491/0.6603, allocations: 52.67 kB / 0.9639 GB, free: 316 kB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.374e-06/0.6603, allocations: 2.344 kB / 0.9639 GB, free: 316 kB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002595/0.6606, allocations: 34.39 kB / 0.9639 GB, free: 296 kB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.24e-05/0.6606, allocations: 8.766 kB / 0.9639 GB, free: 292 kB / 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 ($PRE.com.isOn,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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.008e-05/0.6607, allocations: 128.9 kB / 0.964 GB, free: 160 kB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.407e-05/0.6608, allocations: 14.5 kB / 0.964 GB, free: 152 kB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00081/0.6616, allocations: 278.8 kB / 0.9643 GB, free: 15.99 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.348e-06/0.6616, allocations: 1.312 kB / 0.9643 GB, free: 15.99 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.428e-06/0.6616, allocations: 1.188 kB / 0.9643 GB, free: 15.99 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.298e-06/0.6616, allocations: 0 / 0.9643 GB, free: 15.99 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001714/0.6633, allocations: 1.064 MB / 0.9653 GB, free: 14.96 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.23e-06/0.6633, allocations: 9.094 kB / 0.9654 GB, free: 14.95 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000302/0.6637, allocations: 50.2 kB / 0.9654 GB, free: 14.93 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.178e-06/0.6637, allocations: 2.062 kB / 0.9654 GB, free: 14.93 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.962e-05/0.6637, allocations: 5.781 kB / 0.9654 GB, free: 14.93 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.577e-06/0.6637, allocations: 2.062 kB / 0.9654 GB, free: 14.93 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.325e-06/0.6637, allocations: 1.062 kB / 0.9654 GB, free: 14.93 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007214/0.6644, allocations: 354.1 kB / 0.9658 GB, free: 14.67 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 5.337e-05/0.6645, allocations: 93.05 kB / 0.9658 GB, free: 14.57 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.86e-05/0.6645, allocations: 6.641 kB / 0.9658 GB, free: 14.56 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002955/0.6648, allocations: 22.14 kB / 0.9659 GB, free: 14.55 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.199e-05/0.6649, allocations: 17.53 kB / 0.9659 GB, free: 14.54 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.803e-05/0.6649, allocations: 8.094 kB / 0.9659 GB, free: 14.54 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 8.286e-05/0.665, allocations: 127.4 kB / 0.966 GB, free: 14.44 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.1e-07/0.665, allocations: 0 / 0.966 GB, free: 14.44 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0005265/0.6655, allocations: 130.7 kB / 0.9661 GB, free: 14.4 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005072/0.6661, allocations: 226.3 kB / 0.9664 GB, free: 14.25 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0008184/0.6669, allocations: 237.2 kB / 0.9666 GB, free: 14.15 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 3.336e-06/0.6669, allocations: 0 / 0.9666 GB, free: 14.15 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0003542/0.6673, allocations: 115.2 kB / 0.9667 GB, free: 14.1 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004786/0.6678, allocations: 52.78 kB / 0.9667 GB, free: 14.07 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001482/0.6693, allocations: 485.2 kB / 0.9672 GB, free: 13.73 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002597/0.6695, allocations: 0.7072 MB / 0.9679 GB, free: 13.03 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0002126/0.6697, allocations: 38.56 kB / 0.9679 GB, free: 13 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.531e-05/0.6698, allocations: 30.11 kB / 0.968 GB, free: 12.98 MB / 0.7325 GB Notification: Performance of SimCode: time 2.4e-07/0.6698, allocations: 0 / 0.968 GB, free: 12.98 MB / 0.7325 GB Notification: Performance of Templates: time 0.008683/0.6785, allocations: 4.306 MB / 0.9722 GB, free: 10.81 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/jenkins/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