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/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,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") [: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 1.979/1.979, allocations: 390.4 MB / 397.7 MB, free: 11.23 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.001197/0.001197, allocations: 184.6 kB / 490.8 MB, free: 1.918 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.29/1.29, allocations: 221.3 MB / 0.7863 GB, free: 13.73 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.001016/0.001016, allocations: 95.8 kB / 0.9264 GB, free: 14.26 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 6.171e-06/6.201e-06, allocations: 3.938 kB / 1.072 GB, free: 182.6 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2785/0.2785, allocations: 143 MB / 1.212 GB, free: 40.12 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7939/1.072, allocations: 155.9 MB / 1.364 GB, free: 16.94 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002469/1.073, allocations: 85.03 kB / 1.364 GB, free: 16.94 MB / 0.823 GB Notification: Performance of FrontEnd: time 0.02514/1.098, allocations: 7.975 MB / 1.372 GB, free: 16.46 MB / 0.823 GB Notification: Performance of Transformations before backend: time 1.051e-05/1.098, allocations: 3.156 kB / 1.372 GB, free: 16.46 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.001009/1.099, allocations: 0.4906 MB / 1.372 GB, free: 32.04 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.988e-05/1.099, allocations: 12.72 kB / 1.372 GB, free: 32.04 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001102/1.1, allocations: 147.8 kB / 1.372 GB, free: 32.02 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001231/1.1, allocations: 185.5 kB / 1.373 GB, free: 31.8 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.665e-05/1.1, allocations: 42.33 kB / 1.373 GB, free: 31.77 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.192e-05/1.1, allocations: 13.16 kB / 1.373 GB, free: 31.77 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003595/1.101, allocations: 165.1 kB / 1.373 GB, free: 31.77 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003138/1.101, allocations: 163.5 kB / 1.373 GB, free: 31.73 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.125e-05/1.101, allocations: 3.938 kB / 1.373 GB, free: 31.73 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.681e-05/1.101, allocations: 1.812 kB / 1.373 GB, free: 31.73 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.627e-06/1.101, allocations: 3.219 kB / 1.373 GB, free: 31.73 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001435/1.103, allocations: 0.9342 MB / 1.374 GB, free: 31.07 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002238/1.103, allocations: 130.5 kB / 1.374 GB, free: 31.04 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001254/1.103, allocations: 85.69 kB / 1.374 GB, free: 31.03 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006291/1.104, allocations: 0.5159 MB / 1.375 GB, free: 30.46 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.909e-05/1.104, allocations: 32.5 kB / 1.375 GB, free: 30.43 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=16): time 2.044e-06/1.104, allocations: 0 / 1.375 GB, free: 30.43 MB / 0.8386 GB Notification: Performance of matching and sorting (n=16): time 0.0007418/1.104, allocations: 210.4 kB / 1.375 GB, free: 30.38 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.613e-05/1.104, allocations: 53.39 kB / 1.375 GB, free: 30.32 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001133/1.105, allocations: 124.1 kB / 1.375 GB, free: 30.22 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 2.479e-05/1.105, allocations: 27.2 kB / 1.375 GB, free: 30.19 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 7.431e-05/1.105, allocations: 123.3 kB / 1.375 GB, free: 30.09 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 4.525e-05/1.105, allocations: 50.8 kB / 1.375 GB, free: 30.05 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.528e-05/1.105, allocations: 0 / 1.375 GB, free: 30.05 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001129/1.105, allocations: 324.4 kB / 1.375 GB, free: 29.74 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000142/1.105, allocations: 72.61 kB / 1.375 GB, free: 29.73 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001548/1.105, allocations: 84.88 kB / 1.376 GB, free: 29.71 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004983/1.106, allocations: 108.2 kB / 1.376 GB, free: 29.71 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.765e-06/1.106, allocations: 0 / 1.376 GB, free: 29.71 MB / 0.8386 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0006852/1.106, allocations: 242.8 kB / 1.376 GB, free: 29.67 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.85e-05/1.106, allocations: 16.12 kB / 1.376 GB, free: 29.66 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.282e-06/1.106, allocations: 0.5625 kB / 1.376 GB, free: 29.66 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.456e-05/1.106, allocations: 5.406 kB / 1.376 GB, free: 29.66 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004/1.107, allocations: 52.3 kB / 1.376 GB, free: 29.65 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.694e-06/1.107, allocations: 1.375 kB / 1.376 GB, free: 29.65 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002917/1.107, allocations: 32.44 kB / 1.376 GB, free: 29.64 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.465e-05/1.107, allocations: 5.703 kB / 1.376 GB, free: 29.64 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 9.759e-05/1.107, allocations: 111.4 kB / 1.376 GB, free: 29.53 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.546e-05/1.107, allocations: 13.34 kB / 1.376 GB, free: 29.52 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007172/1.108, allocations: 236.8 kB / 1.376 GB, free: 29.48 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.919e-06/1.108, allocations: 1.625 kB / 1.376 GB, free: 29.48 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.698e-06/1.108, allocations: 0.5625 kB / 1.376 GB, free: 29.48 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.851e-06/1.108, allocations: 0.6562 kB / 1.376 GB, free: 29.48 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001574/1.11, allocations: 1.016 MB / 1.377 GB, free: 28.71 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.707e-06/1.11, allocations: 5.031 kB / 1.377 GB, free: 28.7 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003322/1.11, allocations: 48.73 kB / 1.377 GB, free: 28.7 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.468e-06/1.11, allocations: 1.25 kB / 1.377 GB, free: 28.7 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.087e-05/1.11, allocations: 2.656 kB / 1.377 GB, free: 28.7 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.785e-06/1.11, allocations: 1.656 kB / 1.377 GB, free: 28.7 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.066e-06/1.11, allocations: 1.469 kB / 1.377 GB, free: 28.7 MB / 0.8386 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0006365/1.111, allocations: 343.8 kB / 1.378 GB, free: 28.5 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 4.191e-05/1.111, allocations: 91.28 kB / 1.378 GB, free: 28.41 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.133e-05/1.111, allocations: 2.203 kB / 1.378 GB, free: 28.41 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003248/1.111, allocations: 21.72 kB / 1.378 GB, free: 28.41 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.361e-05/1.111, allocations: 18.23 kB / 1.378 GB, free: 28.4 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.347e-05/1.111, allocations: 9.719 kB / 1.378 GB, free: 28.4 MB / 0.8386 GB Notification: Performance of sort global known variables: time 5.457e-05/1.111, allocations: 94.02 kB / 1.378 GB, free: 28.32 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0006529/1.112, allocations: 138.6 kB / 1.378 GB, free: 28.29 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.0005548/1.112, allocations: 238.4 kB / 1.378 GB, free: 28.16 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0003391/1.113, allocations: 169.2 kB / 1.378 GB, free: 28.16 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 2.595e-06/1.113, allocations: 0.8438 kB / 1.378 GB, free: 28.16 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.0001501/1.113, allocations: 85.53 kB / 1.379 GB, free: 28.15 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002837/1.113, allocations: 29.33 kB / 1.379 GB, free: 28.14 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006106/1.114, allocations: 217.5 kB / 1.379 GB, free: 28.03 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004214/1.114, allocations: 0.7516 MB / 1.38 GB, free: 27.33 MB / 0.8386 GB Notification: Performance of SimCode: time 2.81e-07/1.114, allocations: 0 / 1.38 GB, free: 27.33 MB / 0.8386 GB Notification: Performance of Templates: time 0.009527/1.124, allocations: 4.481 MB / 1.384 GB, free: 25.98 MB / 0.8386 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","../files/Buildings_latest_Buildings.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches