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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.002483/0.002483, allocations: 79.73 kB / 19.76 MB, free: 1.871 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.00249/0.00249, allocations: 159.5 kB / 23.01 MB, free: 4.602 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.466/1.466, allocations: 177.2 MB / 203.4 MB, free: 8.953 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.91/2.91, allocations: 394.2 MB / 0.6386 GB, free: 11.98 MB / 0.6075 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,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=2500,variableFilter="time|com.pDis|com.pSuc|com.P|heaFloEva.Q_flow|heaFloCon.Q_flow",fileNamePrefix="Buildings_latest_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002123/0.002123, allocations: 74.06 kB / 1.009 GB, free: 14.53 MB / 0.9669 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8731/0.8752, allocations: 181.8 MB / 1.187 GB, free: 16.22 MB / 1.076 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor): time 0.002895/0.8781, allocations: 1.988 MB / 1.189 GB, free: 14.88 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.002203/0.8803, allocations: 1.514 MB / 1.19 GB, free: 13.88 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.678e-05/0.8804, allocations: 2.5 kB / 1.19 GB, free: 13.88 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 6.768e-05/0.8805, allocations: 19.41 kB / 1.19 GB, free: 13.87 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.0001146/0.8806, allocations: 49.17 kB / 1.19 GB, free: 13.83 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.001161/0.8817, allocations: 361.4 kB / 1.19 GB, free: 13.65 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.0002714/0.882, allocations: 222.3 kB / 1.191 GB, free: 13.54 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001548/0.8822, allocations: 36.72 kB / 1.191 GB, free: 13.52 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001204/0.8823, allocations: 78.39 kB / 1.191 GB, free: 13.48 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001604/0.8825, allocations: 79.06 kB / 1.191 GB, free: 13.45 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 3.677e-05/0.8825, allocations: 19.03 kB / 1.191 GB, free: 13.45 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008939/0.8834, allocations: 406.7 kB / 1.191 GB, free: 13.34 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 4.678e-05/0.8834, allocations: 41.27 kB / 1.191 GB, free: 13.31 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 8.876e-05/0.8835, allocations: 72.77 kB / 1.191 GB, free: 13.28 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.0006895/0.8842, allocations: 437 kB / 1.192 GB, free: 13.13 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 5.49e-06/0.8842, allocations: 5.719 kB / 1.192 GB, free: 13.12 MB / 1.076 GB Notification: Performance of FrontEnd: time 2.054e-06/0.8842, allocations: 0 / 1.192 GB, free: 13.12 MB / 1.076 GB Notification: Performance of Transformations before backend: time 6.693e-06/0.8842, allocations: 0 / 1.192 GB, free: 13.12 MB / 1.076 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.0007651/0.885, allocations: 453.5 kB / 1.192 GB, free: 12.75 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 3.839e-05/0.885, allocations: 13.19 kB / 1.192 GB, free: 12.75 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00339/0.8884, allocations: 324.4 kB / 1.193 GB, free: 12.71 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001119/0.8885, allocations: 121 kB / 1.193 GB, free: 12.58 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.902e-05/0.8886, allocations: 76.75 kB / 1.193 GB, free: 12.51 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.43e-05/0.8887, allocations: 14.5 kB / 1.193 GB, free: 12.5 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001597/0.8903, allocations: 388.5 kB / 1.193 GB, free: 12.34 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.322e-05/0.8903, allocations: 7.938 kB / 1.193 GB, free: 12.33 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.537e-05/0.8903, allocations: 6.797 kB / 1.193 GB, free: 12.32 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.227e-05/0.8903, allocations: 7.281 kB / 1.193 GB, free: 12.32 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00245/0.8928, allocations: 372.2 kB / 1.193 GB, free: 12.24 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00163/0.8944, allocations: 0.7255 MB / 1.194 GB, free: 11.73 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00519/0.8996, allocations: 0.645 MB / 1.195 GB, free: 11.6 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001248/0.9008, allocations: 198.9 kB / 1.195 GB, free: 11.55 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001334/0.901, allocations: 16.78 kB / 1.195 GB, free: 11.54 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.353e-05/0.901, allocations: 45.41 kB / 1.195 GB, free: 11.49 MB / 1.076 GB Notification: Performance of pre-optimization done (n=15): time 1.984e-06/0.901, allocations: 1 kB / 1.195 GB, free: 11.49 MB / 1.076 GB Notification: Performance of matching and sorting (n=15): time 0.004949/0.906, allocations: 0.707 MB / 1.196 GB, free: 11.31 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.558e-05/0.906, allocations: 53.75 kB / 1.196 GB, free: 11.25 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001054/0.9061, allocations: 135.6 kB / 1.196 GB, free: 11.13 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 3.175e-05/0.9061, allocations: 35.02 kB / 1.196 GB, free: 11.09 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 6.221e-05/0.9062, allocations: 119.1 kB / 1.196 GB, free: 10.98 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 5.104e-05/0.9062, allocations: 58.92 kB / 1.196 GB, free: 10.93 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001048/0.9063, allocations: 46.22 kB / 1.196 GB, free: 10.91 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 5.079e-05/0.9064, allocations: 320.6 kB / 1.196 GB, free: 10.59 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001298/0.9077, allocations: 198.2 kB / 1.197 GB, free: 10.54 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001288/0.909, allocations: 205.1 kB / 1.197 GB, free: 10.49 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002416/0.9114, allocations: 357 kB / 1.197 GB, free: 10.39 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.478e-06/0.9114, allocations: 0 / 1.197 GB, free: 10.39 MB / 1.076 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.003088/0.9145, allocations: 0.5005 MB / 1.198 GB, free: 10.23 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 2.097e-05/0.9145, allocations: 5.219 kB / 1.198 GB, free: 10.23 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.584e-06/0.9145, allocations: 0 / 1.198 GB, free: 10.23 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006674/0.9152, allocations: 125.5 kB / 1.198 GB, free: 10.2 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001837/0.917, allocations: 156 kB / 1.198 GB, free: 10.19 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007947/0.9178, allocations: 0.6277 MB / 1.199 GB, free: 9.633 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007111/0.9185, allocations: 66.8 kB / 1.199 GB, free: 9.617 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.623e-05/0.9186, allocations: 12.45 kB / 1.199 GB, free: 9.613 MB / 1.076 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (17): * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(3,1)} Notification: Performance of prepare postOptimizeDAE: time 0.000132/0.9187, allocations: 124.5 kB / 1.199 GB, free: 9.488 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.271e-05/0.9188, allocations: 14.61 kB / 1.199 GB, free: 9.48 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003091/0.9218, allocations: 0.5284 MB / 1.199 GB, free: 9.312 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.952e-06/0.9219, allocations: 2.312 kB / 1.199 GB, free: 9.312 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.831e-06/0.9219, allocations: 0.6094 kB / 1.199 GB, free: 9.312 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.658e-06/0.9219, allocations: 0.7031 kB / 1.199 GB, free: 9.312 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005098/0.927, allocations: 0.9736 MB / 1.2 GB, free: 8.871 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.549e-06/0.927, allocations: 1.125 kB / 1.2 GB, free: 8.871 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001734/0.9287, allocations: 148.8 kB / 1.2 GB, free: 8.859 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005264/0.9292, allocations: 117.8 kB / 1.201 GB, free: 8.832 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.197e-05/0.9293, allocations: 10.52 kB / 1.201 GB, free: 8.828 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007027/0.93, allocations: 0.6291 MB / 1.201 GB, free: 8.273 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.795e-06/0.93, allocations: 5.094 kB / 1.201 GB, free: 8.27 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002851/0.9328, allocations: 0.5502 MB / 1.202 GB, free: 8.023 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 2.996e-05/0.9328, allocations: 21.5 kB / 1.202 GB, free: 8.008 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.553e-05/0.9329, allocations: 5.344 kB / 1.202 GB, free: 8.004 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007506/0.9336, allocations: 60.81 kB / 1.202 GB, free: 7.996 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.847e-05/0.9337, allocations: 13.75 kB / 1.202 GB, free: 7.992 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.329e-05/0.9337, allocations: 12.3 kB / 1.202 GB, free: 7.988 MB / 1.076 GB Notification: Performance of sorting global known variables: time 5.052e-05/0.9338, allocations: 99.52 kB / 1.202 GB, free: 7.906 MB / 1.076 GB Notification: Performance of sort global known variables: time 8e-08/0.9338, allocations: 0 / 1.202 GB, free: 7.906 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0006037/0.9344, allocations: 127.5 kB / 1.202 GB, free: 7.875 MB / 1.076 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 (12): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(3,1)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0005096/0.9349, allocations: 226.6 kB / 1.202 GB, free: 7.742 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.003061/0.9379, allocations: 451.6 kB / 1.203 GB, free: 7.648 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 3.276e-06/0.9379, allocations: 4 kB / 1.203 GB, free: 7.645 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.001611/0.9395, allocations: 232.2 kB / 1.203 GB, free: 7.605 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004138/0.94, allocations: 37.72 kB / 1.203 GB, free: 7.586 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00235/0.9423, allocations: 487.3 kB / 1.203 GB, free: 7.348 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.354e-05/0.9424, allocations: 98.31 kB / 1.203 GB, free: 7.262 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 0.0002691/0.9427, allocations: 48.16 kB / 1.204 GB, free: 7.234 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000149/0.9428, allocations: 30.22 kB / 1.204 GB, free: 7.223 MB / 1.076 GB Notification: Performance of SimCode: time 7.92e-07/0.9428, allocations: 0 / 1.204 GB, free: 7.223 MB / 1.076 GB Notification: Performance of Templates: time 0.01294/0.9558, allocations: 6.111 MB / 1.21 GB, free: 6.621 MB / 1.076 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.makefile [Timeout 300] (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=800 -s ida -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.pipe 2>&1) [Timeout 800] 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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 9.180322951986454]