Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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_latest_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_latest_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.001717/0.001717, allocations: 100.4 kB / 16.27 MB, free: 5.969 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.001786/0.001786, allocations: 191.3 kB / 17.2 MB, free: 5.598 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.315/1.315, allocations: 222.9 MB / 240.9 MB, free: 15.27 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.596/2.596, allocations: 469.4 MB / 0.7427 GB, free: 3.652 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001574/0.001574, allocations: 72.66 kB / 0.9088 GB, free: 14.13 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3295/0.3311, allocations: 159.1 MB / 1.064 GB, free: 15.02 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor): time 0.003337/0.3345, allocations: 2.041 MB / 1.066 GB, free: 12.95 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.002301/0.3368, allocations: 1.663 MB / 1.068 GB, free: 11.28 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.122e-05/0.3369, allocations: 4 kB / 1.068 GB, free: 11.28 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 6.382e-05/0.337, allocations: 19.78 kB / 1.068 GB, free: 11.26 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.0001099/0.3371, allocations: 51.55 kB / 1.068 GB, free: 11.21 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.001006/0.3381, allocations: 362.8 kB / 1.068 GB, free: 10.85 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.0002101/0.3383, allocations: 223.1 kB / 1.068 GB, free: 10.63 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001497/0.3385, allocations: 45.53 kB / 1.069 GB, free: 10.59 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000107/0.3386, allocations: 95.69 kB / 1.069 GB, free: 10.5 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000142/0.3387, allocations: 87.67 kB / 1.069 GB, free: 10.41 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 3.518e-05/0.3388, allocations: 24 kB / 1.069 GB, free: 10.39 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007169/0.3395, allocations: 403.5 kB / 1.069 GB, free: 9.992 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 4.31e-05/0.3396, allocations: 39.91 kB / 1.069 GB, free: 9.953 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 8.754e-05/0.3396, allocations: 91.64 kB / 1.069 GB, free: 9.863 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.0005207/0.3402, allocations: 435.1 kB / 1.07 GB, free: 9.438 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 6.392e-06/0.3402, allocations: 4 kB / 1.07 GB, free: 9.434 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.443e-06/0.3402, allocations: 0 / 1.07 GB, free: 9.434 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 9.207e-06/0.3402, allocations: 0 / 1.07 GB, free: 9.434 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.0008434/0.3411, allocations: 0.5187 MB / 1.07 GB, free: 8.863 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 4.155e-05/0.3411, allocations: 12.62 kB / 1.07 GB, free: 8.852 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001093/0.3422, allocations: 140.6 kB / 1.07 GB, free: 8.715 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001309/0.3424, allocations: 180.2 kB / 1.07 GB, free: 8.5 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.352e-05/0.3425, allocations: 54.19 kB / 1.071 GB, free: 8.441 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.229e-05/0.3425, allocations: 16.38 kB / 1.071 GB, free: 8.426 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005438/0.343, allocations: 217.8 kB / 1.071 GB, free: 8.207 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.204e-05/0.3431, allocations: 3.938 kB / 1.071 GB, free: 8.203 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.852e-05/0.3431, allocations: 11.94 kB / 1.071 GB, free: 8.191 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.842e-06/0.3431, allocations: 4 kB / 1.071 GB, free: 8.188 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007/0.3438, allocations: 227.9 kB / 1.071 GB, free: 7.965 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001409/0.3452, allocations: 0.9663 MB / 1.072 GB, free: 6.875 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004786/0.3457, allocations: 182.5 kB / 1.072 GB, free: 6.688 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003357/0.3461, allocations: 114.9 kB / 1.072 GB, free: 6.574 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006007/0.3467, allocations: 0.522 MB / 1.073 GB, free: 5.941 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.306e-05/0.3467, allocations: 34.56 kB / 1.073 GB, free: 5.898 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=16): time 2.064e-06/0.3467, allocations: 0 / 1.073 GB, free: 5.898 MB / 0.8419 GB Notification: Performance of matching and sorting (n=16): time 0.001135/0.3479, allocations: 337.6 kB / 1.073 GB, free: 5.562 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.563e-05/0.3479, allocations: 55.34 kB / 1.073 GB, free: 5.496 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001443/0.3481, allocations: 160.1 kB / 1.073 GB, free: 5.332 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 2.889e-05/0.3481, allocations: 29.7 kB / 1.073 GB, free: 5.297 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 7.371e-05/0.3482, allocations: 116.2 kB / 1.073 GB, free: 5.176 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 4.459e-05/0.3482, allocations: 51.2 kB / 1.073 GB, free: 5.125 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.023e-05/0.3483, allocations: 41.7 kB / 1.074 GB, free: 5.078 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001085/0.3484, allocations: 322.8 kB / 1.074 GB, free: 4.754 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003391/0.3488, allocations: 103.9 kB / 1.074 GB, free: 4.652 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003515/0.3491, allocations: 131.1 kB / 1.074 GB, free: 4.52 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006456/0.3498, allocations: 193.8 kB / 1.074 GB, free: 4.328 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.003e-06/0.3498, allocations: 0 / 1.074 GB, free: 4.328 MB / 0.8419 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0007551/0.3506, allocations: 273.3 kB / 1.074 GB, free: 4.055 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.517e-05/0.3506, allocations: 4 kB / 1.074 GB, free: 4.051 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.741e-06/0.3506, allocations: 7.922 kB / 1.074 GB, free: 4.043 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.524e-05/0.3506, allocations: 4 kB / 1.074 GB, free: 4.039 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000356/0.351, allocations: 55.84 kB / 1.075 GB, free: 3.984 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.163e-06/0.351, allocations: 3.938 kB / 1.075 GB, free: 3.98 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002693/0.3513, allocations: 35.81 kB / 1.075 GB, free: 3.945 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.938e-05/0.3513, allocations: 8 kB / 1.075 GB, free: 3.938 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.0001201/0.3514, allocations: 125.8 kB / 1.075 GB, free: 3.805 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.537e-05/0.3515, allocations: 11.81 kB / 1.075 GB, free: 3.793 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007942/0.3523, allocations: 268.9 kB / 1.075 GB, free: 3.523 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.402e-06/0.3523, allocations: 7.938 kB / 1.075 GB, free: 3.516 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.448e-06/0.3523, allocations: 0 / 1.075 GB, free: 3.516 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.159e-06/0.3523, allocations: 3.984 kB / 1.075 GB, free: 3.512 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001702/0.354, allocations: 1.066 MB / 1.076 GB, free: 2.289 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.968e-06/0.354, allocations: 3.938 kB / 1.076 GB, free: 2.285 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003047/0.3543, allocations: 47.97 kB / 1.076 GB, free: 2.238 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.378e-06/0.3544, allocations: 4 kB / 1.076 GB, free: 2.234 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.013e-05/0.3544, allocations: 7.984 kB / 1.076 GB, free: 2.227 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.488e-06/0.3544, allocations: 4 kB / 1.076 GB, free: 2.223 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.174e-06/0.3544, allocations: 0 / 1.076 GB, free: 2.223 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007522/0.3552, allocations: 356.9 kB / 1.076 GB, free: 1.852 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 4.766e-05/0.3552, allocations: 88.95 kB / 1.077 GB, free: 1.746 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.921e-05/0.3553, allocations: 7.984 kB / 1.077 GB, free: 1.738 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003052/0.3556, allocations: 19.97 kB / 1.077 GB, free: 1.719 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.974e-05/0.3556, allocations: 15.98 kB / 1.077 GB, free: 1.703 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.762e-05/0.3556, allocations: 8 kB / 1.077 GB, free: 1.695 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 7.929e-05/0.3557, allocations: 121.9 kB / 1.077 GB, free: 1.578 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.11e-07/0.3557, allocations: 0 / 1.077 GB, free: 1.578 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.000447/0.3562, allocations: 127.9 kB / 1.077 GB, free: 1.453 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.000423/0.3566, allocations: 239.4 kB / 1.077 GB, free: 1.211 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0007614/0.3574, allocations: 235.8 kB / 1.077 GB, free: 0.9805 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 2.945e-06/0.3574, allocations: 0 / 1.077 GB, free: 0.9805 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0003461/0.3577, allocations: 112.1 kB / 1.077 GB, free: 0.8711 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004256/0.3582, allocations: 57.88 kB / 1.077 GB, free: 0.8164 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002084/0.3603, allocations: 0.502 MB / 1.078 GB, free: 280 kB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.5149/0.8752, allocations: 0.7047 MB / 1.079 GB, free: 21.93 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002112/0.8755, allocations: 23.3 kB / 1.079 GB, free: 21.92 MB / 0.8419 GB Notification: Performance of SimCode: time 7.41e-07/0.8755, allocations: 2.094 kB / 1.079 GB, free: 21.92 MB / 0.8419 GB Notification: Performance of Templates: time 0.009031/0.8845, allocations: 4.138 MB / 1.083 GB, free: 21.62 MB / 0.8419 GB make -j1 -f Buildings_latest_Buildings.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor.makefile (rm -f Buildings_latest_Buildings.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor.pipe ; mkfifo Buildings_latest_Buildings.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor.pipe >> ../files/Buildings_latest_Buildings.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor.sim & ./Buildings_latest_Buildings.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_HeatPumps_Compressors_Validation_ScrollCompressor.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches