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") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.349/2.349, allocations: 393.5 MB / 408.4 MB, free: 11.1 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.001371/0.00137, allocations: 187.9 kB / 0.4902 GB, free: 2.301 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.574/1.574, allocations: 223.2 MB / 0.7992 GB, free: 15.67 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.001094/0.001094, allocations: 95.02 kB / 0.9396 GB, free: 2.855 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003614/0.0003615, allocations: 13.44 kB / 1.09 GB, free: 213.1 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3107/0.3111, allocations: 143 MB / 1.229 GB, free: 85.5 MB / 0.8073 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1967/0.5079, allocations: 156.7 MB / 1.382 GB, free: 8.57 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002305/0.5082, allocations: 87.94 kB / 1.382 GB, free: 8.484 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 0.02461/0.5328, allocations: 8.294 MB / 1.39 GB, free: 172 kB / 0.8855 GB Notification: Performance of FrontEnd: time 1.884e-06/0.5328, allocations: 0 / 1.39 GB, free: 172 kB / 0.8855 GB Notification: Performance of Transformations before backend: time 9.127e-06/0.5328, allocations: 0 / 1.39 GB, free: 172 kB / 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.0009763/0.5338, allocations: 0.5031 MB / 1.391 GB, free: 15.62 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 4.555e-05/0.5339, allocations: 12.03 kB / 1.391 GB, free: 15.61 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001121/0.535, allocations: 147.6 kB / 1.391 GB, free: 15.46 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001498/0.5352, allocations: 182.8 kB / 1.391 GB, free: 15.24 MB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.792e-05/0.5353, allocations: 49.69 kB / 1.391 GB, free: 15.19 MB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.963e-05/0.5353, allocations: 16 kB / 1.391 GB, free: 15.17 MB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00061/0.5359, allocations: 225 kB / 1.392 GB, free: 14.95 MB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.018e-05/0.536, allocations: 0 / 1.392 GB, free: 14.95 MB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.705e-05/0.536, allocations: 4 kB / 1.392 GB, free: 14.94 MB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.814e-06/0.536, allocations: 7.953 kB / 1.392 GB, free: 14.93 MB / 0.9011 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007429/0.5368, allocations: 231.9 kB / 1.392 GB, free: 14.71 MB / 0.9011 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001604/0.5384, allocations: 0.9894 MB / 1.393 GB, free: 13.59 MB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004906/0.5389, allocations: 186.5 kB / 1.393 GB, free: 13.4 MB / 0.9011 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007511/0.5397, allocations: 0.522 MB / 1.393 GB, free: 12.77 MB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.082e-05/0.5397, allocations: 38.78 kB / 1.393 GB, free: 12.72 MB / 0.9011 GB Notification: Performance of pre-optimization done (n=16): time 2.214e-06/0.5397, allocations: 0 / 1.393 GB, free: 12.72 MB / 0.9011 GB Notification: Performance of matching and sorting (n=16): time 0.001176/0.5409, allocations: 339.6 kB / 1.394 GB, free: 12.39 MB / 0.9011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.316e-05/0.5409, allocations: 51.41 kB / 1.394 GB, free: 12.32 MB / 0.9011 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000137/0.5411, allocations: 147.8 kB / 1.394 GB, free: 12.18 MB / 0.9011 GB Notification: Performance of collectPreVariables (initialization): time 2.934e-05/0.5411, allocations: 29.7 kB / 1.394 GB, free: 12.14 MB / 0.9011 GB Notification: Performance of collectInitialEqns (initialization): time 8.616e-05/0.5412, allocations: 124.1 kB / 1.394 GB, free: 12.01 MB / 0.9011 GB Notification: Performance of collectInitialBindings (initialization): time 5e-05/0.5413, allocations: 59.2 kB / 1.394 GB, free: 11.95 MB / 0.9011 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.366e-05/0.5413, allocations: 0 / 1.394 GB, free: 11.95 MB / 0.9011 GB Notification: Performance of setup shared object (initialization): time 0.0001202/0.5414, allocations: 326.8 kB / 1.394 GB, free: 11.62 MB / 0.9011 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000356/0.5418, allocations: 104.3 kB / 1.395 GB, free: 11.52 MB / 0.9011 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003601/0.5421, allocations: 120.8 kB / 1.395 GB, free: 11.4 MB / 0.9011 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003326/0.5425, allocations: 100.9 kB / 1.395 GB, free: 11.3 MB / 0.9011 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.294e-06/0.5425, allocations: 0 / 1.395 GB, free: 11.3 MB / 0.9011 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0007789/0.5433, allocations: 273 kB / 1.395 GB, free: 11.03 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 1.678e-05/0.5433, allocations: 4 kB / 1.395 GB, free: 11.03 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.446e-06/0.5433, allocations: 3.953 kB / 1.395 GB, free: 11.02 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.577e-05/0.5433, allocations: 4 kB / 1.395 GB, free: 11.02 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003761/0.5437, allocations: 59.88 kB / 1.395 GB, free: 10.96 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.073e-06/0.5437, allocations: 0 / 1.395 GB, free: 10.96 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002989/0.544, allocations: 39.72 kB / 1.395 GB, free: 10.92 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.398e-05/0.5441, allocations: 8 kB / 1.395 GB, free: 10.91 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.0001141/0.5442, allocations: 122.4 kB / 1.395 GB, free: 10.79 MB / 0.9011 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.457e-05/0.5442, allocations: 11.91 kB / 1.395 GB, free: 10.77 MB / 0.9011 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008183/0.5451, allocations: 282.4 kB / 1.396 GB, free: 10.49 MB / 0.9011 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.312e-06/0.5451, allocations: 4 kB / 1.396 GB, free: 10.49 MB / 0.9011 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.859e-06/0.5451, allocations: 0 / 1.396 GB, free: 10.49 MB / 0.9011 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.26e-06/0.5451, allocations: 3.984 kB / 1.396 GB, free: 10.48 MB / 0.9011 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001771/0.5469, allocations: 1.069 MB / 1.397 GB, free: 9.258 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.737e-06/0.5469, allocations: 4 kB / 1.397 GB, free: 9.254 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003086/0.5472, allocations: 47.95 kB / 1.397 GB, free: 9.207 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.564e-06/0.5472, allocations: 7.938 kB / 1.397 GB, free: 9.199 MB / 0.9011 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.292e-05/0.5473, allocations: 8 kB / 1.397 GB, free: 9.191 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.519e-06/0.5473, allocations: 4 kB / 1.397 GB, free: 9.188 MB / 0.9011 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.412e-06/0.5473, allocations: 0 / 1.397 GB, free: 9.188 MB / 0.9011 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007987/0.5481, allocations: 378.7 kB / 1.397 GB, free: 8.785 MB / 0.9011 GB Notification: Performance of postOpt removeConstants (simulation): time 5.855e-05/0.5482, allocations: 92.92 kB / 1.397 GB, free: 8.676 MB / 0.9011 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.481e-05/0.5482, allocations: 7.984 kB / 1.397 GB, free: 8.668 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003125/0.5485, allocations: 19.98 kB / 1.397 GB, free: 8.648 MB / 0.9011 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.413e-05/0.5486, allocations: 23.91 kB / 1.397 GB, free: 8.625 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.921e-05/0.5486, allocations: 8 kB / 1.397 GB, free: 8.617 MB / 0.9011 GB Notification: Performance of sorting global known variables: time 8.549e-05/0.5487, allocations: 117.5 kB / 1.397 GB, free: 8.504 MB / 0.9011 GB Notification: Performance of sort global known variables: time 2.31e-07/0.5487, allocations: 4 kB / 1.397 GB, free: 8.5 MB / 0.9011 GB Notification: Performance of remove unused functions: time 0.000523/0.5492, allocations: 139.8 kB / 1.397 GB, free: 8.363 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.0005799/0.5498, allocations: 238.9 kB / 1.398 GB, free: 8.117 MB / 0.9011 GB Notification: Performance of simCode: created initialization part: time 0.0007719/0.5506, allocations: 231.8 kB / 1.398 GB, free: 7.891 MB / 0.9011 GB Notification: Performance of simCode: created event and clocks part: time 2.735e-06/0.5506, allocations: 4.062 kB / 1.398 GB, free: 7.887 MB / 0.9011 GB Notification: Performance of simCode: created simulation system equations: time 0.0003471/0.551, allocations: 119.9 kB / 1.398 GB, free: 7.77 MB / 0.9011 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000298/0.5513, allocations: 40.05 kB / 1.398 GB, free: 7.73 MB / 0.9011 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002054/0.5533, allocations: 0.5286 MB / 1.399 GB, free: 7.172 MB / 0.9011 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002794/0.5536, allocations: 0.7167 MB / 1.399 GB, free: 6.43 MB / 0.9011 GB Notification: Performance of simCode: alias equations: time 0.0002074/0.5538, allocations: 29.48 kB / 1.399 GB, free: 6.402 MB / 0.9011 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.554e-05/0.5539, allocations: 27.36 kB / 1.399 GB, free: 6.379 MB / 0.9011 GB Notification: Performance of SimCode: time 4.2e-07/0.5539, allocations: 3.938 kB / 1.399 GB, free: 6.375 MB / 0.9011 GB Notification: Performance of Templates: time 0.008144/0.5621, allocations: 4.071 MB / 1.403 GB, free: 2.34 MB / 0.9011 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