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") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.249/2.249, allocations: 393.5 MB / 408.4 MB, free: 11.16 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.001311/0.001311, allocations: 180 kB / 0.4902 GB, free: 2.297 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.616/1.616, allocations: 223.1 MB / 0.7992 GB, free: 14.71 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.0009867/0.0009867, allocations: 102.4 kB / 0.9396 GB, free: 1.922 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003869/0.0003869, allocations: 8.734 kB / 1.09 GB, free: 216.4 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3125/0.3129, allocations: 143 MB / 1.229 GB, free: 105.8 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2057/0.5187, allocations: 156.7 MB / 1.382 GB, free: 12.86 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002231/0.519, allocations: 87.94 kB / 1.382 GB, free: 12.77 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 0.02537/0.5443, allocations: 8.279 MB / 1.39 GB, free: 4.473 MB / 0.8855 GB Notification: Performance of FrontEnd: time 1.963e-06/0.5444, allocations: 0 / 1.39 GB, free: 4.473 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 1.141e-05/0.5444, allocations: 4 kB / 1.39 GB, free: 4.469 MB / 0.8855 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.001014/0.5454, allocations: 0.507 MB / 1.391 GB, free: 3.914 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 4.828e-05/0.5455, allocations: 12.52 kB / 1.391 GB, free: 3.902 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001168/0.5467, allocations: 143.6 kB / 1.391 GB, free: 3.762 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001737/0.5469, allocations: 178.8 kB / 1.391 GB, free: 3.547 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001028/0.547, allocations: 49.7 kB / 1.391 GB, free: 3.492 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.789e-05/0.547, allocations: 12 kB / 1.391 GB, free: 3.48 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000622/0.5476, allocations: 221 kB / 1.392 GB, free: 3.258 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.1e-05/0.5477, allocations: 0 / 1.392 GB, free: 3.258 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.086e-05/0.5477, allocations: 8 kB / 1.392 GB, free: 3.25 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.518e-05/0.5477, allocations: 7.953 kB / 1.392 GB, free: 3.242 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007781/0.5485, allocations: 239.8 kB / 1.392 GB, free: 3.008 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001752/0.5503, allocations: 0.9971 MB / 1.393 GB, free: 1.887 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004868/0.5508, allocations: 182.7 kB / 1.393 GB, free: 1.699 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007099/0.5515, allocations: 0.5181 MB / 1.393 GB, free: 1.07 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.175e-05/0.5515, allocations: 46.39 kB / 1.393 GB, free: 1.016 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=16): time 2.354e-06/0.5515, allocations: 0 / 1.393 GB, free: 1.016 MB / 0.8855 GB Notification: Performance of matching and sorting (n=16): time 0.001132/0.5527, allocations: 333.6 kB / 1.394 GB, free: 0.6836 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.846e-05/0.5527, allocations: 55.41 kB / 1.394 GB, free: 0.6172 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000152/0.5529, allocations: 147 kB / 1.394 GB, free: 480 kB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 3.546e-05/0.5529, allocations: 33.7 kB / 1.394 GB, free: 440 kB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001091/0.5531, allocations: 116.2 kB / 1.394 GB, free: 316 kB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 5.779e-05/0.5531, allocations: 63.19 kB / 1.394 GB, free: 252 kB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.333e-05/0.5531, allocations: 0 / 1.394 GB, free: 252 kB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0001718/0.5533, allocations: 326.8 kB / 1.394 GB, free: 15.92 MB / 0.9011 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003541/0.5537, allocations: 96.31 kB / 1.395 GB, free: 15.82 MB / 0.9011 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000347/0.554, allocations: 132.8 kB / 1.395 GB, free: 15.69 MB / 0.9011 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003377/0.5544, allocations: 96.84 kB / 1.395 GB, free: 15.59 MB / 0.9011 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.264e-06/0.5544, allocations: 0 / 1.395 GB, free: 15.59 MB / 0.9011 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0007847/0.5552, allocations: 268.4 kB / 1.395 GB, free: 15.33 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 2.029e-05/0.5552, allocations: 12.03 kB / 1.395 GB, free: 15.32 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.305e-06/0.5552, allocations: 3.953 kB / 1.395 GB, free: 15.31 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.646e-05/0.5553, allocations: 0 / 1.395 GB, free: 15.31 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003657/0.5556, allocations: 51.91 kB / 1.395 GB, free: 15.26 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.245e-06/0.5556, allocations: 4 kB / 1.395 GB, free: 15.26 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002982/0.5559, allocations: 35.81 kB / 1.395 GB, free: 15.22 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.332e-05/0.556, allocations: 8 kB / 1.395 GB, free: 15.21 MB / 0.9011 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001281/0.5561, allocations: 125.8 kB / 1.395 GB, free: 15.08 MB / 0.9011 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.886e-05/0.5562, allocations: 11.81 kB / 1.395 GB, free: 15.07 MB / 0.9011 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008342/0.557, allocations: 280.8 kB / 1.396 GB, free: 14.79 MB / 0.9011 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.601e-06/0.557, allocations: 3.984 kB / 1.396 GB, free: 14.79 MB / 0.9011 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.668e-06/0.557, allocations: 0 / 1.396 GB, free: 14.79 MB / 0.9011 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.527e-06/0.5571, allocations: 0 / 1.396 GB, free: 14.79 MB / 0.9011 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001972/0.559, allocations: 1.081 MB / 1.397 GB, free: 13.55 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.925e-06/0.5591, allocations: 0 / 1.397 GB, free: 13.55 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003294/0.5594, allocations: 39.97 kB / 1.397 GB, free: 13.51 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.64e-06/0.5594, allocations: 4.062 kB / 1.397 GB, free: 13.5 MB / 0.9011 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.506e-05/0.5594, allocations: 8 kB / 1.397 GB, free: 13.5 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.335e-06/0.5594, allocations: 3.938 kB / 1.397 GB, free: 13.49 MB / 0.9011 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.323e-06/0.5594, allocations: 0 / 1.397 GB, free: 13.49 MB / 0.9011 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007929/0.5602, allocations: 380.3 kB / 1.397 GB, free: 13.09 MB / 0.9011 GB Notification: Performance of postOpt removeConstants (simulation): time 5.993e-05/0.5603, allocations: 96.94 kB / 1.397 GB, free: 12.97 MB / 0.9011 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.678e-05/0.5604, allocations: 4 kB / 1.397 GB, free: 12.97 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000322/0.5607, allocations: 23.97 kB / 1.397 GB, free: 12.95 MB / 0.9011 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.735e-05/0.5607, allocations: 23.97 kB / 1.397 GB, free: 12.92 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.348e-05/0.5608, allocations: 12 kB / 1.397 GB, free: 12.91 MB / 0.9011 GB Notification: Performance of sorting global known variables: time 8.209e-05/0.5609, allocations: 117.7 kB / 1.397 GB, free: 12.8 MB / 0.9011 GB Notification: Performance of sort global known variables: time 4.91e-07/0.5609, allocations: 0 / 1.397 GB, free: 12.8 MB / 0.9011 GB Notification: Performance of remove unused functions: time 0.0005551/0.5614, allocations: 143.7 kB / 1.397 GB, free: 12.66 MB / 0.9011 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 (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.0005888/0.562, allocations: 243.6 kB / 1.398 GB, free: 12.41 MB / 0.9011 GB Notification: Performance of simCode: created initialization part: time 0.0007579/0.5628, allocations: 231.8 kB / 1.398 GB, free: 12.18 MB / 0.9011 GB Notification: Performance of simCode: created event and clocks part: time 3.627e-06/0.5628, allocations: 8.062 kB / 1.398 GB, free: 12.17 MB / 0.9011 GB Notification: Performance of simCode: created simulation system equations: time 0.0003454/0.5632, allocations: 111.9 kB / 1.398 GB, free: 12.06 MB / 0.9011 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002965/0.5635, allocations: 46.34 kB / 1.398 GB, free: 12.02 MB / 0.9011 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001562/0.565, allocations: 479.4 kB / 1.399 GB, free: 11.52 MB / 0.9011 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002998/0.5654, allocations: 0.7167 MB / 1.399 GB, free: 10.78 MB / 0.9011 GB Notification: Performance of simCode: alias equations: time 0.0002082/0.5656, allocations: 33.47 kB / 1.399 GB, free: 10.75 MB / 0.9011 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.709e-05/0.5657, allocations: 19.44 kB / 1.399 GB, free: 10.73 MB / 0.9011 GB Notification: Performance of SimCode: time 2.3e-07/0.5657, allocations: 0 / 1.399 GB, free: 10.73 MB / 0.9011 GB Notification: Performance of Templates: time 0.008934/0.5746, allocations: 4.087 MB / 1.403 GB, free: 6.688 MB / 0.9011 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