Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor_ZeroInput.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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_latest_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_latest_Buildings.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor_ZeroInput") [: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 10.0.0-master/package.mo): time 2.023/2.023, allocations: 390.4 MB / 397.7 MB, free: 11.21 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.001108/0.001108, allocations: 184.5 kB / 490.8 MB, free: 1.863 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.314/1.314, allocations: 221.3 MB / 0.7863 GB, free: 13.59 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008865/0.0008865, allocations: 84.75 kB / 0.9264 GB, free: 14.12 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 8.777e-06/8.797e-06, allocations: 0 / 1.072 GB, free: 182.5 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2837/0.2837, allocations: 143 MB / 1.212 GB, free: 40.04 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8034/1.087, allocations: 155.9 MB / 1.364 GB, free: 17.21 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003057/1.088, allocations: 86.02 kB / 1.364 GB, free: 17.2 MB / 0.823 GB Notification: Performance of FrontEnd: time 0.02497/1.112, allocations: 7.962 MB / 1.372 GB, free: 16.73 MB / 0.823 GB Notification: Performance of Transformations before backend: time 1.103e-05/1.113, allocations: 7.219 kB / 1.372 GB, free: 16.73 MB / 0.823 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.001037/1.114, allocations: 489.9 kB / 1.372 GB, free: 32.31 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.991e-05/1.114, allocations: 8.75 kB / 1.372 GB, free: 32.31 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001112/1.115, allocations: 157.7 kB / 1.372 GB, free: 32.29 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001526/1.115, allocations: 193.3 kB / 1.373 GB, free: 32.07 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.618e-05/1.115, allocations: 42.06 kB / 1.373 GB, free: 32.04 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.271e-05/1.115, allocations: 13.34 kB / 1.373 GB, free: 32.04 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003539/1.115, allocations: 164 kB / 1.373 GB, free: 32.04 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003201/1.116, allocations: 169 kB / 1.373 GB, free: 31.99 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.116e-05/1.116, allocations: 0 / 1.373 GB, free: 31.99 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.774e-05/1.116, allocations: 1.031 kB / 1.373 GB, free: 31.99 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.138e-05/1.116, allocations: 3.375 kB / 1.373 GB, free: 31.99 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001486/1.117, allocations: 0.9353 MB / 1.374 GB, free: 31.33 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002339/1.118, allocations: 133 kB / 1.374 GB, free: 31.3 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001311/1.118, allocations: 76.92 kB / 1.374 GB, free: 31.3 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006358/1.118, allocations: 0.5192 MB / 1.375 GB, free: 30.73 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.583e-05/1.118, allocations: 32.2 kB / 1.375 GB, free: 30.69 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=16): time 1.773e-06/1.118, allocations: 1.094 kB / 1.375 GB, free: 30.69 MB / 0.8386 GB Notification: Performance of matching and sorting (n=16): time 0.0007994/1.119, allocations: 211 kB / 1.375 GB, free: 30.65 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.454e-05/1.119, allocations: 52.75 kB / 1.375 GB, free: 30.59 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001141/1.119, allocations: 124.8 kB / 1.375 GB, free: 30.49 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 2.711e-05/1.119, allocations: 30.95 kB / 1.375 GB, free: 30.45 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 8.49e-05/1.119, allocations: 121.7 kB / 1.375 GB, free: 30.35 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 4.787e-05/1.12, allocations: 54.09 kB / 1.375 GB, free: 30.31 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.449e-05/1.12, allocations: 0 / 1.375 GB, free: 30.31 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001099/1.12, allocations: 319.8 kB / 1.375 GB, free: 30 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001257/1.12, allocations: 68.56 kB / 1.375 GB, free: 30 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001463/1.12, allocations: 90.69 kB / 1.376 GB, free: 29.98 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000476/1.12, allocations: 105.1 kB / 1.376 GB, free: 29.98 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.595e-06/1.12, allocations: 0 / 1.376 GB, free: 29.98 MB / 0.8386 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.000679/1.121, allocations: 247.1 kB / 1.376 GB, free: 29.93 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.704e-05/1.121, allocations: 8.875 kB / 1.376 GB, free: 29.93 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.311e-06/1.121, allocations: 1.328 kB / 1.376 GB, free: 29.93 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.602e-05/1.121, allocations: 1.594 kB / 1.376 GB, free: 29.93 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004158/1.122, allocations: 51.25 kB / 1.376 GB, free: 29.92 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.425e-06/1.122, allocations: 2.453 kB / 1.376 GB, free: 29.92 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003068/1.122, allocations: 32.66 kB / 1.376 GB, free: 29.91 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.58e-05/1.122, allocations: 9.156 kB / 1.376 GB, free: 29.91 MB / 0.8386 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 0.0001733/1.122, allocations: 110.6 kB / 1.376 GB, free: 29.8 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.894e-05/1.122, allocations: 14.06 kB / 1.376 GB, free: 29.79 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007662/1.123, allocations: 234.6 kB / 1.376 GB, free: 29.75 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.773e-06/1.123, allocations: 2.125 kB / 1.376 GB, free: 29.75 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.661e-06/1.123, allocations: 3.938 kB / 1.376 GB, free: 29.74 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.564e-06/1.123, allocations: 1.797 kB / 1.376 GB, free: 29.74 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001615/1.125, allocations: 1.019 MB / 1.377 GB, free: 28.96 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.948e-06/1.125, allocations: 1.5 kB / 1.377 GB, free: 28.96 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003475/1.125, allocations: 40.8 kB / 1.377 GB, free: 28.96 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.192e-06/1.125, allocations: 1.469 kB / 1.377 GB, free: 28.96 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.172e-05/1.125, allocations: 3.203 kB / 1.377 GB, free: 28.96 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.717e-06/1.125, allocations: 5.031 kB / 1.377 GB, free: 28.96 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.072e-06/1.125, allocations: 5.062 kB / 1.377 GB, free: 28.96 MB / 0.8386 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.000647/1.126, allocations: 347.8 kB / 1.378 GB, free: 28.77 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 4.565e-05/1.126, allocations: 92.16 kB / 1.378 GB, free: 28.67 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.127e-05/1.126, allocations: 1.844 kB / 1.378 GB, free: 28.67 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003333/1.126, allocations: 25.3 kB / 1.378 GB, free: 28.66 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.249e-05/1.126, allocations: 14.36 kB / 1.378 GB, free: 28.66 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.39e-05/1.126, allocations: 10.02 kB / 1.378 GB, free: 28.66 MB / 0.8386 GB Notification: Performance of sort global known variables: time 6.323e-05/1.126, allocations: 92.52 kB / 1.378 GB, free: 28.59 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0007033/1.127, allocations: 141.1 kB / 1.378 GB, free: 28.55 MB / 0.8386 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.128, allocations: 244.8 kB / 1.378 GB, free: 28.42 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0003517/1.128, allocations: 161.2 kB / 1.378 GB, free: 28.42 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 2.615e-06/1.128, allocations: 4.062 kB / 1.378 GB, free: 28.41 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.0001355/1.128, allocations: 83.39 kB / 1.379 GB, free: 28.41 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002925/1.128, allocations: 25.69 kB / 1.379 GB, free: 28.4 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001388/1.13, allocations: 298.3 kB / 1.379 GB, free: 28.28 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004024/1.13, allocations: 0.7593 MB / 1.38 GB, free: 27.57 MB / 0.8386 GB Notification: Performance of SimCode: time 2.31e-07/1.13, allocations: 0 / 1.38 GB, free: 27.57 MB / 0.8386 GB Notification: Performance of Templates: time 0.009672/1.14, allocations: 4.477 MB / 1.384 GB, free: 26.21 MB / 0.8386 GB make -j1 -f Buildings_latest_Buildings.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor_ZeroInput.makefile (rm -f Buildings_latest_Buildings.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor_ZeroInput.pipe ; mkfifo Buildings_latest_Buildings.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor_ZeroInput.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor_ZeroInput.pipe >> ../files/Buildings_latest_Buildings.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor_ZeroInput.sim & ./Buildings_latest_Buildings.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor_ZeroInput -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor_ZeroInput.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor_ZeroInput_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_HeatPumps_Compressors_Validation_ScrollCompressor_ZeroInput.csv","../files/Buildings_latest_Buildings.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor_ZeroInput.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches