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: "" <> buildModelFMU(Buildings.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor,fileNamePrefix="Buildings_9_Buildings_Fluid_HeatPumps_Compressors_Validation_ScrollCompressor",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor,fileNamePrefix="Buildings_9_Buildings_Fluid_HeatPumps_Compressors_Validation_ScrollCompressor",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001562/0.001562, allocations: 108 kB / 15.61 MB, free: 152 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.001814/0.001814, allocations: 195.7 kB / 16.53 MB, free: 6.664 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.342/1.342, allocations: 222.9 MB / 240.2 MB, free: 4.398 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.237/2.237, allocations: 390.2 MB / 0.6647 GB, free: 480 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001168/0.001169, allocations: 63.89 kB / 0.8127 GB, free: 14.39 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5538/0.555, allocations: 140.4 MB / 0.9497 GB, free: 9.156 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor): time 0.002821/0.5579, allocations: 2.027 MB / 0.9517 GB, free: 7.559 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001928/0.5598, allocations: 1.667 MB / 0.9533 GB, free: 6.215 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.958e-05/0.5599, allocations: 1.406 kB / 0.9533 GB, free: 6.215 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 5.304e-05/0.56, allocations: 21.11 kB / 0.9533 GB, free: 6.195 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 8.956e-05/0.5601, allocations: 50.05 kB / 0.9534 GB, free: 6.152 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008356/0.5609, allocations: 362.7 kB / 0.9537 GB, free: 5.891 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0001847/0.5611, allocations: 226.8 kB / 0.954 GB, free: 5.762 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000149/0.5613, allocations: 64.5 kB / 0.954 GB, free: 5.719 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 8.866e-05/0.5614, allocations: 77.25 kB / 0.9541 GB, free: 5.68 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001234/0.5615, allocations: 98.31 kB / 0.9542 GB, free: 5.613 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 3.408e-05/0.5615, allocations: 20.06 kB / 0.9542 GB, free: 5.613 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006653/0.5622, allocations: 393.1 kB / 0.9546 GB, free: 5.426 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 3.561e-05/0.5623, allocations: 54.11 kB / 0.9546 GB, free: 5.379 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 7.927e-05/0.5623, allocations: 90.17 kB / 0.9547 GB, free: 5.32 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0004692/0.5628, allocations: 434.6 kB / 0.9551 GB, free: 5.055 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.767e-06/0.5628, allocations: 1.25 kB / 0.9551 GB, free: 5.055 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.683e-06/0.5628, allocations: 3.938 kB / 0.9551 GB, free: 5.051 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 9.448e-06/0.5628, allocations: 3.938 kB / 0.9551 GB, free: 5.047 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.0007149/0.5636, allocations: 0.5211 MB / 0.9556 GB, free: 4.555 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.471e-05/0.5636, allocations: 9.938 kB / 0.9557 GB, free: 4.555 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.914e-05/0.5637, allocations: 52.77 kB / 0.9557 GB, free: 4.5 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001109/0.5648, allocations: 136.2 kB / 0.9558 GB, free: 4.445 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.588e-05/0.5649, allocations: 181.7 kB / 0.956 GB, free: 4.234 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.663e-05/0.565, allocations: 50.53 kB / 0.9561 GB, free: 4.191 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.715e-05/0.565, allocations: 22.92 kB / 0.9561 GB, free: 4.18 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005795/0.5656, allocations: 222.3 kB / 0.9563 GB, free: 4.039 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.036e-05/0.5656, allocations: 0 / 0.9563 GB, free: 4.039 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.543e-05/0.5656, allocations: 6.219 kB / 0.9563 GB, free: 4.035 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.706e-06/0.5657, allocations: 4 kB / 0.9563 GB, free: 4.035 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007355/0.5664, allocations: 231.1 kB / 0.9565 GB, free: 3.934 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001311/0.5677, allocations: 0.9714 MB / 0.9575 GB, free: 2.973 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004737/0.5682, allocations: 182.4 kB / 0.9576 GB, free: 2.867 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003411/0.5686, allocations: 110.4 kB / 0.9578 GB, free: 2.809 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005542/0.5691, allocations: 0.5209 MB / 0.9583 GB, free: 2.215 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.726e-05/0.5692, allocations: 32.69 kB / 0.9583 GB, free: 2.176 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=16): time 1.503e-06/0.5692, allocations: 4 kB / 0.9583 GB, free: 2.172 MB / 0.7169 GB Notification: Performance of matching and sorting (n=16): time 0.001135/0.5703, allocations: 332.9 kB / 0.9586 GB, free: 2 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.831e-05/0.5703, allocations: 54.16 kB / 0.9587 GB, free: 1.938 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001067/0.5704, allocations: 165.6 kB / 0.9588 GB, free: 1.801 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 2.125e-05/0.5705, allocations: 31.95 kB / 0.9589 GB, free: 1.766 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 4.507e-05/0.5705, allocations: 114.2 kB / 0.959 GB, free: 1.652 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 3.549e-05/0.5706, allocations: 57.31 kB / 0.959 GB, free: 1.602 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.71e-05/0.5706, allocations: 39.48 kB / 0.9591 GB, free: 1.57 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.095e-05/0.5707, allocations: 326 kB / 0.9594 GB, free: 1.246 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003542/0.5711, allocations: 104.4 kB / 0.9595 GB, free: 1.195 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003717/0.5714, allocations: 127.1 kB / 0.9596 GB, free: 1.121 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006767/0.5721, allocations: 197 kB / 0.9598 GB, free: 1.02 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.986e-06/0.5721, allocations: 0 / 0.9598 GB, free: 1.02 MB / 0.7169 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0008035/0.5729, allocations: 269.4 kB / 0.96 GB, free: 0.8789 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.863e-05/0.573, allocations: 9.062 kB / 0.96 GB, free: 0.875 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.123e-06/0.573, allocations: 1.125 kB / 0.96 GB, free: 0.875 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.953e-05/0.573, allocations: 9 kB / 0.9601 GB, free: 0.8672 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003827/0.5734, allocations: 47.81 kB / 0.9601 GB, free: 0.8555 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.222e-06/0.5734, allocations: 2.219 kB / 0.9601 GB, free: 0.8555 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002915/0.5737, allocations: 33.28 kB / 0.9601 GB, free: 0.8359 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.932e-05/0.5737, allocations: 13.38 kB / 0.9601 GB, free: 0.8281 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 8.825e-05/0.5738, allocations: 124.5 kB / 0.9603 GB, free: 0.7031 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.026e-05/0.5739, allocations: 19.33 kB / 0.9603 GB, free: 0.6914 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008029/0.5747, allocations: 264.7 kB / 0.9605 GB, free: 0.5391 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.428e-06/0.5747, allocations: 6.156 kB / 0.9605 GB, free: 0.5352 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.939e-06/0.5747, allocations: 4 kB / 0.9605 GB, free: 0.5312 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.318e-06/0.5747, allocations: 3.984 kB / 0.9605 GB, free: 0.5273 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001698/0.5764, allocations: 1.077 MB / 0.9616 GB, free: 15.48 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.665e-06/0.5764, allocations: 1.312 kB / 0.9616 GB, free: 15.48 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003222/0.5768, allocations: 37.56 kB / 0.9616 GB, free: 15.48 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.086e-06/0.5768, allocations: 1.312 kB / 0.9616 GB, free: 15.48 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.058e-05/0.5768, allocations: 14.48 kB / 0.9616 GB, free: 15.46 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.595e-06/0.5768, allocations: 1.125 kB / 0.9617 GB, free: 15.46 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.013e-06/0.5768, allocations: 1.156 kB / 0.9617 GB, free: 15.46 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008032/0.5776, allocations: 346.6 kB / 0.962 GB, free: 15.21 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 5.015e-05/0.5777, allocations: 101.2 kB / 0.9621 GB, free: 15.1 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.076e-05/0.5777, allocations: 6.281 kB / 0.9621 GB, free: 15.1 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003326/0.5781, allocations: 20.84 kB / 0.9621 GB, free: 15.09 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.983e-05/0.5781, allocations: 13.83 kB / 0.9621 GB, free: 15.08 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.73e-05/0.5782, allocations: 4.531 kB / 0.9621 GB, free: 15.08 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 9.128e-05/0.5782, allocations: 123.9 kB / 0.9622 GB, free: 14.98 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.5e-07/0.5783, allocations: 4 kB / 0.9622 GB, free: 14.98 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.000481/0.5787, allocations: 129.5 kB / 0.9624 GB, free: 14.95 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.001332/0.5801, allocations: 0.999 MB / 0.9633 GB, free: 14.11 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0008082/0.5809, allocations: 246.6 kB / 0.9636 GB, free: 14 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.896e-06/0.5809, allocations: 5.062 kB / 0.9636 GB, free: 13.99 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0003668/0.5813, allocations: 109.3 kB / 0.9637 GB, free: 13.95 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000422/0.5817, allocations: 50.09 kB / 0.9637 GB, free: 13.92 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005158/0.5869, allocations: 2.366 MB / 0.966 GB, free: 12.1 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002699/0.5872, allocations: 0.7113 MB / 0.9667 GB, free: 11.39 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0002196/0.5874, allocations: 30.17 kB / 0.9668 GB, free: 11.37 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000118/0.5875, allocations: 46.92 kB / 0.9668 GB, free: 11.33 MB / 0.7325 GB Notification: Performance of SimCode: time 3.31e-07/0.5875, allocations: 0 / 0.9668 GB, free: 11.33 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1333/0.7209, allocations: 6.277 MB / 0.9729 GB, free: 8.152 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.68/8.401, allocations: 19.42 kB / 0.973 GB, free: 8.137 MB / 0.7325 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_HeatPumps_Compressors_Validation_ScrollCompressor_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_HeatPumps_Compressors_Validation_ScrollCompressor.fmu > 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/jenkins1/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