Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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 11.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_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_11_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.001387/0.001387, allocations: 107.5 kB / 15.99 MB, free: 6.355 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.001428/0.001428, allocations: 195.9 kB / 16.91 MB, free: 6.195 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.408/1.408, allocations: 222.9 MB / 240.6 MB, free: 13.73 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.728/2.728, allocations: 469.8 MB / 0.7427 GB, free: 3.691 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.002/0.002, allocations: 67.89 kB / 0.9087 GB, free: 14.28 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3454/0.3474, allocations: 159.1 MB / 1.064 GB, free: 15.16 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor): time 0.00378/0.3512, allocations: 2.09 MB / 1.066 GB, free: 13.05 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.002614/0.3539, allocations: 1.663 MB / 1.068 GB, free: 11.38 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.732e-05/0.3541, allocations: 4 kB / 1.068 GB, free: 11.38 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 7.497e-05/0.3541, allocations: 15.86 kB / 1.068 GB, free: 11.36 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.0001239/0.3543, allocations: 43.67 kB / 1.068 GB, free: 11.32 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.001138/0.3554, allocations: 311.2 kB / 1.068 GB, free: 11.01 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.0003018/0.3557, allocations: 231.1 kB / 1.068 GB, free: 10.79 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001592/0.3559, allocations: 57.52 kB / 1.068 GB, free: 10.73 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001243/0.356, allocations: 79.78 kB / 1.069 GB, free: 10.65 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001577/0.3562, allocations: 95.66 kB / 1.069 GB, free: 10.56 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 3.448e-05/0.3562, allocations: 20 kB / 1.069 GB, free: 10.54 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008389/0.3571, allocations: 411.5 kB / 1.069 GB, free: 10.14 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 5.227e-05/0.3571, allocations: 47.89 kB / 1.069 GB, free: 10.09 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 0.0001096/0.3573, allocations: 95.64 kB / 1.069 GB, free: 9.996 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.0005032/0.3578, allocations: 319.5 kB / 1.069 GB, free: 9.684 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 4.168e-06/0.3578, allocations: 0 / 1.069 GB, free: 9.684 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.563e-06/0.3578, allocations: 0 / 1.069 GB, free: 9.684 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 8.997e-06/0.3578, allocations: 4 kB / 1.069 GB, free: 9.68 MB / 0.8419 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.0009957/0.3588, allocations: 0.5186 MB / 1.07 GB, free: 9.109 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 4.64e-05/0.3589, allocations: 12.03 kB / 1.07 GB, free: 9.098 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001138/0.36, allocations: 144.5 kB / 1.07 GB, free: 8.957 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001767/0.3602, allocations: 176.2 kB / 1.07 GB, free: 8.746 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001022/0.3603, allocations: 54.19 kB / 1.07 GB, free: 8.688 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.952e-05/0.3604, allocations: 16.38 kB / 1.07 GB, free: 8.672 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006216/0.361, allocations: 217.8 kB / 1.071 GB, free: 8.453 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.545e-05/0.361, allocations: 3.938 kB / 1.071 GB, free: 8.449 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.171e-05/0.361, allocations: 8 kB / 1.071 GB, free: 8.441 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.368e-06/0.3611, allocations: 4 kB / 1.071 GB, free: 8.438 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007969/0.3619, allocations: 231.9 kB / 1.071 GB, free: 8.211 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001754/0.3636, allocations: 0.9585 MB / 1.072 GB, free: 7.129 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005164/0.3642, allocations: 182.6 kB / 1.072 GB, free: 6.941 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000357/0.3645, allocations: 112.8 kB / 1.072 GB, free: 6.828 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007577/0.3653, allocations: 0.522 MB / 1.073 GB, free: 6.195 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.838e-05/0.3653, allocations: 42.5 kB / 1.073 GB, free: 6.145 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=16): time 2.154e-06/0.3654, allocations: 0 / 1.073 GB, free: 6.145 MB / 0.8419 GB Notification: Performance of matching and sorting (n=16): time 0.001226/0.3666, allocations: 331.5 kB / 1.073 GB, free: 5.816 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.261e-05/0.3666, allocations: 55.41 kB / 1.073 GB, free: 5.75 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001705/0.3668, allocations: 152.5 kB / 1.073 GB, free: 5.594 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 5.923e-05/0.3669, allocations: 37.7 kB / 1.073 GB, free: 5.551 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001006/0.367, allocations: 120.1 kB / 1.073 GB, free: 5.426 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 5.976e-05/0.3671, allocations: 55.2 kB / 1.073 GB, free: 5.371 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001029/0.3672, allocations: 41.7 kB / 1.073 GB, free: 5.324 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001615/0.3673, allocations: 322.8 kB / 1.074 GB, free: 5 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000351/0.3677, allocations: 103.9 kB / 1.074 GB, free: 4.898 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003691/0.3681, allocations: 133.6 kB / 1.074 GB, free: 4.762 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006731/0.3688, allocations: 194.7 kB / 1.074 GB, free: 4.566 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.384e-06/0.3688, allocations: 0 / 1.074 GB, free: 4.566 MB / 0.8419 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0008324/0.3696, allocations: 277 kB / 1.074 GB, free: 4.293 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.665e-05/0.3696, allocations: 4 kB / 1.074 GB, free: 4.289 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.71e-06/0.3696, allocations: 0 / 1.074 GB, free: 4.289 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.787e-05/0.3697, allocations: 8.031 kB / 1.074 GB, free: 4.281 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00039/0.3701, allocations: 51.89 kB / 1.074 GB, free: 4.23 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.654e-06/0.3701, allocations: 0 / 1.074 GB, free: 4.23 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000301/0.3704, allocations: 35.81 kB / 1.074 GB, free: 4.195 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.13e-05/0.3704, allocations: 8 kB / 1.074 GB, free: 4.188 MB / 0.8419 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.0001784/0.3706, allocations: 121.8 kB / 1.075 GB, free: 4.059 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.548e-05/0.3707, allocations: 15.81 kB / 1.075 GB, free: 4.043 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008891/0.3716, allocations: 270.6 kB / 1.075 GB, free: 3.77 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.951e-06/0.3716, allocations: 3.938 kB / 1.075 GB, free: 3.766 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.1e-06/0.3716, allocations: 0 / 1.075 GB, free: 3.766 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.457e-06/0.3716, allocations: 4 kB / 1.075 GB, free: 3.762 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00202/0.3736, allocations: 1.077 MB / 1.076 GB, free: 2.527 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.661e-06/0.3736, allocations: 3.938 kB / 1.076 GB, free: 2.523 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003242/0.374, allocations: 35.97 kB / 1.076 GB, free: 2.488 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.347e-06/0.374, allocations: 7.938 kB / 1.076 GB, free: 2.48 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.866e-05/0.374, allocations: 0 / 1.076 GB, free: 2.48 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.325e-06/0.374, allocations: 0 / 1.076 GB, free: 2.48 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.977e-06/0.374, allocations: 12 kB / 1.076 GB, free: 2.469 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008291/0.3749, allocations: 346.2 kB / 1.076 GB, free: 2.109 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 8.364e-05/0.375, allocations: 92.95 kB / 1.076 GB, free: 2 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.535e-05/0.375, allocations: 8 kB / 1.076 GB, free: 1.992 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003261/0.3753, allocations: 27.97 kB / 1.076 GB, free: 1.965 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.946e-05/0.3754, allocations: 11.98 kB / 1.076 GB, free: 1.953 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.407e-05/0.3754, allocations: 7.984 kB / 1.076 GB, free: 1.945 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.000119/0.3756, allocations: 118.3 kB / 1.077 GB, free: 1.832 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.5e-07/0.3756, allocations: 0 / 1.077 GB, free: 1.832 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0005445/0.3761, allocations: 135.8 kB / 1.077 GB, free: 1.699 MB / 0.8419 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.0005227/0.3766, allocations: 230.9 kB / 1.077 GB, free: 1.465 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.000812/0.3775, allocations: 239.8 kB / 1.077 GB, free: 1.23 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 3.526e-06/0.3775, allocations: 0 / 1.077 GB, free: 1.23 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0003735/0.3779, allocations: 112 kB / 1.077 GB, free: 1.121 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004655/0.3783, allocations: 48.38 kB / 1.077 GB, free: 1.078 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00223/0.3806, allocations: 0.545 MB / 1.078 GB, free: 0.4922 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.4777/0.8583, allocations: 0.7132 MB / 1.078 GB, free: 21.88 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001948/0.8586, allocations: 28.08 kB / 1.078 GB, free: 21.87 MB / 0.8419 GB Notification: Performance of SimCode: time 9.72e-07/0.8586, allocations: 0 / 1.078 GB, free: 21.87 MB / 0.8419 GB Notification: Performance of Templates: time 0.009442/0.868, allocations: 4.144 MB / 1.083 GB, free: 21.59 MB / 0.8419 GB make -j1 -f Buildings_11_Buildings.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor.makefile (rm -f Buildings_11_Buildings.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor.pipe ; mkfifo Buildings_11_Buildings.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor.pipe >> ../files/Buildings_11_Buildings.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor.sim & ./Buildings_11_Buildings.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_HeatPumps_Compressors_Validation_ScrollCompressor.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches