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.001848/0.001848, allocations: 104.3 kB / 19.7 MB, free: 2.152 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.002393/0.002393, allocations: 215.5 kB / 22.99 MB, free: 4.965 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.56/1.56, allocations: 230.6 MB / 256.8 MB, free: 7.816 MB / 206.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 3.333/3.333, allocations: 0.49 GB / 0.7959 GB, free: 35.5 MB / 0.6231 GB " [Timeout remaining time 176] 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.002102/0.002102, allocations: 63.39 kB / 1.155 GB, free: 25.19 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4282/0.4303, allocations: 176.1 MB / 1.327 GB, free: 1.023 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor): time 0.003697/0.434, allocations: 1.977 MB / 1.329 GB, free: 15.04 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.002843/0.4368, allocations: 1.533 MB / 1.331 GB, free: 13.5 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.89e-05/0.4369, allocations: 0 / 1.331 GB, free: 13.5 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 7.866e-05/0.437, allocations: 23.78 kB / 1.331 GB, free: 13.48 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.00013/0.4371, allocations: 51.55 kB / 1.331 GB, free: 13.43 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.00125/0.4383, allocations: 368 kB / 1.331 GB, free: 13.07 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0002805/0.4386, allocations: 215.2 kB / 1.331 GB, free: 12.86 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001672/0.4388, allocations: 37.59 kB / 1.331 GB, free: 12.82 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001249/0.4389, allocations: 91.7 kB / 1.331 GB, free: 12.73 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001518/0.4391, allocations: 87.73 kB / 1.331 GB, free: 12.64 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 3.574e-05/0.4391, allocations: 20 kB / 1.331 GB, free: 12.62 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008386/0.4399, allocations: 423.5 kB / 1.332 GB, free: 12.21 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 5.004e-05/0.44, allocations: 39.84 kB / 1.332 GB, free: 12.17 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 9.572e-05/0.4401, allocations: 87.64 kB / 1.332 GB, free: 12.08 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0006623/0.4407, allocations: 426.7 kB / 1.332 GB, free: 11.66 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.278e-06/0.4407, allocations: 0 / 1.332 GB, free: 11.66 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.593e-06/0.4407, allocations: 0 / 1.332 GB, free: 11.66 MB / 1.029 GB Notification: Performance of Transformations before backend: time 6.582e-06/0.4408, allocations: 0 / 1.332 GB, free: 11.66 MB / 1.029 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.0008581/0.4416, allocations: 461.2 kB / 1.333 GB, free: 11.18 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.211e-05/0.4417, allocations: 8.031 kB / 1.333 GB, free: 11.17 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005918/0.4422, allocations: 96.73 kB / 1.333 GB, free: 11.08 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001458/0.4424, allocations: 122.3 kB / 1.333 GB, free: 10.93 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001228/0.4425, allocations: 75.95 kB / 1.333 GB, free: 10.85 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.22e-05/0.4426, allocations: 16.38 kB / 1.333 GB, free: 10.83 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004786/0.443, allocations: 245.3 kB / 1.333 GB, free: 10.57 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.522e-05/0.443, allocations: 3.938 kB / 1.333 GB, free: 10.57 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.534e-05/0.4431, allocations: 4 kB / 1.333 GB, free: 10.57 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.115e-06/0.4431, allocations: 8 kB / 1.333 GB, free: 10.56 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003269/0.4434, allocations: 127.9 kB / 1.333 GB, free: 10.43 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00144/0.4448, allocations: 0.595 MB / 1.334 GB, free: 9.805 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001994/0.4468, allocations: 330.2 kB / 1.334 GB, free: 9.473 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00021/0.4471, allocations: 76.81 kB / 1.334 GB, free: 9.395 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004523/0.4475, allocations: 76.14 kB / 1.334 GB, free: 9.32 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.445e-05/0.4475, allocations: 38.56 kB / 1.334 GB, free: 9.273 MB / 1.029 GB Notification: Performance of pre-optimization done (n=15): time 2.464e-06/0.4476, allocations: 0 / 1.334 GB, free: 9.273 MB / 1.029 GB Notification: Performance of matching and sorting (n=15): time 0.00172/0.4493, allocations: 378 kB / 1.335 GB, free: 8.898 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.318e-05/0.4493, allocations: 55.41 kB / 1.335 GB, free: 8.832 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001378/0.4495, allocations: 134 kB / 1.335 GB, free: 8.691 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 3.071e-05/0.4495, allocations: 25.7 kB / 1.335 GB, free: 8.66 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001092/0.4496, allocations: 124.3 kB / 1.335 GB, free: 8.535 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 5.658e-05/0.4497, allocations: 51.53 kB / 1.335 GB, free: 8.484 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.782e-05/0.4497, allocations: 37.7 kB / 1.335 GB, free: 8.441 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001578/0.4499, allocations: 322.8 kB / 1.336 GB, free: 8.117 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002291/0.4501, allocations: 87.91 kB / 1.336 GB, free: 8.031 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002103/0.4503, allocations: 79.95 kB / 1.336 GB, free: 7.953 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004232/0.4508, allocations: 159.6 kB / 1.336 GB, free: 7.797 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.427e-06/0.4508, allocations: 0 / 1.336 GB, free: 7.797 MB / 1.029 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0009288/0.4517, allocations: 290.3 kB / 1.336 GB, free: 7.504 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 2.349e-05/0.4517, allocations: 4 kB / 1.336 GB, free: 7.5 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.526e-06/0.4517, allocations: 0 / 1.336 GB, free: 7.5 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006848/0.4524, allocations: 132.6 kB / 1.336 GB, free: 7.367 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001188/0.4536, allocations: 99.89 kB / 1.336 GB, free: 7.27 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009437/0.4545, allocations: 0.6342 MB / 1.337 GB, free: 6.609 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001765/0.4547, allocations: 23.86 kB / 1.337 GB, free: 6.586 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.214e-05/0.4547, allocations: 8 kB / 1.337 GB, free: 6.578 MB / 1.029 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.0001616/0.4549, allocations: 126.4 kB / 1.337 GB, free: 6.445 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.924e-05/0.4549, allocations: 19.94 kB / 1.337 GB, free: 6.426 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008991/0.4558, allocations: 282.5 kB / 1.337 GB, free: 6.141 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.168e-06/0.4559, allocations: 0 / 1.337 GB, free: 6.141 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.417e-06/0.4559, allocations: 12 kB / 1.337 GB, free: 6.129 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.298e-06/0.4559, allocations: 0 / 1.337 GB, free: 6.129 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001829/0.4577, allocations: 0.637 MB / 1.338 GB, free: 5.445 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.458e-06/0.4577, allocations: 4 kB / 1.338 GB, free: 5.441 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001137/0.4588, allocations: 100 kB / 1.338 GB, free: 5.344 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004756/0.4593, allocations: 125.9 kB / 1.338 GB, free: 5.219 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.824e-05/0.4593, allocations: 4 kB / 1.338 GB, free: 5.215 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008242/0.4602, allocations: 0.6342 MB / 1.339 GB, free: 4.555 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.583e-06/0.4602, allocations: 0 / 1.339 GB, free: 4.555 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009013/0.4611, allocations: 363.8 kB / 1.339 GB, free: 4.176 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 2.186e-05/0.4611, allocations: 15.83 kB / 1.339 GB, free: 4.16 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.177e-05/0.4611, allocations: 4 kB / 1.339 GB, free: 4.156 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002065/0.4613, allocations: 11.98 kB / 1.339 GB, free: 4.145 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.978e-05/0.4614, allocations: 15.97 kB / 1.339 GB, free: 4.129 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.512e-05/0.4614, allocations: 8 kB / 1.339 GB, free: 4.121 MB / 1.029 GB Notification: Performance of sorting global known variables: time 7.01e-05/0.4615, allocations: 97.64 kB / 1.339 GB, free: 4.027 MB / 1.029 GB Notification: Performance of sort global known variables: time 9.1e-08/0.4615, allocations: 4 kB / 1.339 GB, free: 4.023 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0005178/0.462, allocations: 127.6 kB / 1.34 GB, free: 3.898 MB / 1.029 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.0004646/0.4624, allocations: 238.6 kB / 1.34 GB, free: 3.656 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0008995/0.4633, allocations: 221.2 kB / 1.34 GB, free: 3.441 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 3.737e-06/0.4633, allocations: 4 kB / 1.34 GB, free: 3.438 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0005635/0.4639, allocations: 127.9 kB / 1.34 GB, free: 3.312 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004321/0.4643, allocations: 31.91 kB / 1.34 GB, free: 3.281 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007667/0.4651, allocations: 340 kB / 1.34 GB, free: 2.918 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.828e-05/0.4652, allocations: 94.78 kB / 1.341 GB, free: 2.801 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 9.049e-05/0.4653, allocations: 23.89 kB / 1.341 GB, free: 2.781 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.075e-05/0.4653, allocations: 19.58 kB / 1.341 GB, free: 2.762 MB / 1.029 GB Notification: Performance of SimCode: time 3.7e-07/0.4653, allocations: 0 / 1.341 GB, free: 2.762 MB / 1.029 GB Notification: Performance of Templates: time 0.009556/0.4749, allocations: 4.698 MB / 1.345 GB, free: 14.12 MB / 1.045 GB " [Timeout remaining time 300] 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 cvode -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: 10.013871422037482]