Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_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_10_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.001728/0.001728, allocations: 105.6 kB / 16.41 MB, free: 6.465 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.001945/0.001945, allocations: 187 kB / 17.34 MB, free: 5.715 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.442/1.442, allocations: 222.9 MB / 241 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.509/2.509, allocations: 437 MB / 0.7112 GB, free: 4.398 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001447/0.001447, allocations: 64.31 kB / 1.019 GB, free: 9.422 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9532/0.9547, allocations: 151.6 MB / 1.167 GB, free: 3.867 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor): time 0.003881/0.9586, allocations: 2.031 MB / 1.169 GB, free: 1.828 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.002843/0.9615, allocations: 1.656 MB / 1.171 GB, free: 168 kB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001194/0.9616, allocations: 4 kB / 1.171 GB, free: 164 kB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 8.575e-05/0.9618, allocations: 19.78 kB / 1.171 GB, free: 144 kB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.000148/0.9619, allocations: 51.55 kB / 1.171 GB, free: 92 kB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.001374/0.9633, allocations: 358.8 kB / 1.171 GB, free: 15.74 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.0003257/0.9636, allocations: 223.1 kB / 1.172 GB, free: 15.52 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001793/0.9638, allocations: 45.47 kB / 1.172 GB, free: 15.47 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001824/0.964, allocations: 83.77 kB / 1.172 GB, free: 15.39 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001797/0.9642, allocations: 87.67 kB / 1.172 GB, free: 15.3 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 3.305e-05/0.9643, allocations: 27.94 kB / 1.172 GB, free: 15.27 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008926/0.9651, allocations: 411.5 kB / 1.172 GB, free: 14.87 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 5.272e-05/0.9652, allocations: 43.89 kB / 1.172 GB, free: 14.83 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.0001025/0.9653, allocations: 83.66 kB / 1.172 GB, free: 14.75 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.0008062/0.9661, allocations: 423.2 kB / 1.173 GB, free: 14.34 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 4.668e-06/0.9662, allocations: 4 kB / 1.173 GB, free: 14.33 MB / 0.9044 GB Notification: Performance of FrontEnd: time 1.673e-06/0.9662, allocations: 0 / 1.173 GB, free: 14.33 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 1.126e-05/0.9662, allocations: 0 / 1.173 GB, free: 14.33 MB / 0.9044 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.0009555/0.9671, allocations: 0.5218 MB / 1.173 GB, free: 13.76 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 4.437e-05/0.9672, allocations: 8.922 kB / 1.173 GB, free: 13.75 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006013/0.9678, allocations: 100.7 kB / 1.173 GB, free: 13.65 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001701/0.968, allocations: 188.1 kB / 1.173 GB, free: 13.43 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.32e-05/0.9681, allocations: 42.27 kB / 1.174 GB, free: 13.38 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.456e-05/0.9681, allocations: 16.38 kB / 1.174 GB, free: 13.37 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004452/0.9686, allocations: 187.1 kB / 1.174 GB, free: 13.18 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.302e-05/0.9686, allocations: 3.938 kB / 1.174 GB, free: 13.18 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.735e-05/0.9686, allocations: 12 kB / 1.174 GB, free: 13.16 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.396e-06/0.9686, allocations: 4 kB / 1.174 GB, free: 13.16 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004372/0.9691, allocations: 175.9 kB / 1.174 GB, free: 12.99 MB / 0.9044 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001437/0.9705, allocations: 0.9112 MB / 1.175 GB, free: 11.95 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004656/0.971, allocations: 178.5 kB / 1.175 GB, free: 11.77 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001872/0.9712, allocations: 82.19 kB / 1.175 GB, free: 11.69 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006533/0.9719, allocations: 0.522 MB / 1.176 GB, free: 11.05 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.774e-05/0.9719, allocations: 30.56 kB / 1.176 GB, free: 11.02 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=14): time 1.683e-06/0.9719, allocations: 0 / 1.176 GB, free: 11.02 MB / 0.9044 GB Notification: Performance of matching and sorting (n=14): time 0.0007131/0.9727, allocations: 241.5 kB / 1.176 GB, free: 10.77 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.012e-05/0.9727, allocations: 51.41 kB / 1.176 GB, free: 10.71 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001596/0.9729, allocations: 161.1 kB / 1.176 GB, free: 10.55 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 2.81e-05/0.9729, allocations: 29.7 kB / 1.176 GB, free: 10.51 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 7.59e-05/0.973, allocations: 127.7 kB / 1.176 GB, free: 10.38 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 4.078e-05/0.973, allocations: 43.58 kB / 1.176 GB, free: 10.34 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.811e-05/0.9731, allocations: 41.66 kB / 1.176 GB, free: 10.29 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001076/0.9732, allocations: 326.8 kB / 1.177 GB, free: 9.965 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002052/0.9735, allocations: 75.95 kB / 1.177 GB, free: 9.891 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002018/0.9737, allocations: 91.73 kB / 1.177 GB, free: 9.797 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003488/0.974, allocations: 151.7 kB / 1.177 GB, free: 9.645 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.631e-06/0.974, allocations: 7.875 kB / 1.177 GB, free: 9.637 MB / 0.9044 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0004855/0.9745, allocations: 217.4 kB / 1.177 GB, free: 9.418 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.63e-05/0.9746, allocations: 8 kB / 1.177 GB, free: 9.41 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.751e-06/0.9746, allocations: 0 / 1.177 GB, free: 9.41 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.791e-05/0.9746, allocations: 0 / 1.177 GB, free: 9.41 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000248/0.9748, allocations: 39.91 kB / 1.177 GB, free: 9.371 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.344e-06/0.9749, allocations: 4.031 kB / 1.177 GB, free: 9.367 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001779/0.975, allocations: 27.88 kB / 1.177 GB, free: 9.34 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.969e-05/0.9751, allocations: 4 kB / 1.177 GB, free: 9.336 MB / 0.9044 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.0001268/0.9752, allocations: 129.7 kB / 1.177 GB, free: 9.199 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.926e-05/0.9753, allocations: 15.91 kB / 1.177 GB, free: 9.184 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005168/0.9758, allocations: 200.5 kB / 1.177 GB, free: 8.984 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.47e-06/0.9758, allocations: 7.984 kB / 1.177 GB, free: 8.977 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.509e-06/0.9758, allocations: 0 / 1.177 GB, free: 8.977 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.056e-06/0.9758, allocations: 0 / 1.177 GB, free: 8.977 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001418/0.9772, allocations: 0.9818 MB / 1.178 GB, free: 7.84 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.635e-06/0.9772, allocations: 0 / 1.178 GB, free: 7.84 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002019/0.9775, allocations: 31.92 kB / 1.178 GB, free: 7.809 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.851e-06/0.9775, allocations: 4 kB / 1.178 GB, free: 7.805 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.773e-05/0.9775, allocations: 4.047 kB / 1.178 GB, free: 7.801 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.476e-06/0.9775, allocations: 8 kB / 1.178 GB, free: 7.793 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.402e-06/0.9775, allocations: 0 / 1.178 GB, free: 7.793 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004834/0.978, allocations: 290.4 kB / 1.179 GB, free: 7.488 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 6.063e-05/0.9781, allocations: 96.95 kB / 1.179 GB, free: 7.375 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.891e-05/0.9781, allocations: 8 kB / 1.179 GB, free: 7.367 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002076/0.9783, allocations: 15.97 kB / 1.179 GB, free: 7.352 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.512e-05/0.9784, allocations: 15.92 kB / 1.179 GB, free: 7.336 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.624e-05/0.9784, allocations: 4 kB / 1.179 GB, free: 7.332 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 8.863e-05/0.9785, allocations: 121.5 kB / 1.179 GB, free: 7.215 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1e-07/0.9785, allocations: 0 / 1.179 GB, free: 7.215 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0004791/0.979, allocations: 123.6 kB / 1.179 GB, free: 7.094 MB / 0.9044 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.0004899/0.9795, allocations: 226.8 kB / 1.179 GB, free: 6.863 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0004799/0.98, allocations: 181.7 kB / 1.18 GB, free: 6.688 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 4.308e-06/0.98, allocations: 0 / 1.18 GB, free: 6.688 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.0001942/0.9802, allocations: 83.89 kB / 1.18 GB, free: 6.605 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000431/0.9806, allocations: 60.53 kB / 1.18 GB, free: 6.547 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006961/0.9813, allocations: 342.2 kB / 1.18 GB, free: 6.172 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002711/0.9816, allocations: 0.7047 MB / 1.181 GB, free: 5.441 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.458e-05/0.9817, allocations: 23.42 kB / 1.181 GB, free: 5.418 MB / 0.9044 GB Notification: Performance of SimCode: time 2.21e-07/0.9817, allocations: 3.938 kB / 1.181 GB, free: 5.414 MB / 0.9044 GB Notification: Performance of Templates: time 0.006915/0.9887, allocations: 3.861 MB / 1.184 GB, free: 1.582 MB / 0.9044 GB make -j1 -f Buildings_10_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.makefile (rm -f Buildings_10_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.pipe ; mkfifo Buildings_10_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.pipe >> ../files/Buildings_10_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.sim & ./Buildings_10_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_HeatPumps_Compressors_Validation_ReciprocatingCompressor.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches