Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.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.ReciprocatingCompressor,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.ReciprocatingCompressor") translateModel(Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor,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.ReciprocatingCompressor") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001336/0.001336, allocations: 111.3 kB / 15.23 MB, free: 0.6367 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.001454/0.001454, allocations: 191.4 kB / 16.14 MB, free: 6.734 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.452/1.452, allocations: 222.9 MB / 239.8 MB, free: 4.602 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.847/2.847, allocations: 472.6 MB / 0.7447 GB, free: 4.902 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001271/0.001271, allocations: 70.23 kB / 0.9114 GB, free: 33.63 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.341/0.3422, allocations: 159.9 MB / 1.068 GB, free: 10.8 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor): time 0.004808/0.3471, allocations: 2.081 MB / 1.07 GB, free: 8.703 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.003047/0.3502, allocations: 1.745 MB / 1.071 GB, free: 6.953 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.319e-05/0.3503, allocations: 3.938 kB / 1.071 GB, free: 6.949 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 8.224e-05/0.3504, allocations: 15.91 kB / 1.071 GB, free: 6.934 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0001103/0.3506, allocations: 43.61 kB / 1.071 GB, free: 6.891 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.000901/0.3515, allocations: 291.2 kB / 1.072 GB, free: 6.605 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0002501/0.3517, allocations: 211.1 kB / 1.072 GB, free: 6.398 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000151/0.3519, allocations: 37.47 kB / 1.072 GB, free: 6.359 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 9.999e-05/0.352, allocations: 79.77 kB / 1.072 GB, free: 6.281 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001391/0.3521, allocations: 87.67 kB / 1.072 GB, free: 6.195 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 2.946e-05/0.3522, allocations: 12 kB / 1.072 GB, free: 6.184 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000745/0.3529, allocations: 391.5 kB / 1.072 GB, free: 5.801 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 4.377e-05/0.353, allocations: 31.91 kB / 1.072 GB, free: 5.77 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0001016/0.3531, allocations: 83.66 kB / 1.073 GB, free: 5.688 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0006064/0.3537, allocations: 423.2 kB / 1.073 GB, free: 5.273 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 4.308e-06/0.3537, allocations: 0 / 1.073 GB, free: 5.273 MB / 0.8262 GB Notification: Performance of FrontEnd: time 8.21e-07/0.3537, allocations: 4 kB / 1.073 GB, free: 5.27 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 4.819e-06/0.3537, allocations: 0 / 1.073 GB, free: 5.27 MB / 0.8262 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 36 * Number of variables: 36 Notification: Performance of Generate backend data structure: time 0.0009056/0.3546, allocations: 0.5147 MB / 1.073 GB, free: 4.703 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.047e-05/0.3547, allocations: 8.031 kB / 1.073 GB, free: 4.695 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005784/0.3553, allocations: 92.64 kB / 1.074 GB, free: 4.605 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001904/0.3555, allocations: 180.2 kB / 1.074 GB, free: 4.391 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.001e-05/0.3556, allocations: 50.25 kB / 1.074 GB, free: 4.336 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.333e-05/0.3556, allocations: 16.38 kB / 1.074 GB, free: 4.32 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004284/0.356, allocations: 190 kB / 1.074 GB, free: 4.129 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.166e-05/0.3561, allocations: 7.938 kB / 1.074 GB, free: 4.121 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.618e-05/0.3561, allocations: 4 kB / 1.074 GB, free: 4.117 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.784e-06/0.3561, allocations: 4 kB / 1.074 GB, free: 4.113 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004401/0.3566, allocations: 179.8 kB / 1.074 GB, free: 3.938 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001447/0.358, allocations: 0.9033 MB / 1.075 GB, free: 2.91 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005207/0.3585, allocations: 178.5 kB / 1.075 GB, free: 2.727 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002159/0.3588, allocations: 88.69 kB / 1.075 GB, free: 2.637 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007182/0.3595, allocations: 0.5259 MB / 1.076 GB, free: 2 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.116e-05/0.3595, allocations: 34.56 kB / 1.076 GB, free: 1.957 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=14): time 1.473e-06/0.3596, allocations: 0 / 1.076 GB, free: 1.957 MB / 0.8262 GB Notification: Performance of matching and sorting (n=14): time 0.0007451/0.3603, allocations: 229.7 kB / 1.076 GB, free: 1.727 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.438e-05/0.3604, allocations: 59.39 kB / 1.076 GB, free: 1.656 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001626/0.3605, allocations: 160.7 kB / 1.076 GB, free: 1.492 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 3.041e-05/0.3606, allocations: 33.7 kB / 1.076 GB, free: 1.453 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 8.991e-05/0.3607, allocations: 115.8 kB / 1.076 GB, free: 1.336 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 4.558e-05/0.3607, allocations: 47.36 kB / 1.076 GB, free: 1.289 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000101/0.3608, allocations: 37.7 kB / 1.076 GB, free: 1.246 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001578/0.361, allocations: 322.8 kB / 1.077 GB, free: 0.9219 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002049/0.3612, allocations: 75.89 kB / 1.077 GB, free: 0.8477 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002328/0.3614, allocations: 93.67 kB / 1.077 GB, free: 0.75 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003959/0.3618, allocations: 147.3 kB / 1.077 GB, free: 0.6016 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.212e-06/0.3619, allocations: 3.938 kB / 1.077 GB, free: 0.5977 MB / 0.8262 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0005081/0.3624, allocations: 223.1 kB / 1.077 GB, free: 384 kB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 2.033e-05/0.3624, allocations: 4 kB / 1.077 GB, free: 380 kB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.893e-06/0.3624, allocations: 0 / 1.077 GB, free: 380 kB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.682e-05/0.3624, allocations: 4 kB / 1.077 GB, free: 376 kB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002762/0.3627, allocations: 35.97 kB / 1.077 GB, free: 340 kB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.033e-06/0.3627, allocations: 3.938 kB / 1.077 GB, free: 336 kB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001915/0.3629, allocations: 27.77 kB / 1.077 GB, free: 308 kB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.779e-05/0.363, allocations: 4.031 kB / 1.077 GB, free: 304 kB / 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 (20): * Single equations (assignments): 20 * 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.0001148/0.3631, allocations: 135.2 kB / 1.078 GB, free: 160 kB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.919e-05/0.3631, allocations: 15.81 kB / 1.078 GB, free: 144 kB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005418/0.3637, allocations: 198 kB / 1.078 GB, free: 15.94 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.047e-06/0.3637, allocations: 4 kB / 1.078 GB, free: 15.94 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.931e-06/0.3637, allocations: 0 / 1.078 GB, free: 15.94 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.307e-06/0.3637, allocations: 0 / 1.078 GB, free: 15.94 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001472/0.3652, allocations: 0.9856 MB / 1.079 GB, free: 14.8 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.114e-06/0.3652, allocations: 0 / 1.079 GB, free: 14.8 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002023/0.3654, allocations: 31.98 kB / 1.079 GB, free: 14.77 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.945e-06/0.3654, allocations: 0 / 1.079 GB, free: 14.77 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.059e-05/0.3655, allocations: 11.98 kB / 1.079 GB, free: 14.75 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.396e-06/0.3655, allocations: 3.938 kB / 1.079 GB, free: 14.75 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.603e-06/0.3655, allocations: 0 / 1.079 GB, free: 14.75 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005487/0.366, allocations: 289.1 kB / 1.079 GB, free: 14.45 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 5.377e-05/0.3661, allocations: 88.95 kB / 1.079 GB, free: 14.34 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.406e-05/0.3661, allocations: 0 / 1.079 GB, free: 14.34 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002202/0.3664, allocations: 19.97 kB / 1.079 GB, free: 14.32 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.948e-05/0.3664, allocations: 15.92 kB / 1.079 GB, free: 14.3 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.919e-05/0.3664, allocations: 8 kB / 1.079 GB, free: 14.3 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.000109/0.3666, allocations: 121.9 kB / 1.079 GB, free: 14.18 MB / 0.8419 GB Notification: Performance of sort global known variables: time 2e-07/0.3666, allocations: 3.938 kB / 1.079 GB, free: 14.18 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0005098/0.3671, allocations: 131.8 kB / 1.079 GB, free: 14.05 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 (14): * Single equations (assignments): 14 * 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.0004749/0.3676, allocations: 223 kB / 1.08 GB, free: 13.82 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0004777/0.368, allocations: 175.8 kB / 1.08 GB, free: 13.65 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 4.147e-06/0.3681, allocations: 4.062 kB / 1.08 GB, free: 13.64 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0001982/0.3683, allocations: 83.89 kB / 1.08 GB, free: 13.56 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004596/0.3687, allocations: 40.89 kB / 1.08 GB, free: 13.53 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006866/0.3694, allocations: 378.3 kB / 1.08 GB, free: 13.12 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002997/0.3697, allocations: 0.705 MB / 1.081 GB, free: 12.39 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.0001594/0.3699, allocations: 32.78 kB / 1.081 GB, free: 12.36 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.198e-05/0.37, allocations: 23.38 kB / 1.081 GB, free: 12.34 MB / 0.8419 GB Notification: Performance of SimCode: time 5.51e-07/0.37, allocations: 0 / 1.081 GB, free: 12.34 MB / 0.8419 GB Notification: Performance of Templates: time 0.007929/0.3779, allocations: 4.135 MB / 1.085 GB, free: 8.246 MB / 0.8419 GB make -j1 -f Buildings_latest_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.makefile (rm -f Buildings_latest_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.pipe ; mkfifo Buildings_latest_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.pipe >> ../files/Buildings_latest_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.sim & ./Buildings_latest_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_HeatPumps_Compressors_Validation_ReciprocatingCompressor.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches