Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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/Buildings 10.1.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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_10_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_10_Buildings.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009953/0.0009952, allocations: 84.38 kB / 15.06 MB, free: 1.09 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001284/0.001284, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.339/1.339, allocations: 223.3 MB / 240 MB, free: 5.418 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.556/2.556, allocations: 437.7 MB / 0.7117 GB, free: 7.082 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003306/0.0003308, allocations: 15.94 kB / 0.8722 GB, free: 3.695 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.546/0.5463, allocations: 153.8 MB / 1.022 GB, free: 36 kB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor): time 0.002102/0.5484, allocations: 1.711 MB / 1.024 GB, free: 14.32 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.002245/0.5507, allocations: 1.552 MB / 1.026 GB, free: 12.76 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.383e-05/0.5508, allocations: 7.938 kB / 1.026 GB, free: 12.75 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 3.503e-05/0.5508, allocations: 11.92 kB / 1.026 GB, free: 12.74 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0001074/0.551, allocations: 47.61 kB / 1.026 GB, free: 12.69 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007989/0.5518, allocations: 267.2 kB / 1.026 GB, free: 12.43 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0002026/0.552, allocations: 207.1 kB / 1.026 GB, free: 12.23 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001055/0.5521, allocations: 33.72 kB / 1.026 GB, free: 12.18 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 9.53e-05/0.5522, allocations: 79.77 kB / 1.026 GB, free: 12.11 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001202/0.5523, allocations: 79.67 kB / 1.026 GB, free: 12.03 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 2.394e-05/0.5524, allocations: 12 kB / 1.026 GB, free: 12.02 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007105/0.5531, allocations: 383.5 kB / 1.027 GB, free: 11.64 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 3.618e-05/0.5531, allocations: 35.84 kB / 1.027 GB, free: 11.61 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 4.483e-05/0.5532, allocations: 57.58 kB / 1.027 GB, free: 11.54 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0003781/0.5536, allocations: 321.2 kB / 1.027 GB, free: 11.23 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 4.018e-06/0.5536, allocations: 4 kB / 1.027 GB, free: 11.23 MB / 0.7794 GB Notification: Performance of FrontEnd: time 9.72e-07/0.5536, allocations: 0 / 1.027 GB, free: 11.23 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 3.787e-06/0.5536, allocations: 0 / 1.027 GB, free: 11.23 MB / 0.7794 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.0007236/0.5543, allocations: 0.495 MB / 1.028 GB, free: 10.68 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.206e-05/0.5544, allocations: 12.56 kB / 1.028 GB, free: 10.67 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001027/0.5554, allocations: 143.7 kB / 1.028 GB, free: 10.53 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000112/0.5555, allocations: 178.9 kB / 1.028 GB, free: 10.32 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.281e-05/0.5556, allocations: 49.69 kB / 1.028 GB, free: 10.26 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.207e-05/0.5556, allocations: 19.95 kB / 1.028 GB, free: 10.24 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005308/0.5562, allocations: 213.3 kB / 1.028 GB, free: 10.03 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.005e-06/0.5562, allocations: 0 / 1.028 GB, free: 10.03 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.81e-05/0.5562, allocations: 11.98 kB / 1.028 GB, free: 10.02 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.033e-06/0.5562, allocations: 4 kB / 1.028 GB, free: 10.01 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007/0.557, allocations: 239.8 kB / 1.028 GB, free: 9.777 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001331/0.5583, allocations: 0.97 MB / 1.029 GB, free: 8.688 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004603/0.5588, allocations: 178.7 kB / 1.029 GB, free: 8.504 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003288/0.5591, allocations: 116.7 kB / 1.03 GB, free: 8.387 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005963/0.5597, allocations: 0.5223 MB / 1.03 GB, free: 7.754 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.328e-05/0.5597, allocations: 30.56 kB / 1.03 GB, free: 7.715 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=16): time 1.533e-06/0.5598, allocations: 0 / 1.03 GB, free: 7.715 MB / 0.7794 GB Notification: Performance of matching and sorting (n=16): time 0.001044/0.5608, allocations: 339.5 kB / 1.03 GB, free: 7.379 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.916e-05/0.5608, allocations: 51.41 kB / 1.031 GB, free: 7.316 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001372/0.561, allocations: 160.1 kB / 1.031 GB, free: 7.152 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 2.821e-05/0.561, allocations: 33.64 kB / 1.031 GB, free: 7.113 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 6.998e-05/0.5611, allocations: 124.1 kB / 1.031 GB, free: 6.984 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 4.626e-05/0.5612, allocations: 55.19 kB / 1.031 GB, free: 6.93 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.588e-05/0.5612, allocations: 4 kB / 1.031 GB, free: 6.926 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 9.763e-05/0.5613, allocations: 326.8 kB / 1.031 GB, free: 6.598 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003276/0.5616, allocations: 112.2 kB / 1.031 GB, free: 6.488 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003227/0.562, allocations: 115.3 kB / 1.031 GB, free: 6.371 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003176/0.5623, allocations: 100.3 kB / 1.031 GB, free: 6.277 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.974e-06/0.5623, allocations: 0 / 1.031 GB, free: 6.277 MB / 0.7794 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0007456/0.563, allocations: 274.9 kB / 1.032 GB, free: 6.004 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.542e-05/0.5631, allocations: 7.938 kB / 1.032 GB, free: 5.996 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.702e-06/0.5631, allocations: 4 kB / 1.032 GB, free: 5.992 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.035e-05/0.5631, allocations: 3.938 kB / 1.032 GB, free: 5.988 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000345/0.5634, allocations: 51.95 kB / 1.032 GB, free: 5.938 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.596e-06/0.5635, allocations: 4 kB / 1.032 GB, free: 5.934 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002583/0.5637, allocations: 27.83 kB / 1.032 GB, free: 5.906 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.544e-05/0.5638, allocations: 15.98 kB / 1.032 GB, free: 5.891 MB / 0.7794 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.0001298/0.5639, allocations: 125.7 kB / 1.032 GB, free: 5.758 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.029e-05/0.564, allocations: 15.81 kB / 1.032 GB, free: 5.742 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007987/0.5648, allocations: 266.7 kB / 1.032 GB, free: 5.477 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.361e-06/0.5648, allocations: 4 kB / 1.032 GB, free: 5.473 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.819e-06/0.5648, allocations: 0 / 1.032 GB, free: 5.473 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.097e-06/0.5648, allocations: 0 / 1.032 GB, free: 5.473 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001764/0.5666, allocations: 1.077 MB / 1.033 GB, free: 4.234 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.147e-06/0.5666, allocations: 3.984 kB / 1.033 GB, free: 4.23 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003197/0.5669, allocations: 48.03 kB / 1.033 GB, free: 4.184 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.461e-06/0.5669, allocations: 0 / 1.033 GB, free: 4.184 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.05e-05/0.5669, allocations: 4 kB / 1.033 GB, free: 4.18 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.876e-06/0.567, allocations: 0 / 1.033 GB, free: 4.18 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.302e-06/0.567, allocations: 0 / 1.033 GB, free: 4.18 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007572/0.5677, allocations: 364.9 kB / 1.034 GB, free: 3.801 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 5.857e-05/0.5678, allocations: 100.9 kB / 1.034 GB, free: 3.684 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.887e-05/0.5678, allocations: 4 kB / 1.034 GB, free: 3.68 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002996/0.5681, allocations: 27.91 kB / 1.034 GB, free: 3.652 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.521e-05/0.5682, allocations: 15.98 kB / 1.034 GB, free: 3.637 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.031e-05/0.5682, allocations: 11.95 kB / 1.034 GB, free: 3.625 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 9.119e-05/0.5683, allocations: 121.7 kB / 1.034 GB, free: 3.508 MB / 0.7794 GB Notification: Performance of sort global known variables: time 2.1e-07/0.5683, allocations: 0 / 1.034 GB, free: 3.508 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0004714/0.5688, allocations: 127.9 kB / 1.034 GB, free: 3.383 MB / 0.7794 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.0004562/0.5693, allocations: 234.9 kB / 1.034 GB, free: 3.145 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0007508/0.57, allocations: 232.9 kB / 1.035 GB, free: 2.918 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 3.156e-06/0.57, allocations: 0 / 1.035 GB, free: 2.918 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0003391/0.5704, allocations: 115.9 kB / 1.035 GB, free: 2.805 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004524/0.5708, allocations: 50 kB / 1.035 GB, free: 2.758 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001886/0.5727, allocations: 0.5363 MB / 1.035 GB, free: 2.188 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002653/0.573, allocations: 0.7128 MB / 1.036 GB, free: 1.449 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 0.0002266/0.5733, allocations: 33.36 kB / 1.036 GB, free: 1.422 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.727e-05/0.5733, allocations: 23.42 kB / 1.036 GB, free: 1.398 MB / 0.7794 GB Notification: Performance of SimCode: time 5.41e-07/0.5734, allocations: 0 / 1.036 GB, free: 1.398 MB / 0.7794 GB Notification: Performance of Templates: time 0.008098/0.5815, allocations: 4.294 MB / 1.04 GB, free: 13.14 MB / 0.795 GB make -j1 -f Buildings_10_Buildings.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor.makefile (rm -f Buildings_10_Buildings.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor.pipe ; mkfifo Buildings_10_Buildings.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor.pipe >> ../files/Buildings_10_Buildings.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor.sim & ./Buildings_10_Buildings.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_HeatPumps_Compressors_Validation_ScrollCompressor.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches