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/Buildings 9.1.1-maint.9.1.x/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.043/2.043, allocations: 387.2 MB / 394.5 MB, free: 13.59 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001506/0.001506, allocations: 189.2 kB / 487 MB, free: 5.336 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.399/1.399, allocations: 221.3 MB / 0.7819 GB, free: 1.383 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001145/0.001145, allocations: 91.58 kB / 0.9213 GB, free: 2.641 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 9.788e-06/9.809e-06, allocations: 0 / 1.066 GB, free: 168.2 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3086/0.3086, allocations: 142.3 MB / 1.205 GB, free: 26.2 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8554/1.164, allocations: 155.1 MB / 1.357 GB, free: 15.63 MB / 0.8073 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002724/1.164, allocations: 90.44 kB / 1.357 GB, free: 15.62 MB / 0.8073 GB Notification: Performance of FrontEnd: time 0.02473/1.189, allocations: 7.972 MB / 1.365 GB, free: 11.93 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 8.586e-06/1.189, allocations: 0 / 1.365 GB, free: 11.93 MB / 0.8073 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.0008328/1.19, allocations: 0.4889 MB / 1.365 GB, free: 11.41 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 3.984e-05/1.19, allocations: 9.031 kB / 1.365 GB, free: 11.4 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00106/1.191, allocations: 150.5 kB / 1.365 GB, free: 11.25 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001195/1.191, allocations: 178.8 kB / 1.365 GB, free: 11.04 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.007e-05/1.191, allocations: 41.69 kB / 1.365 GB, free: 10.99 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.912e-05/1.191, allocations: 12 kB / 1.365 GB, free: 10.98 MB / 0.8073 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003289/1.192, allocations: 168.7 kB / 1.366 GB, free: 10.88 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002842/1.192, allocations: 163.8 kB / 1.366 GB, free: 10.75 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.063e-05/1.192, allocations: 3.938 kB / 1.366 GB, free: 10.75 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.497e-05/1.192, allocations: 0 / 1.366 GB, free: 10.75 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.754e-06/1.192, allocations: 4 kB / 1.366 GB, free: 10.75 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00145/1.193, allocations: 0.9341 MB / 1.367 GB, free: 9.828 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002112/1.194, allocations: 134.6 kB / 1.367 GB, free: 9.738 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001202/1.194, allocations: 81.36 kB / 1.367 GB, free: 9.688 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006211/1.194, allocations: 0.5178 MB / 1.367 GB, free: 9.062 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.075e-05/1.195, allocations: 34.56 kB / 1.367 GB, free: 9.02 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=16): time 2.385e-06/1.195, allocations: 0 / 1.367 GB, free: 9.02 MB / 0.8073 GB Notification: Performance of matching and sorting (n=16): time 0.0007661/1.195, allocations: 210.7 kB / 1.368 GB, free: 8.859 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.396e-05/1.195, allocations: 55.41 kB / 1.368 GB, free: 8.793 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001011/1.195, allocations: 123.8 kB / 1.368 GB, free: 8.672 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 2.675e-05/1.195, allocations: 25.7 kB / 1.368 GB, free: 8.641 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 6.16e-05/1.196, allocations: 119.2 kB / 1.368 GB, free: 8.523 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 4.537e-05/1.196, allocations: 54.39 kB / 1.368 GB, free: 8.477 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.529e-05/1.196, allocations: 0 / 1.368 GB, free: 8.477 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 7.584e-05/1.196, allocations: 322.5 kB / 1.368 GB, free: 8.156 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000151/1.196, allocations: 69.48 kB / 1.368 GB, free: 8.113 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001224/1.196, allocations: 89.59 kB / 1.368 GB, free: 8.059 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004689/1.196, allocations: 105.3 kB / 1.369 GB, free: 7.98 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.785e-06/1.196, allocations: 0 / 1.369 GB, free: 7.98 MB / 0.8073 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0006527/1.197, allocations: 246.7 kB / 1.369 GB, free: 7.793 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.491e-05/1.197, allocations: 4 kB / 1.369 GB, free: 7.789 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.813e-06/1.197, allocations: 3.938 kB / 1.369 GB, free: 7.785 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.625e-05/1.197, allocations: 4 kB / 1.369 GB, free: 7.781 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003803/1.198, allocations: 51.94 kB / 1.369 GB, free: 7.73 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.903e-06/1.198, allocations: 0 / 1.369 GB, free: 7.73 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002868/1.198, allocations: 31.81 kB / 1.369 GB, free: 7.699 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.487e-05/1.198, allocations: 7.812 kB / 1.369 GB, free: 7.695 MB / 0.8073 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 () * 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.395e-05/1.198, allocations: 112.9 kB / 1.369 GB, free: 7.578 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.706e-05/1.198, allocations: 15.8 kB / 1.369 GB, free: 7.562 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007036/1.199, allocations: 234.4 kB / 1.369 GB, free: 7.383 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.404e-06/1.199, allocations: 8 kB / 1.369 GB, free: 7.375 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.853e-06/1.199, allocations: 0 / 1.369 GB, free: 7.375 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.402e-06/1.199, allocations: 3.984 kB / 1.369 GB, free: 7.371 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001476/1.2, allocations: 1.019 MB / 1.37 GB, free: 6.32 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.395e-06/1.2, allocations: 0 / 1.37 GB, free: 6.32 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003227/1.201, allocations: 46.97 kB / 1.37 GB, free: 6.277 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.077e-06/1.201, allocations: 0 / 1.37 GB, free: 6.277 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.094e-05/1.201, allocations: 3.984 kB / 1.37 GB, free: 6.273 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.876e-06/1.201, allocations: 8.062 kB / 1.37 GB, free: 6.266 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.445e-06/1.201, allocations: 0 / 1.37 GB, free: 6.266 MB / 0.8073 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0005961/1.201, allocations: 341.9 kB / 1.371 GB, free: 5.953 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 3.902e-05/1.201, allocations: 92.5 kB / 1.371 GB, free: 5.848 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.008e-05/1.201, allocations: 4 kB / 1.371 GB, free: 5.844 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003224/1.202, allocations: 27.88 kB / 1.371 GB, free: 5.816 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.104e-05/1.202, allocations: 7.984 kB / 1.371 GB, free: 5.809 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.083e-05/1.202, allocations: 7.812 kB / 1.371 GB, free: 5.805 MB / 0.8073 GB Notification: Performance of sort global known variables: time 4.575e-05/1.202, allocations: 99.52 kB / 1.371 GB, free: 5.711 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0005453/1.202, allocations: 143.6 kB / 1.371 GB, free: 5.574 MB / 0.8073 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) * 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.0005601/1.203, allocations: 241.8 kB / 1.371 GB, free: 5.344 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.0002985/1.203, allocations: 162.7 kB / 1.371 GB, free: 5.242 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 4.398e-06/1.203, allocations: 3.312 kB / 1.371 GB, free: 5.242 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 0.0001214/1.203, allocations: 83.81 kB / 1.371 GB, free: 5.188 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002674/1.204, allocations: 19.86 kB / 1.371 GB, free: 5.172 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005845/1.204, allocations: 223.1 kB / 1.372 GB, free: 4.953 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004824/1.205, allocations: 0.7537 MB / 1.372 GB, free: 20.17 MB / 0.823 GB Notification: Performance of SimCode: time 2.51e-07/1.205, allocations: 7.875 kB / 1.372 GB, free: 20.16 MB / 0.823 GB Notification: Performance of Templates: time 0.007999/1.213, allocations: 4.474 MB / 1.377 GB, free: 15.73 MB / 0.823 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","../files/Buildings_9_Buildings.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches