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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.0008271/0.0008271, allocations: 92.31 kB / 15.06 MB, free: 1.098 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.0009328/0.0009328, allocations: 172.7 kB / 15.95 MB, free: 208 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.331/1.331, allocations: 223.3 MB / 240 MB, free: 5.434 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.35/2.35, allocations: 390.9 MB / 0.666 GB, free: 2.48 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003337/0.0003338, allocations: 8 kB / 0.8153 GB, free: 13.67 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.65/0.6503, allocations: 142.4 MB / 0.9544 GB, free: 7.797 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor): time 0.001828/0.6522, allocations: 1.689 MB / 0.9561 GB, free: 6.465 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001864/0.6541, allocations: 1.566 MB / 0.9576 GB, free: 5.211 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.925e-05/0.6542, allocations: 1.188 kB / 0.9576 GB, free: 5.211 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 3.793e-05/0.6542, allocations: 14.38 kB / 0.9576 GB, free: 5.199 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 9.801e-05/0.6543, allocations: 45.33 kB / 0.9577 GB, free: 5.16 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006634/0.655, allocations: 271.4 kB / 0.9579 GB, free: 4.965 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0001904/0.6552, allocations: 204.9 kB / 0.9581 GB, free: 4.848 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001142/0.6553, allocations: 38.2 kB / 0.9582 GB, free: 4.82 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 8.899e-05/0.6554, allocations: 77.92 kB / 0.9582 GB, free: 4.781 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001313/0.6555, allocations: 80.64 kB / 0.9583 GB, free: 4.73 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.72e-05/0.6556, allocations: 10.78 kB / 0.9583 GB, free: 4.73 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006651/0.6562, allocations: 389.5 kB / 0.9587 GB, free: 4.551 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 3.058e-05/0.6563, allocations: 33.56 kB / 0.9587 GB, free: 4.523 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 3.787e-05/0.6563, allocations: 56.36 kB / 0.9588 GB, free: 4.48 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0003198/0.6567, allocations: 314 kB / 0.9591 GB, free: 4.297 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.657e-06/0.6567, allocations: 0 / 0.9591 GB, free: 4.297 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.613e-06/0.6567, allocations: 0 / 0.9591 GB, free: 4.297 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 3.697e-06/0.6567, allocations: 1.375 kB / 0.9591 GB, free: 4.297 MB / 0.7169 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.0006304/0.6573, allocations: 0.4971 MB / 0.9596 GB, free: 3.824 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.068e-05/0.6574, allocations: 8.25 kB / 0.9596 GB, free: 3.824 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009481/0.6583, allocations: 153 kB / 0.9597 GB, free: 3.762 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001085/0.6584, allocations: 175 kB / 0.9599 GB, free: 3.555 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.441e-05/0.6585, allocations: 51.44 kB / 0.9599 GB, free: 3.512 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.775e-05/0.6585, allocations: 17.62 kB / 0.9599 GB, free: 3.504 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004798/0.659, allocations: 215.4 kB / 0.9602 GB, free: 3.371 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.716e-06/0.659, allocations: 0 / 0.9602 GB, free: 3.371 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.49e-05/0.6591, allocations: 5.125 kB / 0.9602 GB, free: 3.367 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.292e-06/0.6591, allocations: 8.5 kB / 0.9602 GB, free: 3.363 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006507/0.6597, allocations: 244.4 kB / 0.9604 GB, free: 3.25 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001127/0.6609, allocations: 0.964 MB / 0.9613 GB, free: 2.297 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004175/0.6613, allocations: 195.1 kB / 0.9615 GB, free: 2.18 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002928/0.6616, allocations: 108.8 kB / 0.9616 GB, free: 2.125 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004599/0.6621, allocations: 0.5207 MB / 0.9621 GB, free: 1.531 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.599e-05/0.6621, allocations: 35.67 kB / 0.9622 GB, free: 1.488 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=16): time 1.543e-06/0.6621, allocations: 0 / 0.9622 GB, free: 1.488 MB / 0.7169 GB Notification: Performance of matching and sorting (n=16): time 0.001014/0.6631, allocations: 339.9 kB / 0.9625 GB, free: 1.312 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.224e-05/0.6632, allocations: 53.53 kB / 0.9626 GB, free: 1.25 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000112/0.6633, allocations: 161.3 kB / 0.9627 GB, free: 1.117 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 2.017e-05/0.6633, allocations: 28.2 kB / 0.9627 GB, free: 1.086 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 5.371e-05/0.6634, allocations: 125.1 kB / 0.9629 GB, free: 0.9609 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 3.733e-05/0.6634, allocations: 59.06 kB / 0.9629 GB, free: 0.9102 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.433e-05/0.6634, allocations: 0 / 0.9629 GB, free: 0.9102 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.382e-05/0.6635, allocations: 326.1 kB / 0.9632 GB, free: 0.5859 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003036/0.6638, allocations: 101.2 kB / 0.9633 GB, free: 0.5391 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002974/0.6641, allocations: 126.4 kB / 0.9634 GB, free: 480 kB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000279/0.6644, allocations: 96.84 kB / 0.9635 GB, free: 436 kB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.425e-06/0.6644, allocations: 0.875 kB / 0.9635 GB, free: 436 kB / 0.7169 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0006642/0.6651, allocations: 282.8 kB / 0.9638 GB, free: 280 kB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.597e-05/0.6651, allocations: 10.02 kB / 0.9638 GB, free: 276 kB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.051e-06/0.6651, allocations: 1.125 kB / 0.9638 GB, free: 276 kB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.219e-05/0.6651, allocations: 1.156 kB / 0.9638 GB, free: 276 kB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003366/0.6655, allocations: 49.84 kB / 0.9639 GB, free: 264 kB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.242e-06/0.6655, allocations: 1.344 kB / 0.9639 GB, free: 264 kB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002439/0.6657, allocations: 34.81 kB / 0.9639 GB, free: 244 kB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.014e-05/0.6658, allocations: 8.312 kB / 0.9639 GB, free: 240 kB / 0.7169 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 8.1e-05/0.6659, allocations: 124.4 kB / 0.964 GB, free: 112 kB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.182e-05/0.6659, allocations: 19.33 kB / 0.964 GB, free: 100 kB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007592/0.6667, allocations: 277.1 kB / 0.9643 GB, free: 15.94 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.388e-06/0.6667, allocations: 2.5 kB / 0.9643 GB, free: 15.94 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.067e-06/0.6667, allocations: 0 / 0.9643 GB, free: 15.94 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.677e-06/0.6667, allocations: 0 / 0.9643 GB, free: 15.94 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001656/0.6684, allocations: 1.064 MB / 0.9653 GB, free: 14.91 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.806e-06/0.6684, allocations: 4.906 kB / 0.9653 GB, free: 14.9 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003047/0.6687, allocations: 43.41 kB / 0.9654 GB, free: 14.89 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.542e-06/0.6687, allocations: 4.984 kB / 0.9654 GB, free: 14.89 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.271e-05/0.6687, allocations: 6.812 kB / 0.9654 GB, free: 14.88 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.46e-06/0.6687, allocations: 5.188 kB / 0.9654 GB, free: 14.88 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.975e-06/0.6688, allocations: 1.125 kB / 0.9654 GB, free: 14.88 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007583/0.6695, allocations: 353.1 kB / 0.9657 GB, free: 14.63 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 6.234e-05/0.6696, allocations: 97.47 kB / 0.9658 GB, free: 14.52 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.629e-05/0.6696, allocations: 2.281 kB / 0.9658 GB, free: 14.52 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002945/0.6699, allocations: 29.78 kB / 0.9659 GB, free: 14.5 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.161e-05/0.67, allocations: 17.75 kB / 0.9659 GB, free: 14.49 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.118e-05/0.67, allocations: 8.656 kB / 0.9659 GB, free: 14.49 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 8.523e-05/0.6701, allocations: 122.5 kB / 0.966 GB, free: 14.39 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.593e-06/0.6701, allocations: 1 kB / 0.966 GB, free: 14.39 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.000492/0.6706, allocations: 133.8 kB / 0.9661 GB, free: 14.35 MB / 0.7325 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.0004672/0.6711, allocations: 229 kB / 0.9664 GB, free: 14.2 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0007374/0.6718, allocations: 231.4 kB / 0.9666 GB, free: 14.1 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.825e-06/0.6718, allocations: 1.031 kB / 0.9666 GB, free: 14.1 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0003264/0.6722, allocations: 114.9 kB / 0.9667 GB, free: 14.05 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004281/0.6726, allocations: 53.05 kB / 0.9667 GB, free: 14.02 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001919/0.6745, allocations: 0.5307 MB / 0.9673 GB, free: 13.66 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003206/0.6749, allocations: 0.7154 MB / 0.968 GB, free: 12.95 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0002188/0.6751, allocations: 34.03 kB / 0.968 GB, free: 12.92 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.797e-05/0.6752, allocations: 22.59 kB / 0.968 GB, free: 12.91 MB / 0.7325 GB Notification: Performance of SimCode: time 3.61e-07/0.6752, allocations: 0 / 0.968 GB, free: 12.91 MB / 0.7325 GB Notification: Performance of Templates: time 0.008473/0.6837, allocations: 4.306 MB / 0.9722 GB, free: 10.73 MB / 0.7325 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/jenkins/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