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.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-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.001423/0.001423, allocations: 100.1 kB / 15.88 MB, free: 12 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001642/0.001642, allocations: 196.8 kB / 16.79 MB, free: 6.809 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.337/1.337, allocations: 222.9 MB / 240.5 MB, free: 4.621 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.662/2.662, allocations: 461.8 MB / 0.7348 GB, free: 14.2 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001279/0.001279, allocations: 72.89 kB / 0.899 GB, free: 37.08 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3448/0.3461, allocations: 157.4 MB / 1.053 GB, free: 8.32 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor): time 0.004182/0.3503, allocations: 2.094 MB / 1.055 GB, free: 6.207 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.003206/0.3535, allocations: 1.761 MB / 1.057 GB, free: 4.441 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001992/0.3538, allocations: 0 / 1.057 GB, free: 4.441 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.0001295/0.354, allocations: 15.86 kB / 1.057 GB, free: 4.426 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0002135/0.3542, allocations: 47.61 kB / 1.057 GB, free: 4.379 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.001329/0.3555, allocations: 291.2 kB / 1.057 GB, free: 4.094 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.000338/0.3559, allocations: 223.1 kB / 1.057 GB, free: 3.875 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001697/0.3561, allocations: 41.45 kB / 1.057 GB, free: 3.836 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001672/0.3562, allocations: 79.77 kB / 1.057 GB, free: 3.758 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001854/0.3564, allocations: 83.67 kB / 1.057 GB, free: 3.676 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 3.755e-05/0.3565, allocations: 12 kB / 1.057 GB, free: 3.664 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009597/0.3574, allocations: 395.5 kB / 1.058 GB, free: 3.277 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 5.902e-05/0.3575, allocations: 35.91 kB / 1.058 GB, free: 3.242 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.0001115/0.3576, allocations: 83.64 kB / 1.058 GB, free: 3.16 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0005918/0.3582, allocations: 323.5 kB / 1.058 GB, free: 2.844 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 6.021e-06/0.3582, allocations: 7.938 kB / 1.058 GB, free: 2.836 MB / 0.8106 GB Notification: Performance of FrontEnd: time 2.124e-06/0.3582, allocations: 0 / 1.058 GB, free: 2.836 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 7.444e-06/0.3583, allocations: 0 / 1.058 GB, free: 2.836 MB / 0.8106 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.001135/0.3594, allocations: 0.5149 MB / 1.059 GB, free: 2.27 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.973e-05/0.3595, allocations: 11.97 kB / 1.059 GB, free: 2.258 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001241/0.3607, allocations: 140.5 kB / 1.059 GB, free: 2.121 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001874/0.3609, allocations: 192 kB / 1.059 GB, free: 1.895 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001095/0.361, allocations: 54.25 kB / 1.059 GB, free: 1.836 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.674e-05/0.3611, allocations: 12.38 kB / 1.059 GB, free: 1.824 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006127/0.3617, allocations: 209.9 kB / 1.059 GB, free: 1.613 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.238e-05/0.3617, allocations: 7.938 kB / 1.059 GB, free: 1.605 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.085e-05/0.3618, allocations: 11.98 kB / 1.059 GB, free: 1.594 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.105e-06/0.3618, allocations: 4 kB / 1.059 GB, free: 1.59 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007431/0.3625, allocations: 235.9 kB / 1.059 GB, free: 1.359 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001598/0.3641, allocations: 0.9583 MB / 1.06 GB, free: 284 kB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004861/0.3646, allocations: 182.6 kB / 1.061 GB, free: 92 kB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003603/0.365, allocations: 108.8 kB / 1.061 GB, free: 15.98 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006818/0.3657, allocations: 0.5298 MB / 1.061 GB, free: 15.34 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.509e-05/0.3657, allocations: 30.56 kB / 1.061 GB, free: 15.3 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=16): time 2.004e-06/0.3657, allocations: 0 / 1.061 GB, free: 15.3 MB / 0.8262 GB Notification: Performance of matching and sorting (n=16): time 0.001163/0.3669, allocations: 335.7 kB / 1.061 GB, free: 14.97 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.635e-05/0.367, allocations: 51.41 kB / 1.062 GB, free: 14.91 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001613/0.3671, allocations: 161.9 kB / 1.062 GB, free: 14.74 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 3.154e-05/0.3672, allocations: 29.7 kB / 1.062 GB, free: 14.71 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 7.992e-05/0.3673, allocations: 120.2 kB / 1.062 GB, free: 14.58 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 5.559e-05/0.3673, allocations: 59.19 kB / 1.062 GB, free: 14.52 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.47e-05/0.3674, allocations: 37.7 kB / 1.062 GB, free: 14.48 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001079/0.3675, allocations: 322.8 kB / 1.062 GB, free: 14.16 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003754/0.3679, allocations: 107.9 kB / 1.062 GB, free: 14.05 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003555/0.3683, allocations: 122.3 kB / 1.062 GB, free: 13.93 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006448/0.3689, allocations: 204.2 kB / 1.063 GB, free: 13.72 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.04e-06/0.3689, allocations: 0 / 1.063 GB, free: 13.72 MB / 0.8262 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0008021/0.3697, allocations: 273.2 kB / 1.063 GB, free: 13.45 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 2.118e-05/0.3698, allocations: 8 kB / 1.063 GB, free: 13.44 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.972e-06/0.3698, allocations: 0 / 1.063 GB, free: 13.44 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.916e-05/0.3698, allocations: 0 / 1.063 GB, free: 13.44 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003782/0.3702, allocations: 59.92 kB / 1.063 GB, free: 13.38 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.321e-05/0.3702, allocations: 7.938 kB / 1.063 GB, free: 13.38 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003018/0.3705, allocations: 27.81 kB / 1.063 GB, free: 13.35 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.341e-05/0.3706, allocations: 8 kB / 1.063 GB, free: 13.34 MB / 0.8262 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.0001383/0.3707, allocations: 125.8 kB / 1.063 GB, free: 13.21 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.75e-05/0.3708, allocations: 15.81 kB / 1.063 GB, free: 13.19 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008604/0.3716, allocations: 266.5 kB / 1.063 GB, free: 12.93 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.924e-06/0.3717, allocations: 11.94 kB / 1.063 GB, free: 12.91 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.643e-06/0.3717, allocations: 3.938 kB / 1.063 GB, free: 12.91 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.697e-06/0.3717, allocations: 0 / 1.063 GB, free: 12.91 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001853/0.3735, allocations: 1.08 MB / 1.064 GB, free: 11.68 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.641e-06/0.3736, allocations: 3.938 kB / 1.064 GB, free: 11.67 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000327/0.3739, allocations: 43.97 kB / 1.065 GB, free: 11.63 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.282e-06/0.3739, allocations: 0 / 1.065 GB, free: 11.63 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.122e-05/0.3739, allocations: 7.938 kB / 1.065 GB, free: 11.62 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.835e-06/0.3739, allocations: 0 / 1.065 GB, free: 11.62 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.272e-06/0.3739, allocations: 0 / 1.065 GB, free: 11.62 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007715/0.3747, allocations: 349.1 kB / 1.065 GB, free: 11.26 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 6.279e-05/0.3748, allocations: 92.86 kB / 1.065 GB, free: 11.15 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.991e-05/0.3748, allocations: 4 kB / 1.065 GB, free: 11.14 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003268/0.3752, allocations: 31.97 kB / 1.065 GB, free: 11.11 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.862e-05/0.3752, allocations: 7.984 kB / 1.065 GB, free: 11.11 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.145e-05/0.3753, allocations: 7.984 kB / 1.065 GB, free: 11.1 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 8.853e-05/0.3753, allocations: 119.2 kB / 1.065 GB, free: 10.98 MB / 0.8262 GB Notification: Performance of sort global known variables: time 3.41e-07/0.3754, allocations: 0 / 1.065 GB, free: 10.98 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0005261/0.3759, allocations: 139.8 kB / 1.065 GB, free: 10.84 MB / 0.8262 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.0005414/0.3764, allocations: 230.9 kB / 1.065 GB, free: 10.61 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0007888/0.3772, allocations: 236.7 kB / 1.066 GB, free: 10.38 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.866e-06/0.3773, allocations: 0 / 1.066 GB, free: 10.38 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0003403/0.3776, allocations: 107.9 kB / 1.066 GB, free: 10.28 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005189/0.3781, allocations: 56.09 kB / 1.066 GB, free: 10.22 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002104/0.3802, allocations: 0.5349 MB / 1.066 GB, free: 9.645 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002807/0.3805, allocations: 0.7128 MB / 1.067 GB, free: 8.906 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001207/0.3807, allocations: 27.42 kB / 1.067 GB, free: 8.879 MB / 0.8262 GB Notification: Performance of SimCode: time 2.144e-06/0.3807, allocations: 0 / 1.067 GB, free: 8.879 MB / 0.8262 GB Notification: Performance of Templates: time 0.007483/0.3882, allocations: 4.144 MB / 1.071 GB, free: 4.754 MB / 0.8262 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