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.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-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.001652/0.001652, allocations: 101.2 kB / 16.41 MB, free: 5.949 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.001757/0.001757, allocations: 193 kB / 17.34 MB, free: 5.578 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.421/1.421, allocations: 222.9 MB / 241 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.5/2.5, allocations: 437.1 MB / 0.7112 GB, free: 4.363 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001502/0.001502, allocations: 68.11 kB / 1.019 GB, free: 9.418 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9383/0.9398, allocations: 151.6 MB / 1.167 GB, free: 3.992 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor): time 0.003433/0.9433, allocations: 2.047 MB / 1.169 GB, free: 1.938 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.00249/0.9458, allocations: 1.675 MB / 1.171 GB, free: 260 kB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.924e-05/0.9459, allocations: 4 kB / 1.171 GB, free: 256 kB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 7.424e-05/0.946, allocations: 15.8 kB / 1.171 GB, free: 240 kB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.0001218/0.9461, allocations: 51.55 kB / 1.171 GB, free: 188 kB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.001081/0.9472, allocations: 354.8 kB / 1.171 GB, free: 15.84 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.0002465/0.9475, allocations: 239 kB / 1.172 GB, free: 15.6 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000157/0.9476, allocations: 49.53 kB / 1.172 GB, free: 15.55 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001074/0.9477, allocations: 83.81 kB / 1.172 GB, free: 15.47 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001436/0.9479, allocations: 91.67 kB / 1.172 GB, free: 15.38 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 3.505e-05/0.9479, allocations: 24 kB / 1.172 GB, free: 15.36 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007439/0.9487, allocations: 411.5 kB / 1.172 GB, free: 14.95 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 4.45e-05/0.9487, allocations: 47.83 kB / 1.172 GB, free: 14.91 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 8.907e-05/0.9488, allocations: 87.66 kB / 1.172 GB, free: 14.82 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.0005942/0.9494, allocations: 435.6 kB / 1.173 GB, free: 14.39 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 5.861e-06/0.9494, allocations: 0 / 1.173 GB, free: 14.39 MB / 0.9044 GB Notification: Performance of FrontEnd: time 1.663e-06/0.9495, allocations: 0 / 1.173 GB, free: 14.39 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 7.033e-06/0.9495, allocations: 0 / 1.173 GB, free: 14.39 MB / 0.9044 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.0009375/0.9504, allocations: 0.5334 MB / 1.173 GB, free: 13.81 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 4.455e-05/0.9505, allocations: 8.922 kB / 1.173 GB, free: 13.8 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001134/0.9516, allocations: 140.7 kB / 1.173 GB, free: 13.66 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001431/0.9518, allocations: 192.2 kB / 1.174 GB, free: 13.44 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.202e-05/0.9518, allocations: 42.27 kB / 1.174 GB, free: 13.39 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.927e-05/0.9519, allocations: 16.38 kB / 1.174 GB, free: 13.38 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005757/0.9525, allocations: 219.7 kB / 1.174 GB, free: 13.16 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.263e-05/0.9525, allocations: 3.938 kB / 1.174 GB, free: 13.15 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.878e-05/0.9525, allocations: 4 kB / 1.174 GB, free: 13.15 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.005e-06/0.9525, allocations: 4 kB / 1.174 GB, free: 13.14 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007217/0.9533, allocations: 240.2 kB / 1.174 GB, free: 12.91 MB / 0.9044 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001452/0.9547, allocations: 0.9702 MB / 1.175 GB, free: 11.82 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004819/0.9552, allocations: 182.6 kB / 1.175 GB, free: 11.63 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003402/0.9556, allocations: 108.8 kB / 1.175 GB, free: 11.52 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000647/0.9562, allocations: 0.522 MB / 1.176 GB, free: 10.89 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.364e-05/0.9563, allocations: 34.56 kB / 1.176 GB, free: 10.84 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=16): time 1.953e-06/0.9563, allocations: 0 / 1.176 GB, free: 10.84 MB / 0.9044 GB Notification: Performance of matching and sorting (n=16): time 0.001138/0.9574, allocations: 341.6 kB / 1.176 GB, free: 10.5 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.785e-05/0.9575, allocations: 51.41 kB / 1.176 GB, free: 10.44 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001471/0.9576, allocations: 160.7 kB / 1.176 GB, free: 10.28 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 2.883e-05/0.9577, allocations: 29.7 kB / 1.176 GB, free: 10.24 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 7.8e-05/0.9578, allocations: 124.2 kB / 1.177 GB, free: 10.11 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 4.365e-05/0.9578, allocations: 47.55 kB / 1.177 GB, free: 10.07 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.863e-05/0.9579, allocations: 45.69 kB / 1.177 GB, free: 10.02 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001221/0.958, allocations: 326.8 kB / 1.177 GB, free: 9.688 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003376/0.9584, allocations: 107.9 kB / 1.177 GB, free: 9.582 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003515/0.9587, allocations: 118.8 kB / 1.177 GB, free: 9.461 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006382/0.9594, allocations: 203.2 kB / 1.177 GB, free: 9.258 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.485e-06/0.9594, allocations: 0 / 1.177 GB, free: 9.258 MB / 0.9044 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0007778/0.9602, allocations: 275 kB / 1.178 GB, free: 8.984 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 2.033e-05/0.9602, allocations: 8 kB / 1.178 GB, free: 8.977 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.482e-06/0.9602, allocations: 4.031 kB / 1.178 GB, free: 8.973 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.627e-05/0.9602, allocations: 0 / 1.178 GB, free: 8.973 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003629/0.9606, allocations: 47.91 kB / 1.178 GB, free: 8.926 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.198e-06/0.9606, allocations: 3.984 kB / 1.178 GB, free: 8.922 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002838/0.9609, allocations: 35.88 kB / 1.178 GB, free: 8.887 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.942e-05/0.9609, allocations: 4 kB / 1.178 GB, free: 8.883 MB / 0.9044 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 (com.isOn,$PRE.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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001328/0.9611, allocations: 133.8 kB / 1.178 GB, free: 8.742 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.961e-05/0.9611, allocations: 19.84 kB / 1.178 GB, free: 8.723 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008338/0.962, allocations: 261.3 kB / 1.178 GB, free: 8.461 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.845e-06/0.962, allocations: 7.938 kB / 1.178 GB, free: 8.453 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.512e-06/0.962, allocations: 0 / 1.178 GB, free: 8.453 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.737e-06/0.962, allocations: 3.938 kB / 1.178 GB, free: 8.449 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001758/0.9638, allocations: 1.075 MB / 1.179 GB, free: 7.219 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.489e-06/0.9638, allocations: 3.938 kB / 1.179 GB, free: 7.215 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003118/0.9641, allocations: 47.95 kB / 1.179 GB, free: 7.168 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.199e-06/0.9641, allocations: 0 / 1.179 GB, free: 7.168 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.999e-05/0.9641, allocations: 4 kB / 1.179 GB, free: 7.164 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.104e-06/0.9642, allocations: 4.062 kB / 1.179 GB, free: 7.16 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.276e-06/0.9642, allocations: 0 / 1.179 GB, free: 7.16 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007628/0.9649, allocations: 349 kB / 1.18 GB, free: 6.797 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 5.74e-05/0.965, allocations: 96.98 kB / 1.18 GB, free: 6.684 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.847e-05/0.965, allocations: 4 kB / 1.18 GB, free: 6.68 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003159/0.9654, allocations: 27.97 kB / 1.18 GB, free: 6.652 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.362e-05/0.9654, allocations: 7.984 kB / 1.18 GB, free: 6.645 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.827e-05/0.9654, allocations: 11.94 kB / 1.18 GB, free: 6.633 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 8.56e-05/0.9655, allocations: 119.2 kB / 1.18 GB, free: 6.516 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.1e-07/0.9655, allocations: 0 / 1.18 GB, free: 6.516 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0005107/0.9661, allocations: 139.5 kB / 1.18 GB, free: 6.379 MB / 0.9044 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004366/0.9665, allocations: 234.6 kB / 1.18 GB, free: 6.141 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0007528/0.9673, allocations: 227.8 kB / 1.18 GB, free: 5.918 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 2.915e-06/0.9673, allocations: 0 / 1.18 GB, free: 5.918 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.0003341/0.9676, allocations: 120.1 kB / 1.18 GB, free: 5.801 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004711/0.9681, allocations: 47.98 kB / 1.181 GB, free: 5.758 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002141/0.9702, allocations: 0.494 MB / 1.181 GB, free: 5.227 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002655/0.9705, allocations: 0.7086 MB / 1.182 GB, free: 4.492 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001064/0.9706, allocations: 23.44 kB / 1.182 GB, free: 4.469 MB / 0.9044 GB Notification: Performance of SimCode: time 3.91e-07/0.9706, allocations: 4 kB / 1.182 GB, free: 4.465 MB / 0.9044 GB Notification: Performance of Templates: time 0.006687/0.9773, allocations: 4.154 MB / 1.186 GB, free: 344 kB / 0.9044 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/jenkins1/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