Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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 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.ReciprocatingCompressor,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.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_11_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.0008862/0.0008862, allocations: 98.27 kB / 15.36 MB, free: 0.7344 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.0058/0.0058, allocations: 170.6 kB / 16.27 MB, free: 6.652 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.522/1.522, allocations: 223.3 MB / 240.3 MB, free: 5.359 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 3.081/3.081, allocations: 470.6 MB / 0.7442 GB, free: 8.836 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0005216/0.0005218, allocations: 10.19 kB / 0.9123 GB, free: 34.18 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3542/0.3547, allocations: 161.4 MB / 1.07 GB, free: 11.41 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor): time 0.002696/0.3575, allocations: 1.738 MB / 1.072 GB, free: 9.66 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.002872/0.3604, allocations: 1.718 MB / 1.073 GB, free: 7.938 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.169e-05/0.3604, allocations: 4 kB / 1.073 GB, free: 7.934 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 4.54e-05/0.3605, allocations: 11.92 kB / 1.073 GB, free: 7.922 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.00013/0.3606, allocations: 47.61 kB / 1.073 GB, free: 7.875 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009341/0.3616, allocations: 291.9 kB / 1.074 GB, free: 7.59 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0002424/0.3618, allocations: 203.2 kB / 1.074 GB, free: 7.391 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001477/0.362, allocations: 45.47 kB / 1.074 GB, free: 7.344 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001092/0.3621, allocations: 75.7 kB / 1.074 GB, free: 7.27 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001606/0.3623, allocations: 75.73 kB / 1.074 GB, free: 7.195 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 2.929e-05/0.3623, allocations: 12 kB / 1.074 GB, free: 7.184 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008689/0.3632, allocations: 391.5 kB / 1.074 GB, free: 6.801 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 4.789e-05/0.3632, allocations: 31.84 kB / 1.074 GB, free: 6.77 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0002131/0.3635, allocations: 105.4 kB / 1.075 GB, free: 6.66 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0006193/0.3641, allocations: 423.2 kB / 1.075 GB, free: 6.246 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 4.168e-06/0.3641, allocations: 0 / 1.075 GB, free: 6.246 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.834e-06/0.3641, allocations: 0 / 1.075 GB, free: 6.246 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 4.98e-06/0.3641, allocations: 3.938 kB / 1.075 GB, free: 6.242 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.0009165/0.365, allocations: 495.2 kB / 1.075 GB, free: 5.707 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.383e-05/0.3651, allocations: 8.031 kB / 1.075 GB, free: 5.699 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006475/0.3658, allocations: 104.6 kB / 1.075 GB, free: 5.598 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001707/0.3659, allocations: 184.1 kB / 1.076 GB, free: 5.379 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001043/0.366, allocations: 50.25 kB / 1.076 GB, free: 5.324 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.601e-05/0.3661, allocations: 12.38 kB / 1.076 GB, free: 5.312 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004569/0.3666, allocations: 189.9 kB / 1.076 GB, free: 5.121 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.212e-05/0.3666, allocations: 3.938 kB / 1.076 GB, free: 5.117 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.848e-05/0.3666, allocations: 8 kB / 1.076 GB, free: 5.109 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.089e-05/0.3666, allocations: 4 kB / 1.076 GB, free: 5.105 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005061/0.3671, allocations: 188.8 kB / 1.076 GB, free: 4.922 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001722/0.3689, allocations: 0.9073 MB / 1.077 GB, free: 3.891 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005766/0.3695, allocations: 186.5 kB / 1.077 GB, free: 3.699 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002387/0.3697, allocations: 84.83 kB / 1.077 GB, free: 3.613 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007728/0.3705, allocations: 0.522 MB / 1.078 GB, free: 2.98 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.427e-05/0.3705, allocations: 34.56 kB / 1.078 GB, free: 2.938 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=14): time 1.864e-06/0.3705, allocations: 0 / 1.078 GB, free: 2.938 MB / 0.8262 GB Notification: Performance of matching and sorting (n=14): time 0.0007871/0.3713, allocations: 251.4 kB / 1.078 GB, free: 2.688 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.299e-05/0.3714, allocations: 59.41 kB / 1.078 GB, free: 2.617 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001837/0.3716, allocations: 162.3 kB / 1.078 GB, free: 2.449 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 3.313e-05/0.3716, allocations: 29.7 kB / 1.078 GB, free: 2.414 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 9.203e-05/0.3717, allocations: 115.8 kB / 1.078 GB, free: 2.297 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 5.818e-05/0.3718, allocations: 43.36 kB / 1.078 GB, free: 2.254 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.742e-05/0.3718, allocations: 25.7 kB / 1.078 GB, free: 2.223 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001687/0.372, allocations: 322.8 kB / 1.079 GB, free: 1.898 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002317/0.3722, allocations: 79.95 kB / 1.079 GB, free: 1.82 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002572/0.3725, allocations: 101.6 kB / 1.079 GB, free: 1.715 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004938/0.373, allocations: 160.5 kB / 1.079 GB, free: 1.555 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.638e-06/0.373, allocations: 3.938 kB / 1.079 GB, free: 1.551 MB / 0.8262 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0005663/0.3736, allocations: 217.6 kB / 1.079 GB, free: 1.332 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.995e-05/0.3736, allocations: 7.984 kB / 1.079 GB, free: 1.324 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.36e-06/0.3736, allocations: 0 / 1.079 GB, free: 1.324 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.554e-05/0.3737, allocations: 0 / 1.079 GB, free: 1.324 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002627/0.3739, allocations: 43.91 kB / 1.079 GB, free: 1.281 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.4e-06/0.3739, allocations: 0 / 1.079 GB, free: 1.281 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001962/0.3741, allocations: 31.77 kB / 1.079 GB, free: 1.25 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.025e-05/0.3742, allocations: 7.938 kB / 1.079 GB, free: 1.242 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 (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.0001388/0.3743, allocations: 133.7 kB / 1.08 GB, free: 1.102 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.51e-05/0.3744, allocations: 15.81 kB / 1.08 GB, free: 1.086 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006781/0.3751, allocations: 203 kB / 1.08 GB, free: 0.8828 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.144e-06/0.3751, allocations: 4 kB / 1.08 GB, free: 0.8789 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.551e-06/0.3751, allocations: 0 / 1.08 GB, free: 0.8789 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.637e-06/0.3751, allocations: 0 / 1.08 GB, free: 0.8789 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001811/0.3769, allocations: 0.9895 MB / 1.081 GB, free: 15.73 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.255e-06/0.3769, allocations: 0 / 1.081 GB, free: 15.73 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002165/0.3771, allocations: 39.92 kB / 1.081 GB, free: 15.7 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.366e-06/0.3772, allocations: 4.062 kB / 1.081 GB, free: 15.69 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.037e-05/0.3772, allocations: 7.984 kB / 1.081 GB, free: 15.68 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.264e-06/0.3772, allocations: 0 / 1.081 GB, free: 15.68 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.582e-06/0.3772, allocations: 0 / 1.081 GB, free: 15.68 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005856/0.3778, allocations: 303 kB / 1.081 GB, free: 15.37 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 8.371e-05/0.3779, allocations: 100.8 kB / 1.081 GB, free: 15.25 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.415e-05/0.3779, allocations: 0 / 1.081 GB, free: 15.25 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002269/0.3782, allocations: 15.98 kB / 1.081 GB, free: 15.23 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.976e-05/0.3782, allocations: 15.92 kB / 1.081 GB, free: 15.22 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.69e-05/0.3782, allocations: 8 kB / 1.081 GB, free: 15.21 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.0001029/0.3783, allocations: 117.9 kB / 1.081 GB, free: 15.1 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.8e-07/0.3783, allocations: 4 kB / 1.081 GB, free: 15.09 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0005048/0.3789, allocations: 127.9 kB / 1.081 GB, free: 14.97 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.0004977/0.3794, allocations: 227 kB / 1.082 GB, free: 14.74 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0005382/0.3799, allocations: 183.8 kB / 1.082 GB, free: 14.56 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 6.412e-06/0.3799, allocations: 0 / 1.082 GB, free: 14.56 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0002303/0.3802, allocations: 87.89 kB / 1.082 GB, free: 14.47 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004306/0.3806, allocations: 45.47 kB / 1.082 GB, free: 14.43 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008057/0.3814, allocations: 385.5 kB / 1.082 GB, free: 14.02 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003553/0.3818, allocations: 0.7128 MB / 1.083 GB, free: 13.28 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.0001652/0.382, allocations: 33.72 kB / 1.083 GB, free: 13.24 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.522e-05/0.382, allocations: 23.36 kB / 1.083 GB, free: 13.22 MB / 0.8419 GB Notification: Performance of SimCode: time 2.7e-07/0.382, allocations: 7.938 kB / 1.083 GB, free: 13.21 MB / 0.8419 GB Notification: Performance of Templates: time 0.009539/0.3916, allocations: 4.126 MB / 1.087 GB, free: 9.129 MB / 0.8419 GB make -j1 -f Buildings_11_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.makefile (rm -f Buildings_11_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.pipe ; mkfifo Buildings_11_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.pipe >> ../files/Buildings_11_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.sim & ./Buildings_11_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_HeatPumps_Compressors_Validation_ReciprocatingCompressor.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches