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/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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001378/0.001378, allocations: 108.3 kB / 16.41 MB, free: 6.406 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.001461/0.001461, allocations: 191.4 kB / 17.34 MB, free: 5.695 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.376/1.376, 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 9.1.3-maint.9.1.x/package.mo): time 2.28/2.28, allocations: 390.3 MB / 0.6655 GB, free: 0.6523 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001559/0.001559, allocations: 63.89 kB / 0.9515 GB, free: 7.691 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8494/0.851, allocations: 140.4 MB / 1.089 GB, free: 5.543 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor): time 0.003275/0.8543, allocations: 2.042 MB / 1.091 GB, free: 4.117 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.002328/0.8567, allocations: 1.665 MB / 1.092 GB, free: 2.938 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.246e-05/0.8568, allocations: 2.531 kB / 1.092 GB, free: 2.938 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 6.267e-05/0.8569, allocations: 19.36 kB / 1.092 GB, free: 2.926 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0001229/0.8571, allocations: 48.94 kB / 1.092 GB, free: 2.891 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.001187/0.8582, allocations: 363.9 kB / 1.093 GB, free: 2.707 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0002929/0.8585, allocations: 227.1 kB / 1.093 GB, free: 2.598 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001769/0.8587, allocations: 58.64 kB / 1.093 GB, free: 2.562 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001264/0.8589, allocations: 79.16 kB / 1.093 GB, free: 2.531 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001763/0.859, allocations: 94.27 kB / 1.093 GB, free: 2.488 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 3.765e-05/0.8591, allocations: 19.22 kB / 1.093 GB, free: 2.488 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009693/0.8601, allocations: 415.4 kB / 1.093 GB, free: 2.363 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 5.556e-05/0.8601, allocations: 47.98 kB / 1.094 GB, free: 2.332 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 9.897e-05/0.8602, allocations: 90.17 kB / 1.094 GB, free: 2.281 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0007284/0.861, allocations: 436.4 kB / 1.094 GB, free: 2.141 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 5.451e-06/0.861, allocations: 0.5156 kB / 1.094 GB, free: 2.141 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.994e-06/0.861, allocations: 1.094 kB / 1.094 GB, free: 2.141 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 8.276e-06/0.861, allocations: 0 / 1.094 GB, free: 2.141 MB / 0.8575 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.0008513/0.8619, allocations: 0.5295 MB / 1.095 GB, free: 1.668 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.925e-05/0.8619, allocations: 9.219 kB / 1.095 GB, free: 1.668 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001159/0.8631, allocations: 137.6 kB / 1.095 GB, free: 1.652 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001007/0.8632, allocations: 182.2 kB / 1.095 GB, free: 1.441 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.794e-05/0.8633, allocations: 54.16 kB / 1.095 GB, free: 1.398 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.74e-05/0.8633, allocations: 14.91 kB / 1.095 GB, free: 1.395 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006237/0.864, allocations: 214.5 kB / 1.095 GB, free: 1.305 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.177e-05/0.864, allocations: 3.938 kB / 1.095 GB, free: 1.301 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.847e-05/0.864, allocations: 6.422 kB / 1.095 GB, free: 1.297 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.945e-06/0.864, allocations: 3.875 kB / 1.095 GB, free: 1.297 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007637/0.8648, allocations: 236.5 kB / 1.095 GB, free: 1.227 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001431/0.8662, allocations: 0.9595 MB / 1.096 GB, free: 408 kB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004917/0.8667, allocations: 181.3 kB / 1.096 GB, free: 320 kB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003603/0.8671, allocations: 120.3 kB / 1.097 GB, free: 268 kB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006768/0.8678, allocations: 0.524 MB / 1.097 GB, free: 15.69 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.489e-05/0.8678, allocations: 32.95 kB / 1.097 GB, free: 15.65 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=16): time 2.475e-06/0.8678, allocations: 0 / 1.097 GB, free: 15.65 MB / 0.8731 GB Notification: Performance of matching and sorting (n=16): time 0.001267/0.8691, allocations: 333.4 kB / 1.097 GB, free: 15.52 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.828e-05/0.8692, allocations: 53.12 kB / 1.098 GB, free: 15.45 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001704/0.8694, allocations: 161.8 kB / 1.098 GB, free: 15.33 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 3.679e-05/0.8694, allocations: 34.61 kB / 1.098 GB, free: 15.29 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 8.285e-05/0.8695, allocations: 115.3 kB / 1.098 GB, free: 15.18 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 5.546e-05/0.8695, allocations: 59.52 kB / 1.098 GB, free: 15.14 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.713e-05/0.8696, allocations: 40 kB / 1.098 GB, free: 15.11 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001297/0.8698, allocations: 321.9 kB / 1.098 GB, free: 14.79 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000387/0.8702, allocations: 112.1 kB / 1.098 GB, free: 14.75 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003813/0.8706, allocations: 122.5 kB / 1.098 GB, free: 14.7 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006858/0.8713, allocations: 197.8 kB / 1.099 GB, free: 14.62 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.505e-06/0.8713, allocations: 0 / 1.099 GB, free: 14.62 MB / 0.8731 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0008567/0.8721, allocations: 276.3 kB / 1.099 GB, free: 14.5 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 2.291e-05/0.8722, allocations: 6.266 kB / 1.099 GB, free: 14.5 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.334e-06/0.8722, allocations: 1.312 kB / 1.099 GB, free: 14.5 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.664e-05/0.8722, allocations: 5.312 kB / 1.099 GB, free: 14.5 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003939/0.8726, allocations: 54.34 kB / 1.099 GB, free: 14.49 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.196e-06/0.8726, allocations: 1.188 kB / 1.099 GB, free: 14.49 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003182/0.8729, allocations: 36.84 kB / 1.099 GB, free: 14.47 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.531e-05/0.873, allocations: 9.844 kB / 1.099 GB, free: 14.47 MB / 0.8731 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.0001327/0.8731, allocations: 121.2 kB / 1.099 GB, free: 14.35 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.542e-05/0.8732, allocations: 15.53 kB / 1.099 GB, free: 14.34 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008872/0.8741, allocations: 269.3 kB / 1.099 GB, free: 14.22 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.863e-06/0.8741, allocations: 6.094 kB / 1.099 GB, free: 14.22 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.629e-06/0.8741, allocations: 0 / 1.099 GB, free: 14.22 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.22e-06/0.8741, allocations: 1.453 kB / 1.099 GB, free: 14.22 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00197/0.8761, allocations: 1.062 MB / 1.1 GB, free: 13.29 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.043e-06/0.8761, allocations: 9 kB / 1.1 GB, free: 13.28 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003284/0.8764, allocations: 43.19 kB / 1.1 GB, free: 13.28 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.873e-06/0.8765, allocations: 1.062 kB / 1.1 GB, free: 13.28 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.134e-05/0.8765, allocations: 11.22 kB / 1.1 GB, free: 13.27 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.05e-06/0.8765, allocations: 6.344 kB / 1.101 GB, free: 13.27 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.876e-06/0.8765, allocations: 1.594 kB / 1.101 GB, free: 13.27 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000828/0.8773, allocations: 348.4 kB / 1.101 GB, free: 13.05 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 6.17e-05/0.8774, allocations: 93.45 kB / 1.101 GB, free: 12.94 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.24e-05/0.8775, allocations: 7.156 kB / 1.101 GB, free: 12.94 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003219/0.8778, allocations: 24.31 kB / 1.101 GB, free: 12.93 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.043e-05/0.8778, allocations: 18.03 kB / 1.101 GB, free: 12.93 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.025e-05/0.8779, allocations: 5.797 kB / 1.101 GB, free: 12.93 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0001066/0.878, allocations: 119.2 kB / 1.101 GB, free: 12.84 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.1e-07/0.878, allocations: 0.75 kB / 1.101 GB, free: 12.84 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0006317/0.8786, allocations: 133.8 kB / 1.101 GB, free: 12.8 MB / 0.8731 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.0004859/0.8791, allocations: 228.9 kB / 1.101 GB, free: 12.68 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.0008613/0.88, allocations: 227.3 kB / 1.102 GB, free: 12.61 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 2.985e-06/0.88, allocations: 0 / 1.102 GB, free: 12.61 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0003841/0.8804, allocations: 113.1 kB / 1.102 GB, free: 12.57 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004751/0.8809, allocations: 47.44 kB / 1.102 GB, free: 12.55 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00235/0.8832, allocations: 0.5062 MB / 1.102 GB, free: 12.28 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000377/0.8836, allocations: 0.7092 MB / 1.103 GB, free: 11.58 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000128/0.8838, allocations: 23.17 kB / 1.103 GB, free: 11.57 MB / 0.8731 GB Notification: Performance of SimCode: time 1.683e-06/0.8838, allocations: 4 kB / 1.103 GB, free: 11.57 MB / 0.8731 GB Notification: Performance of Templates: time 0.009371/0.8931, allocations: 4.151 MB / 1.107 GB, free: 11.14 MB / 0.8731 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","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches