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") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.53/2.53, allocations: 390.3 MB / 405.3 MB, free: 13.5 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.001934/0.001933, allocations: 177.1 kB / 498.1 MB, free: 5.746 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.652/1.652, allocations: 223.2 MB / 0.7949 GB, free: 18.87 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.001093/0.001093, allocations: 92.28 kB / 0.9346 GB, free: 7.168 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003555/0.0003556, allocations: 10.34 kB / 1.084 GB, free: 212.7 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3018/0.3021, allocations: 142.4 MB / 1.223 GB, free: 89.58 MB / 0.8073 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.21/0.5122, allocations: 155.9 MB / 1.375 GB, free: 13.45 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002583/0.5125, allocations: 83.95 kB / 1.375 GB, free: 13.36 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 0.02549/0.538, allocations: 8.283 MB / 1.383 GB, free: 5.059 MB / 0.8855 GB Notification: Performance of FrontEnd: time 6.111e-06/0.5381, allocations: 4 kB / 1.383 GB, free: 5.055 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 1.643e-05/0.5381, allocations: 0 / 1.383 GB, free: 5.055 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.001419/0.5396, allocations: 0.5031 MB / 1.384 GB, free: 4.504 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 6.243e-05/0.5396, allocations: 8.031 kB / 1.384 GB, free: 4.496 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001199/0.5408, allocations: 147.6 kB / 1.384 GB, free: 4.352 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002477/0.5411, allocations: 182.8 kB / 1.384 GB, free: 4.133 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001542/0.5413, allocations: 49.69 kB / 1.384 GB, free: 4.078 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.943e-05/0.5413, allocations: 12 kB / 1.384 GB, free: 4.066 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006764/0.542, allocations: 221.3 kB / 1.384 GB, free: 3.844 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.44e-05/0.5421, allocations: 0 / 1.384 GB, free: 3.844 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.295e-05/0.5421, allocations: 8 kB / 1.384 GB, free: 3.836 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.233e-05/0.5421, allocations: 11.94 kB / 1.384 GB, free: 3.824 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000758/0.5429, allocations: 231.9 kB / 1.385 GB, free: 3.598 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00195/0.5448, allocations: 0.9898 MB / 1.386 GB, free: 2.477 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005103/0.5454, allocations: 170.7 kB / 1.386 GB, free: 2.301 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008716/0.5463, allocations: 0.522 MB / 1.386 GB, free: 1.668 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.859e-05/0.5463, allocations: 42.8 kB / 1.386 GB, free: 1.617 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=16): time 3.005e-06/0.5463, allocations: 0 / 1.386 GB, free: 1.617 MB / 0.8855 GB Notification: Performance of matching and sorting (n=16): time 0.001245/0.5476, allocations: 343.8 kB / 1.387 GB, free: 1.277 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.363e-05/0.5477, allocations: 55.41 kB / 1.387 GB, free: 1.211 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001978/0.5479, allocations: 139.9 kB / 1.387 GB, free: 1.07 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 4.182e-05/0.5479, allocations: 29.7 kB / 1.387 GB, free: 1.035 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.000152/0.5481, allocations: 132 kB / 1.387 GB, free: 0.8984 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 7.155e-05/0.5482, allocations: 59.19 kB / 1.387 GB, free: 0.8398 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.564e-05/0.5482, allocations: 4 kB / 1.387 GB, free: 0.8359 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.000184/0.5484, allocations: 322.8 kB / 1.387 GB, free: 0.5117 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003709/0.5487, allocations: 108.2 kB / 1.387 GB, free: 412 kB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003634/0.5491, allocations: 119.7 kB / 1.388 GB, free: 288 kB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003474/0.5495, allocations: 97.45 kB / 1.388 GB, free: 192 kB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.248e-06/0.5495, allocations: 3.938 kB / 1.388 GB, free: 188 kB / 0.8855 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0008629/0.5504, allocations: 276.5 kB / 1.388 GB, free: 15.91 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 2.67e-05/0.5504, allocations: 4 kB / 1.388 GB, free: 15.91 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.248e-05/0.5504, allocations: 7.938 kB / 1.388 GB, free: 15.9 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.537e-05/0.5505, allocations: 4 kB / 1.388 GB, free: 15.89 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00037/0.5508, allocations: 51.89 kB / 1.388 GB, free: 15.84 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.037e-06/0.5509, allocations: 0 / 1.388 GB, free: 15.84 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003202/0.5512, allocations: 43.72 kB / 1.388 GB, free: 15.8 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.425e-05/0.5512, allocations: 4 kB / 1.388 GB, free: 15.8 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.0002669/0.5515, allocations: 129.8 kB / 1.388 GB, free: 15.66 MB / 0.9011 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.664e-05/0.5516, allocations: 11.91 kB / 1.388 GB, free: 15.65 MB / 0.9011 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009253/0.5525, allocations: 270.5 kB / 1.388 GB, free: 15.38 MB / 0.9011 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.482e-06/0.5525, allocations: 0 / 1.388 GB, free: 15.38 MB / 0.9011 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.472e-05/0.5525, allocations: 4 kB / 1.388 GB, free: 15.38 MB / 0.9011 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.432e-06/0.5525, allocations: 0 / 1.388 GB, free: 15.38 MB / 0.9011 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002137/0.5547, allocations: 1.066 MB / 1.389 GB, free: 14.16 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.158e-06/0.5547, allocations: 0 / 1.389 GB, free: 14.16 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003322/0.5551, allocations: 55.95 kB / 1.39 GB, free: 14.1 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.167e-05/0.5551, allocations: 4 kB / 1.39 GB, free: 14.1 MB / 0.9011 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.578e-05/0.5551, allocations: 0 / 1.39 GB, free: 14.1 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.068e-06/0.5551, allocations: 0 / 1.39 GB, free: 14.1 MB / 0.9011 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.554e-06/0.5551, allocations: 4 kB / 1.39 GB, free: 14.09 MB / 0.9011 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009494/0.5561, allocations: 378.6 kB / 1.39 GB, free: 13.69 MB / 0.9011 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001193/0.5562, allocations: 92.91 kB / 1.39 GB, free: 13.58 MB / 0.9011 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.436e-05/0.5563, allocations: 11.98 kB / 1.39 GB, free: 13.57 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003315/0.5566, allocations: 23.97 kB / 1.39 GB, free: 13.55 MB / 0.9011 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.774e-05/0.5567, allocations: 23.91 kB / 1.39 GB, free: 13.52 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.097e-05/0.5567, allocations: 4 kB / 1.39 GB, free: 13.52 MB / 0.9011 GB Notification: Performance of sorting global known variables: time 0.0001114/0.5569, allocations: 117.5 kB / 1.39 GB, free: 13.41 MB / 0.9011 GB Notification: Performance of sort global known variables: time 1.3e-07/0.5569, allocations: 0 / 1.39 GB, free: 13.41 MB / 0.9011 GB Notification: Performance of remove unused functions: time 0.000778/0.5577, allocations: 147.8 kB / 1.39 GB, free: 13.26 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.0009209/0.5586, allocations: 238.7 kB / 1.391 GB, free: 13.02 MB / 0.9011 GB Notification: Performance of simCode: created initialization part: time 0.0008706/0.5595, allocations: 236.7 kB / 1.391 GB, free: 12.79 MB / 0.9011 GB Notification: Performance of simCode: created event and clocks part: time 5.29e-06/0.5595, allocations: 4.062 kB / 1.391 GB, free: 12.78 MB / 0.9011 GB Notification: Performance of simCode: created simulation system equations: time 0.0003532/0.5598, allocations: 111.9 kB / 1.391 GB, free: 12.67 MB / 0.9011 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003985/0.5603, allocations: 44.03 kB / 1.391 GB, free: 12.63 MB / 0.9011 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002172/0.5624, allocations: 0.5286 MB / 1.391 GB, free: 12.07 MB / 0.9011 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003138/0.5628, allocations: 0.7206 MB / 1.392 GB, free: 11.32 MB / 0.9011 GB Notification: Performance of simCode: alias equations: time 0.0002315/0.563, allocations: 29.48 kB / 1.392 GB, free: 11.29 MB / 0.9011 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.808e-05/0.5631, allocations: 23.44 kB / 1.392 GB, free: 11.27 MB / 0.9011 GB Notification: Performance of SimCode: time 6.41e-07/0.5631, allocations: 0 / 1.392 GB, free: 11.27 MB / 0.9011 GB Notification: Performance of Templates: time 0.008974/0.5721, allocations: 4.081 MB / 1.396 GB, free: 7.227 MB / 0.9011 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