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.434/2.434, allocations: 387.1 MB / 399.7 MB, free: 9.492 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.001067/0.001067, allocations: 169 kB / 492.3 MB, free: 0.625 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.711/1.711, allocations: 221.3 MB / 0.7871 GB, free: 12.88 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.000912/0.0009119, allocations: 92.84 kB / 0.9267 GB, free: 13.95 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.282e-05/3.283e-05, allocations: 6.031 kB / 1.073 GB, free: 180.4 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3923/0.3924, allocations: 142.3 MB / 1.212 GB, free: 38.54 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.163/1.556, allocations: 155.9 MB / 1.365 GB, free: 19.08 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003253/1.556, allocations: 86.25 kB / 1.365 GB, free: 19.08 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.02367/1.58, allocations: 8.263 MB / 1.373 GB, free: 34.3 MB / 0.8386 GB Notification: Performance of FrontEnd: time 3.226e-06/1.58, allocations: 0 / 1.373 GB, free: 34.3 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 1.365e-05/1.58, allocations: 3.844 kB / 1.373 GB, free: 34.3 MB / 0.8386 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.001013/1.581, allocations: 496.7 kB / 1.373 GB, free: 33.88 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 5.804e-05/1.581, allocations: 11.53 kB / 1.373 GB, free: 33.88 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001056/1.582, allocations: 144.2 kB / 1.373 GB, free: 33.86 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001552/1.582, allocations: 185.3 kB / 1.374 GB, free: 33.65 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001028/1.582, allocations: 46.84 kB / 1.374 GB, free: 33.62 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.413e-05/1.582, allocations: 15.31 kB / 1.374 GB, free: 33.62 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003402/1.583, allocations: 186.2 kB / 1.374 GB, free: 33.58 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.075e-05/1.583, allocations: 4 kB / 1.374 GB, free: 33.57 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.962e-05/1.583, allocations: 7.688 kB / 1.374 GB, free: 33.57 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.734e-06/1.583, allocations: 7.906 kB / 1.374 GB, free: 33.57 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002864/1.583, allocations: 178.3 kB / 1.374 GB, free: 33.56 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001457/1.584, allocations: 0.9896 MB / 1.375 GB, free: 32.86 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002344/1.585, allocations: 143.4 kB / 1.375 GB, free: 32.83 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001289/1.585, allocations: 86.41 kB / 1.375 GB, free: 32.82 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007117/1.586, allocations: 0.5173 MB / 1.376 GB, free: 32.26 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.846e-05/1.586, allocations: 40.47 kB / 1.376 GB, free: 32.21 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=16): time 1.653e-06/1.586, allocations: 0 / 1.376 GB, free: 32.21 MB / 0.8386 GB Notification: Performance of matching and sorting (n=16): time 0.0004248/1.586, allocations: 172.3 kB / 1.376 GB, free: 32.18 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.808e-05/1.586, allocations: 59.31 kB / 1.376 GB, free: 32.11 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001279/1.586, allocations: 143.4 kB / 1.376 GB, free: 32.02 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 2.474e-05/1.586, allocations: 33.45 kB / 1.376 GB, free: 31.98 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 6.708e-05/1.586, allocations: 125.1 kB / 1.376 GB, free: 31.88 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 4.049e-05/1.586, allocations: 54.45 kB / 1.376 GB, free: 31.84 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.338e-05/1.586, allocations: 3.375 kB / 1.376 GB, free: 31.84 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001218/1.587, allocations: 323.5 kB / 1.377 GB, free: 31.53 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001147/1.587, allocations: 69.88 kB / 1.377 GB, free: 31.53 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001294/1.587, allocations: 91.72 kB / 1.377 GB, free: 31.51 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001233/1.587, allocations: 71.72 kB / 1.377 GB, free: 31.51 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.334e-06/1.587, allocations: 0 / 1.377 GB, free: 31.51 MB / 0.8386 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0003223/1.587, allocations: 215.5 kB / 1.377 GB, free: 31.46 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 2.264e-05/1.587, allocations: 8.25 kB / 1.377 GB, free: 31.46 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.783e-06/1.587, allocations: 0 / 1.377 GB, free: 31.46 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.795e-05/1.587, allocations: 7.766 kB / 1.377 GB, free: 31.46 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000346/1.588, allocations: 43.88 kB / 1.377 GB, free: 31.46 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.25e-05/1.588, allocations: 8.391 kB / 1.377 GB, free: 31.45 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002643/1.588, allocations: 35.88 kB / 1.377 GB, free: 31.44 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.043e-05/1.588, allocations: 14.05 kB / 1.377 GB, free: 31.44 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.148e-05/1.588, allocations: 108.1 kB / 1.377 GB, free: 31.33 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.959e-05/1.588, allocations: 11.59 kB / 1.377 GB, free: 31.33 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003814/1.589, allocations: 210.3 kB / 1.377 GB, free: 31.28 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.749e-06/1.589, allocations: 7.734 kB / 1.377 GB, free: 31.27 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.34e-06/1.589, allocations: 3.938 kB / 1.377 GB, free: 31.27 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.364e-06/1.589, allocations: 2.531 kB / 1.377 GB, free: 31.27 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001189/1.59, allocations: 1.017 MB / 1.378 GB, free: 30.46 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.186e-06/1.59, allocations: 4 kB / 1.378 GB, free: 30.45 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002966/1.59, allocations: 39.75 kB / 1.378 GB, free: 30.45 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.887e-06/1.59, allocations: 64 / 1.378 GB, free: 30.45 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.219e-05/1.59, allocations: 13.05 kB / 1.379 GB, free: 30.45 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.414e-06/1.59, allocations: 3.938 kB / 1.379 GB, free: 30.45 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.344e-06/1.59, allocations: 3.938 kB / 1.379 GB, free: 30.45 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003394/1.591, allocations: 310.5 kB / 1.379 GB, free: 30.25 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 4.369e-05/1.591, allocations: 99.31 kB / 1.379 GB, free: 30.15 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.618e-05/1.591, allocations: 6.547 kB / 1.379 GB, free: 30.15 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003051/1.591, allocations: 26.14 kB / 1.379 GB, free: 30.15 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.849e-05/1.591, allocations: 8.906 kB / 1.379 GB, free: 30.15 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.749e-05/1.591, allocations: 11.28 kB / 1.379 GB, free: 30.15 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 8.739e-05/1.591, allocations: 122.2 kB / 1.379 GB, free: 30.07 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.4e-07/1.591, allocations: 0 / 1.379 GB, free: 30.07 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0006844/1.592, allocations: 139.3 kB / 1.379 GB, free: 30.04 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.0004997/1.592, allocations: 241 kB / 1.379 GB, free: 29.91 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0003031/1.593, allocations: 170 kB / 1.38 GB, free: 29.91 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 2.785e-06/1.593, allocations: 0 / 1.38 GB, free: 29.91 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.000112/1.593, allocations: 95.47 kB / 1.38 GB, free: 29.9 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003029/1.593, allocations: 48.64 kB / 1.38 GB, free: 29.89 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001705/1.595, allocations: 333.8 kB / 1.38 GB, free: 29.77 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003895/1.595, allocations: 0.717 MB / 1.381 GB, free: 29.07 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 0.0001997/1.595, allocations: 33.11 kB / 1.381 GB, free: 29.06 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.243e-05/1.595, allocations: 20.83 kB / 1.381 GB, free: 29.05 MB / 0.8386 GB Notification: Performance of SimCode: time 3.6e-07/1.595, allocations: 0 / 1.381 GB, free: 29.05 MB / 0.8386 GB Notification: Performance of Templates: time 0.007609/1.603, allocations: 4.096 MB / 1.385 GB, free: 27.53 MB / 0.8386 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