Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 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: "" <> buildModelFMU(Buildings.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor,fileNamePrefix="Buildings_latest_Buildings_Fluid_HeatPumps_Compressors_Validation_ScrollCompressor",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor,fileNamePrefix="Buildings_latest_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.007198/0.007198, allocations: 102 kB / 15.73 MB, free: 6.039 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.001669/0.001669, allocations: 194.2 kB / 16.67 MB, free: 5.961 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.249/1.249, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.402/2.402, allocations: 461.9 MB / 0.7348 GB, free: 11.05 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001348/0.001348, allocations: 71.89 kB / 1.054 GB, free: 8.207 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.748/0.7494, allocations: 157.4 MB / 1.207 GB, free: 13.56 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor): time 0.003261/0.7527, allocations: 2.037 MB / 1.209 GB, free: 11.52 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.002499/0.7552, allocations: 1.671 MB / 1.211 GB, free: 9.844 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001115/0.7553, allocations: 8 kB / 1.211 GB, free: 9.836 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 7.815e-05/0.7554, allocations: 15.8 kB / 1.211 GB, free: 9.82 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.0001432/0.7556, allocations: 47.55 kB / 1.211 GB, free: 9.773 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.001203/0.7568, allocations: 358.8 kB / 1.211 GB, free: 9.422 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0002806/0.7571, allocations: 231.1 kB / 1.212 GB, free: 9.195 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001552/0.7573, allocations: 53.52 kB / 1.212 GB, free: 9.145 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001306/0.7574, allocations: 83.77 kB / 1.212 GB, free: 9.062 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001798/0.7576, allocations: 95.66 kB / 1.212 GB, free: 8.969 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 3.657e-05/0.7576, allocations: 20 kB / 1.212 GB, free: 8.949 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008268/0.7585, allocations: 415.5 kB / 1.212 GB, free: 8.543 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 5.487e-05/0.7585, allocations: 39.91 kB / 1.212 GB, free: 8.504 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 9.628e-05/0.7586, allocations: 91.64 kB / 1.212 GB, free: 8.414 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0006885/0.7593, allocations: 441.1 kB / 1.213 GB, free: 7.984 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 3.737e-06/0.7593, allocations: 0 / 1.213 GB, free: 7.984 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.282e-06/0.7594, allocations: 0 / 1.213 GB, free: 7.984 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 1.067e-05/0.7594, allocations: 0 / 1.213 GB, free: 7.984 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.0009113/0.7603, allocations: 0.5303 MB / 1.213 GB, free: 7.402 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 3.949e-05/0.7603, allocations: 8.031 kB / 1.213 GB, free: 7.395 MB / 0.9356 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001038/0.7604, allocations: 54.73 kB / 1.213 GB, free: 7.332 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001131/0.7616, allocations: 136.6 kB / 1.213 GB, free: 7.199 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001382/0.7617, allocations: 180.2 kB / 1.214 GB, free: 6.984 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.563e-05/0.7618, allocations: 50.25 kB / 1.214 GB, free: 6.93 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.16e-05/0.7619, allocations: 16.38 kB / 1.214 GB, free: 6.914 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005593/0.7624, allocations: 213.9 kB / 1.214 GB, free: 6.699 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.706e-06/0.7624, allocations: 3.938 kB / 1.214 GB, free: 6.695 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.718e-05/0.7625, allocations: 8 kB / 1.214 GB, free: 6.688 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.007e-06/0.7625, allocations: 4 kB / 1.214 GB, free: 6.684 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000714/0.7632, allocations: 241.1 kB / 1.214 GB, free: 6.449 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00146/0.7647, allocations: 0.9663 MB / 1.215 GB, free: 5.352 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004712/0.7652, allocations: 186.6 kB / 1.215 GB, free: 5.16 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003224/0.7655, allocations: 113.1 kB / 1.215 GB, free: 5.047 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000638/0.7661, allocations: 0.522 MB / 1.216 GB, free: 4.414 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.734e-05/0.7662, allocations: 34.56 kB / 1.216 GB, free: 4.371 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=16): time 1.563e-06/0.7662, allocations: 0 / 1.216 GB, free: 4.371 MB / 0.9356 GB Notification: Performance of matching and sorting (n=16): time 0.001102/0.7673, allocations: 324.4 kB / 1.216 GB, free: 4.051 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.347e-05/0.7673, allocations: 59.34 kB / 1.216 GB, free: 3.98 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001459/0.7675, allocations: 158.4 kB / 1.216 GB, free: 3.816 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 3.2e-05/0.7675, allocations: 33.7 kB / 1.216 GB, free: 3.777 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 7.99e-05/0.7676, allocations: 120.1 kB / 1.217 GB, free: 3.652 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 5.915e-05/0.7677, allocations: 63.2 kB / 1.217 GB, free: 3.59 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.221e-05/0.7678, allocations: 41.61 kB / 1.217 GB, free: 3.543 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001189/0.7679, allocations: 326.8 kB / 1.217 GB, free: 3.215 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003462/0.7683, allocations: 103.9 kB / 1.217 GB, free: 3.113 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00034/0.7686, allocations: 117.7 kB / 1.217 GB, free: 2.992 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006246/0.7692, allocations: 200.5 kB / 1.217 GB, free: 2.793 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.775e-06/0.7693, allocations: 0 / 1.217 GB, free: 2.793 MB / 0.9356 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0007882/0.77, allocations: 269.4 kB / 1.218 GB, free: 2.523 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.846e-05/0.7701, allocations: 5.875 kB / 1.218 GB, free: 2.52 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.122e-06/0.7701, allocations: 0 / 1.218 GB, free: 2.52 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.699e-05/0.7701, allocations: 3.938 kB / 1.218 GB, free: 2.516 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003729/0.7705, allocations: 55.92 kB / 1.218 GB, free: 2.461 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.042e-05/0.7705, allocations: 4 kB / 1.218 GB, free: 2.457 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002833/0.7708, allocations: 31.73 kB / 1.218 GB, free: 2.426 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.609e-05/0.7708, allocations: 15.98 kB / 1.218 GB, free: 2.41 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.0001207/0.771, allocations: 121.8 kB / 1.218 GB, free: 2.281 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.277e-05/0.771, allocations: 11.91 kB / 1.218 GB, free: 2.27 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008165/0.7718, allocations: 266.6 kB / 1.218 GB, free: 2 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.521e-06/0.7719, allocations: 7.938 kB / 1.218 GB, free: 1.992 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.889e-06/0.7719, allocations: 0 / 1.218 GB, free: 1.992 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.068e-06/0.7719, allocations: 0 / 1.218 GB, free: 1.992 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001793/0.7737, allocations: 1.07 MB / 1.219 GB, free: 0.7695 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.929e-06/0.7737, allocations: 4 kB / 1.219 GB, free: 0.7656 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003128/0.774, allocations: 43.89 kB / 1.219 GB, free: 0.7227 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.408e-06/0.774, allocations: 0 / 1.219 GB, free: 0.7227 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.115e-05/0.774, allocations: 8 kB / 1.219 GB, free: 0.7148 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.054e-06/0.7741, allocations: 0 / 1.219 GB, free: 0.7148 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.839e-06/0.7741, allocations: 7.938 kB / 1.219 GB, free: 0.707 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000746/0.7748, allocations: 356.8 kB / 1.22 GB, free: 344 kB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 5.216e-05/0.7749, allocations: 88.95 kB / 1.22 GB, free: 236 kB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.918e-05/0.7749, allocations: 8 kB / 1.22 GB, free: 228 kB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003033/0.7752, allocations: 27.97 kB / 1.22 GB, free: 200 kB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.773e-05/0.7753, allocations: 15.98 kB / 1.22 GB, free: 184 kB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.592e-05/0.7753, allocations: 7.938 kB / 1.22 GB, free: 176 kB / 0.9356 GB Notification: Performance of sorting global known variables: time 8.689e-05/0.7754, allocations: 117.5 kB / 1.22 GB, free: 60 kB / 0.9356 GB Notification: Performance of sort global known variables: time 1.4e-07/0.7754, allocations: 0 / 1.22 GB, free: 60 kB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0004479/0.7759, allocations: 135.8 kB / 1.22 GB, free: 15.92 MB / 0.9512 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.001402/0.7773, allocations: 1.008 MB / 1.221 GB, free: 14.89 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.0007361/0.778, allocations: 229.5 kB / 1.221 GB, free: 14.67 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 3.085e-06/0.778, allocations: 0 / 1.221 GB, free: 14.67 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.0003223/0.7784, allocations: 112 kB / 1.221 GB, free: 14.56 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004331/0.7788, allocations: 48.02 kB / 1.221 GB, free: 14.51 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00474/0.7835, allocations: 2.361 MB / 1.224 GB, free: 12.05 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002861/0.7839, allocations: 0.7125 MB / 1.224 GB, free: 11.32 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 0.0001596/0.784, allocations: 25.55 kB / 1.224 GB, free: 11.29 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001152/0.7841, allocations: 47.41 kB / 1.224 GB, free: 11.25 MB / 0.9512 GB Notification: Performance of SimCode: time 6.12e-07/0.7842, allocations: 4 kB / 1.224 GB, free: 11.24 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02383/0.808, allocations: 6.423 MB / 1.231 GB, free: 5.004 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.812/8.62, allocations: 10.44 kB / 1.231 GB, free: 4.996 MB / 0.9512 GB (rm -f Buildings_latest_Buildings.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor.pipe ; mkfifo Buildings_latest_Buildings.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor.pipe >> ../files/Buildings_latest_Buildings.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_HeatPumps_Compressors_Validation_ScrollCompressor_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_HeatPumps_Compressors_Validation_ScrollCompressor.fmu > Buildings_latest_Buildings.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_HeatPumps_Compressors_Validation_ScrollCompressor.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches