Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001845/0.001845, allocations: 77.23 kB / 19.76 MB, free: 2.035 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.002328/0.002328, allocations: 160.8 kB / 23.01 MB, free: 4.945 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.449/1.449, allocations: 177.2 MB / 203.4 MB, free: 8.961 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 2.825/2.825, allocations: 377.9 MB / 0.6228 GB, free: 12.59 MB / 0.5919 GB " [Timeout remaining time 177] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/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_12_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_12_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.002089/0.002089, allocations: 63.91 kB / 0.9819 GB, free: 12.21 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8346/0.8367, allocations: 176.1 MB / 1.154 GB, free: 33.32 MB / 1.076 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor): time 0.002607/0.8393, allocations: 1.998 MB / 1.156 GB, free: 31.97 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.001921/0.8413, allocations: 1.525 MB / 1.157 GB, free: 30.96 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.344e-05/0.8413, allocations: 2.906 kB / 1.157 GB, free: 30.96 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 5.598e-05/0.8414, allocations: 21.47 kB / 1.157 GB, free: 30.95 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 8.368e-05/0.8415, allocations: 45.09 kB / 1.157 GB, free: 30.91 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007993/0.8422, allocations: 365.7 kB / 1.158 GB, free: 30.73 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.0001609/0.8424, allocations: 215.4 kB / 1.158 GB, free: 30.63 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001232/0.8425, allocations: 39.48 kB / 1.158 GB, free: 30.6 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 7.783e-05/0.8426, allocations: 83.06 kB / 1.158 GB, free: 30.57 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001184/0.8427, allocations: 73.02 kB / 1.158 GB, free: 30.54 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 2.556e-05/0.8428, allocations: 20.31 kB / 1.158 GB, free: 30.54 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006048/0.8434, allocations: 409.5 kB / 1.159 GB, free: 30.43 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 3.651e-05/0.8434, allocations: 47.8 kB / 1.159 GB, free: 30.39 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 6.478e-05/0.8435, allocations: 75.03 kB / 1.159 GB, free: 30.36 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.0004596/0.8439, allocations: 436.8 kB / 1.159 GB, free: 30.21 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 3.326e-06/0.8439, allocations: 0 / 1.159 GB, free: 30.21 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.282e-06/0.8439, allocations: 0 / 1.159 GB, free: 30.21 MB / 1.076 GB Notification: Performance of Transformations before backend: time 1.075e-05/0.8439, allocations: 0 / 1.159 GB, free: 30.21 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.0006593/0.8446, allocations: 459.9 kB / 1.16 GB, free: 29.84 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 3.128e-05/0.8446, allocations: 11.88 kB / 1.16 GB, free: 29.84 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005308/0.8452, allocations: 92.42 kB / 1.16 GB, free: 29.82 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.568e-05/0.8452, allocations: 123.8 kB / 1.16 GB, free: 29.68 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.993e-05/0.8453, allocations: 76.3 kB / 1.16 GB, free: 29.61 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.846e-05/0.8453, allocations: 13.25 kB / 1.16 GB, free: 29.61 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003743/0.8457, allocations: 245.8 kB / 1.16 GB, free: 29.46 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.255e-05/0.8457, allocations: 3.938 kB / 1.16 GB, free: 29.45 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.481e-05/0.8458, allocations: 6.844 kB / 1.16 GB, free: 29.45 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.931e-06/0.8458, allocations: 2.812 kB / 1.16 GB, free: 29.45 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002705/0.846, allocations: 132.7 kB / 1.16 GB, free: 29.4 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001095/0.8471, allocations: 0.6067 MB / 1.161 GB, free: 28.99 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001913/0.849, allocations: 329.2 kB / 1.161 GB, free: 28.91 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001775/0.8492, allocations: 73.94 kB / 1.161 GB, free: 28.88 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000409/0.8496, allocations: 79.67 kB / 1.161 GB, free: 28.86 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.543e-05/0.8496, allocations: 37.53 kB / 1.161 GB, free: 28.82 MB / 1.076 GB Notification: Performance of pre-optimization done (n=15): time 1.373e-06/0.8496, allocations: 0 / 1.161 GB, free: 28.82 MB / 1.076 GB Notification: Performance of matching and sorting (n=15): time 0.001497/0.8511, allocations: 385.6 kB / 1.162 GB, free: 28.68 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.944e-05/0.8512, allocations: 51.41 kB / 1.162 GB, free: 28.62 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.535e-05/0.8512, allocations: 129.1 kB / 1.162 GB, free: 28.51 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 1.675e-05/0.8512, allocations: 25.7 kB / 1.162 GB, free: 28.48 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 4.461e-05/0.8513, allocations: 124.8 kB / 1.162 GB, free: 28.37 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 2.764e-05/0.8513, allocations: 49.41 kB / 1.162 GB, free: 28.33 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.977e-05/0.8514, allocations: 38.75 kB / 1.162 GB, free: 28.3 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 4.084e-05/0.8514, allocations: 321.2 kB / 1.162 GB, free: 27.98 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002016/0.8516, allocations: 89.91 kB / 1.162 GB, free: 27.95 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001826/0.8518, allocations: 80.25 kB / 1.163 GB, free: 27.92 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003485/0.8522, allocations: 165.6 kB / 1.163 GB, free: 27.84 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.974e-06/0.8522, allocations: 0 / 1.163 GB, free: 27.84 MB / 1.076 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0007912/0.8529, allocations: 285.2 kB / 1.163 GB, free: 27.73 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 1.334e-05/0.853, allocations: 9.625 kB / 1.163 GB, free: 27.72 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.448e-06/0.853, allocations: 0 / 1.163 GB, free: 27.72 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005113/0.8535, allocations: 122.6 kB / 1.163 GB, free: 27.69 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001228/0.8547, allocations: 106.1 kB / 1.163 GB, free: 27.68 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006577/0.8554, allocations: 0.6353 MB / 1.164 GB, free: 27.12 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001743/0.8555, allocations: 20.08 kB / 1.164 GB, free: 27.11 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.737e-05/0.8556, allocations: 6.141 kB / 1.164 GB, free: 27.11 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 7.778e-05/0.8556, allocations: 127.2 kB / 1.164 GB, free: 26.99 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.066e-05/0.8557, allocations: 6.984 kB / 1.164 GB, free: 26.98 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007688/0.8564, allocations: 296.7 kB / 1.164 GB, free: 26.85 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.206e-06/0.8564, allocations: 2.156 kB / 1.164 GB, free: 26.85 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.108e-06/0.8565, allocations: 0 / 1.164 GB, free: 26.85 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.006e-06/0.8565, allocations: 2.344 kB / 1.164 GB, free: 26.85 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001523/0.858, allocations: 0.6543 MB / 1.165 GB, free: 26.44 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.003e-06/0.858, allocations: 0 / 1.165 GB, free: 26.44 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001219/0.8592, allocations: 106.6 kB / 1.165 GB, free: 26.43 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004507/0.8596, allocations: 119.2 kB / 1.165 GB, free: 26.4 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.871e-05/0.8597, allocations: 6.609 kB / 1.165 GB, free: 26.39 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006289/0.8603, allocations: 0.6322 MB / 1.166 GB, free: 25.84 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.202e-06/0.8603, allocations: 0 / 1.166 GB, free: 25.84 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007693/0.8611, allocations: 358.7 kB / 1.166 GB, free: 25.62 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 1.415e-05/0.8611, allocations: 17.08 kB / 1.166 GB, free: 25.61 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.52e-05/0.8611, allocations: 4 kB / 1.166 GB, free: 25.6 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002127/0.8613, allocations: 18.53 kB / 1.166 GB, free: 25.6 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.694e-05/0.8614, allocations: 12.05 kB / 1.166 GB, free: 25.6 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.531e-05/0.8614, allocations: 5.25 kB / 1.166 GB, free: 25.6 MB / 1.076 GB Notification: Performance of sorting global known variables: time 3.798e-05/0.8614, allocations: 97.25 kB / 1.166 GB, free: 25.52 MB / 1.076 GB Notification: Performance of sort global known variables: time 8e-08/0.8614, allocations: 0 / 1.166 GB, free: 25.52 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0004139/0.8618, allocations: 138.1 kB / 1.166 GB, free: 25.48 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.0003362/0.8622, allocations: 233.5 kB / 1.167 GB, free: 25.34 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.0008339/0.863, allocations: 220.6 kB / 1.167 GB, free: 25.28 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 3.236e-06/0.863, allocations: 2.625 kB / 1.167 GB, free: 25.28 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.0005705/0.8636, allocations: 133.8 kB / 1.167 GB, free: 25.25 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003505/0.8639, allocations: 24.81 kB / 1.167 GB, free: 25.24 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005784/0.8645, allocations: 338.6 kB / 1.167 GB, free: 25.01 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.914e-05/0.8646, allocations: 93.42 kB / 1.167 GB, free: 24.93 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 8.606e-05/0.8646, allocations: 26.97 kB / 1.167 GB, free: 24.92 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.135e-05/0.8647, allocations: 14.81 kB / 1.167 GB, free: 24.91 MB / 1.076 GB Notification: Performance of SimCode: time 3.21e-07/0.8647, allocations: 0 / 1.167 GB, free: 24.91 MB / 1.076 GB Notification: Performance of Templates: time 0.008198/0.8729, allocations: 4.469 MB / 1.172 GB, free: 24.42 MB / 1.076 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.pipe ; mkfifo Buildings_12_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.pipe >> ../files/Buildings_12_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.sim & ./Buildings_12_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor -abortSlowSimulation -alarm=400 -s ida -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_HeatPumps_Compressors_Validation_ReciprocatingCompressor.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 8.822971267043613]