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: 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_latest_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_latest_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.008186/0.008186, allocations: 103 kB / 15.73 MB, free: 6.035 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.001833/0.001833, allocations: 197.4 kB / 16.68 MB, free: 5.953 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.433/1.433, allocations: 222.9 MB / 240.4 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.568/2.568, allocations: 461.9 MB / 0.7347 GB, free: 11.13 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.0012/0.0012, allocations: 68.11 kB / 1.054 GB, free: 7.711 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7716/0.7729, allocations: 157.4 MB / 1.208 GB, free: 13.65 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor): time 0.003027/0.7759, allocations: 2.039 MB / 1.21 GB, free: 11.61 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.002397/0.7783, allocations: 1.663 MB / 1.211 GB, free: 9.941 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.234e-05/0.7784, allocations: 4 kB / 1.211 GB, free: 9.938 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 6.836e-05/0.7785, allocations: 19.8 kB / 1.211 GB, free: 9.918 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.0001063/0.7786, allocations: 55.48 kB / 1.211 GB, free: 9.863 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009469/0.7796, allocations: 354.8 kB / 1.212 GB, free: 9.516 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0002525/0.7799, allocations: 235.1 kB / 1.212 GB, free: 9.285 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001359/0.78, allocations: 49.53 kB / 1.212 GB, free: 9.238 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 9.695e-05/0.7801, allocations: 83.75 kB / 1.212 GB, free: 9.156 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001435/0.7803, allocations: 95.67 kB / 1.212 GB, free: 9.062 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 3.389e-05/0.7803, allocations: 20 kB / 1.212 GB, free: 9.043 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007126/0.781, allocations: 423.4 kB / 1.213 GB, free: 8.629 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 3.813e-05/0.7811, allocations: 39.91 kB / 1.213 GB, free: 8.59 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 8.471e-05/0.7812, allocations: 87.66 kB / 1.213 GB, free: 8.504 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0005387/0.7817, allocations: 444.5 kB / 1.213 GB, free: 8.074 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 4.117e-06/0.7817, allocations: 0 / 1.213 GB, free: 8.074 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.863e-06/0.7817, allocations: 0 / 1.213 GB, free: 8.074 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 5.711e-06/0.7817, allocations: 0 / 1.213 GB, free: 8.074 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.0008332/0.7826, allocations: 0.5225 MB / 1.214 GB, free: 7.5 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 3.896e-05/0.7826, allocations: 12.02 kB / 1.214 GB, free: 7.488 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001162/0.7838, allocations: 136.6 kB / 1.214 GB, free: 7.355 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001532/0.7839, allocations: 184.2 kB / 1.214 GB, free: 7.137 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.167e-05/0.784, allocations: 50.25 kB / 1.214 GB, free: 7.082 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.238e-05/0.7841, allocations: 12.38 kB / 1.214 GB, free: 7.07 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005873/0.7847, allocations: 214.1 kB / 1.214 GB, free: 6.855 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.168e-05/0.7847, allocations: 3.938 kB / 1.214 GB, free: 6.852 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.253e-05/0.7847, allocations: 8 kB / 1.214 GB, free: 6.844 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.071e-05/0.7848, allocations: 7.938 kB / 1.214 GB, free: 6.836 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007343/0.7855, allocations: 245.1 kB / 1.215 GB, free: 6.598 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001537/0.787, allocations: 0.9625 MB / 1.215 GB, free: 5.504 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004734/0.7875, allocations: 186.5 kB / 1.216 GB, free: 5.312 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003511/0.7879, allocations: 109.1 kB / 1.216 GB, free: 5.203 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006353/0.7885, allocations: 0.5259 MB / 1.216 GB, free: 4.566 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.673e-05/0.7886, allocations: 34.56 kB / 1.216 GB, free: 4.523 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=16): time 1.623e-06/0.7886, allocations: 0 / 1.216 GB, free: 4.523 MB / 0.9356 GB Notification: Performance of matching and sorting (n=16): time 0.001189/0.7898, allocations: 321.5 kB / 1.217 GB, free: 4.203 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.482e-05/0.7898, allocations: 59.34 kB / 1.217 GB, free: 4.133 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000154/0.79, allocations: 160.5 kB / 1.217 GB, free: 3.969 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 3.1e-05/0.79, allocations: 33.7 kB / 1.217 GB, free: 3.93 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 7.921e-05/0.7901, allocations: 120.1 kB / 1.217 GB, free: 3.805 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 7.405e-05/0.7902, allocations: 55.28 kB / 1.217 GB, free: 3.75 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.984e-05/0.7903, allocations: 41.61 kB / 1.217 GB, free: 3.703 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001356/0.7904, allocations: 326.8 kB / 1.217 GB, free: 3.375 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003646/0.7908, allocations: 103.9 kB / 1.217 GB, free: 3.273 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003675/0.7912, allocations: 124.3 kB / 1.218 GB, free: 3.148 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006584/0.7919, allocations: 193.6 kB / 1.218 GB, free: 2.953 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.015e-06/0.7919, allocations: 3.938 kB / 1.218 GB, free: 2.949 MB / 0.9356 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0007918/0.7927, allocations: 267.8 kB / 1.218 GB, free: 2.684 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.813e-05/0.7927, allocations: 8 kB / 1.218 GB, free: 2.676 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.52e-06/0.7927, allocations: 0 / 1.218 GB, free: 2.676 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.539e-05/0.7927, allocations: 4.031 kB / 1.218 GB, free: 2.672 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003915/0.7931, allocations: 59.83 kB / 1.218 GB, free: 2.613 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.447e-06/0.7931, allocations: 0 / 1.218 GB, free: 2.613 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002998/0.7935, allocations: 35.73 kB / 1.218 GB, free: 2.578 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.647e-05/0.7935, allocations: 15.97 kB / 1.218 GB, free: 2.562 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.0001612/0.7937, allocations: 125.8 kB / 1.218 GB, free: 2.43 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.191e-05/0.7937, allocations: 15.84 kB / 1.218 GB, free: 2.414 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008555/0.7946, allocations: 264.9 kB / 1.219 GB, free: 2.148 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.36e-06/0.7946, allocations: 7.938 kB / 1.219 GB, free: 2.141 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.849e-06/0.7946, allocations: 0 / 1.219 GB, free: 2.141 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.266e-06/0.7946, allocations: 0 / 1.219 GB, free: 2.141 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001742/0.7964, allocations: 1.072 MB / 1.22 GB, free: 0.918 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.192e-06/0.7964, allocations: 7.922 kB / 1.22 GB, free: 0.9102 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003204/0.7967, allocations: 47.91 kB / 1.22 GB, free: 0.8633 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.985e-06/0.7967, allocations: 0 / 1.22 GB, free: 0.8633 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.863e-05/0.7967, allocations: 4 kB / 1.22 GB, free: 0.8594 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.944e-06/0.7967, allocations: 0 / 1.22 GB, free: 0.8594 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.953e-06/0.7968, allocations: 4.062 kB / 1.22 GB, free: 0.8555 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007722/0.7975, allocations: 352.8 kB / 1.22 GB, free: 500 kB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 4.453e-05/0.7976, allocations: 96.89 kB / 1.22 GB, free: 384 kB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.54e-05/0.7976, allocations: 0 / 1.22 GB, free: 384 kB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003274/0.798, allocations: 31.97 kB / 1.22 GB, free: 352 kB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.951e-05/0.798, allocations: 7.984 kB / 1.22 GB, free: 344 kB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.639e-05/0.798, allocations: 4 kB / 1.22 GB, free: 340 kB / 0.9356 GB Notification: Performance of sorting global known variables: time 8.376e-05/0.7981, allocations: 125.7 kB / 1.22 GB, free: 216 kB / 0.9356 GB Notification: Performance of sort global known variables: time 1.1e-07/0.7981, allocations: 0 / 1.22 GB, free: 216 kB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0004924/0.7986, allocations: 127.9 kB / 1.22 GB, free: 88 kB / 0.9356 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.0004741/0.7991, allocations: 227 kB / 1.221 GB, free: 15.86 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.0008312/0.8, allocations: 235.8 kB / 1.221 GB, free: 15.62 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 3.607e-06/0.8, allocations: 0 / 1.221 GB, free: 15.62 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.0003554/0.8003, allocations: 112.1 kB / 1.221 GB, free: 15.52 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004679/0.8008, allocations: 61.86 kB / 1.221 GB, free: 15.46 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002125/0.8029, allocations: 470.5 kB / 1.221 GB, free: 14.97 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002414/0.8032, allocations: 0.7125 MB / 1.222 GB, free: 14.23 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 0.0001672/0.8034, allocations: 29.55 kB / 1.222 GB, free: 14.2 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.373e-05/0.8035, allocations: 19.44 kB / 1.222 GB, free: 14.18 MB / 0.9512 GB Notification: Performance of SimCode: time 1.9e-07/0.8035, allocations: 0 / 1.222 GB, free: 14.18 MB / 0.9512 GB Notification: Performance of Templates: time 0.007826/0.8113, allocations: 4.557 MB / 1.227 GB, free: 9.672 MB / 0.9512 GB make -j1 -f Buildings_latest_Buildings.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor.makefile (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 & ./Buildings_latest_Buildings.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > 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/jenkins/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