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.095/2.095, allocations: 387.4 MB / 394.9 MB, free: 13.34 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.0009877/0.0009878, allocations: 180.8 kB / 487.4 MB, free: 5.047 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.439/1.439, allocations: 221.5 MB / 0.7824 GB, free: 1.016 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008982/0.0008982, allocations: 99.84 kB / 0.9219 GB, free: 2.246 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 2.416e-05/2.425e-05, allocations: 4 kB / 1.067 GB, free: 185.7 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3/0.3, allocations: 142.4 MB / 1.206 GB, free: 43.97 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8868/1.187, allocations: 155.2 MB / 1.358 GB, free: 18.24 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002132/1.187, allocations: 92.52 kB / 1.358 GB, free: 18.24 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.02161/1.209, allocations: 8.237 MB / 1.366 GB, free: 33.47 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.122e-06/1.209, allocations: 0 / 1.366 GB, free: 33.47 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 1.033e-05/1.209, allocations: 3.875 kB / 1.366 GB, free: 33.47 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.0008579/1.21, allocations: 495.1 kB / 1.366 GB, free: 33.05 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.177e-05/1.21, allocations: 7.719 kB / 1.366 GB, free: 33.05 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001051/1.211, allocations: 144.8 kB / 1.366 GB, free: 33.03 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001138/1.211, allocations: 178.8 kB / 1.366 GB, free: 32.82 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.647e-05/1.211, allocations: 46.27 kB / 1.366 GB, free: 32.79 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.642e-05/1.211, allocations: 7.906 kB / 1.366 GB, free: 32.79 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002775/1.211, allocations: 166.8 kB / 1.367 GB, free: 32.79 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002857/1.212, allocations: 165.8 kB / 1.367 GB, free: 32.75 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.37e-05/1.212, allocations: 0 / 1.367 GB, free: 32.75 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.694e-05/1.212, allocations: 0 / 1.367 GB, free: 32.75 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.914e-06/1.212, allocations: 3.812 kB / 1.367 GB, free: 32.75 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001414/1.213, allocations: 0.9332 MB / 1.368 GB, free: 32.09 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002027/1.213, allocations: 138.6 kB / 1.368 GB, free: 32.06 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001079/1.213, allocations: 78.36 kB / 1.368 GB, free: 32.05 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000571/1.214, allocations: 0.5156 MB / 1.368 GB, free: 31.49 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.012e-05/1.214, allocations: 37.81 kB / 1.368 GB, free: 31.45 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=16): time 1.432e-06/1.214, allocations: 0 / 1.368 GB, free: 31.45 MB / 0.8386 GB Notification: Performance of matching and sorting (n=16): time 0.001257/1.215, allocations: 300.7 kB / 1.369 GB, free: 31.39 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.956e-05/1.215, allocations: 55.28 kB / 1.369 GB, free: 31.33 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.794e-05/1.215, allocations: 115.5 kB / 1.369 GB, free: 31.23 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 2.217e-05/1.215, allocations: 29.64 kB / 1.369 GB, free: 31.2 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 7.726e-05/1.216, allocations: 127.1 kB / 1.369 GB, free: 31.09 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 3.697e-05/1.216, allocations: 51.39 kB / 1.369 GB, free: 31.06 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.403e-05/1.216, allocations: 0 / 1.369 GB, free: 31.06 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001161/1.216, allocations: 324.6 kB / 1.369 GB, free: 30.74 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001002/1.216, allocations: 69.25 kB / 1.369 GB, free: 30.74 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000109/1.216, allocations: 89 kB / 1.37 GB, free: 30.72 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00104/1.217, allocations: 174.5 kB / 1.37 GB, free: 30.72 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.474e-06/1.217, allocations: 7.906 kB / 1.37 GB, free: 30.71 MB / 0.8386 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.001147/1.218, allocations: 317.7 kB / 1.37 GB, free: 30.67 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.787e-05/1.218, allocations: 3.656 kB / 1.37 GB, free: 30.67 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.254e-06/1.218, allocations: 0 / 1.37 GB, free: 30.67 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.698e-05/1.218, allocations: 3.844 kB / 1.37 GB, free: 30.67 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003437/1.219, allocations: 54.38 kB / 1.37 GB, free: 30.66 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.066e-05/1.219, allocations: 11.61 kB / 1.37 GB, free: 30.65 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002553/1.219, allocations: 29.08 kB / 1.37 GB, free: 30.64 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.831e-05/1.219, allocations: 6.672 kB / 1.37 GB, free: 30.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.257e-05/1.219, allocations: 108.4 kB / 1.37 GB, free: 30.54 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.595e-05/1.219, allocations: 10.78 kB / 1.37 GB, free: 30.53 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001198/1.22, allocations: 314.4 kB / 1.371 GB, free: 30.47 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.608e-06/1.22, allocations: 3.906 kB / 1.371 GB, free: 30.47 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.172e-06/1.22, allocations: 0 / 1.371 GB, free: 30.47 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.081e-06/1.22, allocations: 3.953 kB / 1.371 GB, free: 30.47 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001969/1.222, allocations: 1.074 MB / 1.372 GB, free: 29.69 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.514e-06/1.222, allocations: 0 / 1.372 GB, free: 29.69 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002979/1.223, allocations: 47.06 kB / 1.372 GB, free: 29.69 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.369e-06/1.223, allocations: 0 / 1.372 GB, free: 29.69 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.781e-05/1.223, allocations: 14.28 kB / 1.372 GB, free: 29.68 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.086e-06/1.223, allocations: 0 / 1.372 GB, free: 29.68 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.968e-06/1.223, allocations: 3.812 kB / 1.372 GB, free: 29.68 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001157/1.224, allocations: 410.1 kB / 1.372 GB, free: 29.48 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 4.508e-05/1.224, allocations: 91.58 kB / 1.372 GB, free: 29.38 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.433e-05/1.224, allocations: 3.875 kB / 1.372 GB, free: 29.38 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003006/1.224, allocations: 24.66 kB / 1.372 GB, free: 29.38 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.64e-05/1.224, allocations: 16.17 kB / 1.372 GB, free: 29.38 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.617e-05/1.224, allocations: 3.875 kB / 1.372 GB, free: 29.38 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 7.369e-05/1.224, allocations: 101.2 kB / 1.372 GB, free: 29.3 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.032e-06/1.224, allocations: 0 / 1.372 GB, free: 29.3 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0005585/1.225, allocations: 138.3 kB / 1.372 GB, free: 29.27 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.0004429/1.225, allocations: 234 kB / 1.373 GB, free: 29.15 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0002934/1.226, allocations: 168.7 kB / 1.373 GB, free: 29.14 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 2.615e-06/1.226, allocations: 0 / 1.373 GB, free: 29.14 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.0001015/1.226, allocations: 91.58 kB / 1.373 GB, free: 29.12 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002745/1.226, allocations: 27.42 kB / 1.373 GB, free: 29.12 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001586/1.228, allocations: 328.5 kB / 1.373 GB, free: 29 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002914/1.228, allocations: 0.714 MB / 1.374 GB, free: 28.3 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 0.0001948/1.228, allocations: 25.48 kB / 1.374 GB, free: 28.29 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.144e-05/1.228, allocations: 21.95 kB / 1.374 GB, free: 28.29 MB / 0.8386 GB Notification: Performance of SimCode: time 2.4e-07/1.228, allocations: 0 / 1.374 GB, free: 28.29 MB / 0.8386 GB Notification: Performance of Templates: time 0.006056/1.234, allocations: 3.534 MB / 1.377 GB, free: 27.98 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