Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput.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.001905/0.001905, allocations: 96.42 kB / 19.7 MB, free: 2.133 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.002478/0.002478, allocations: 212.4 kB / 22.99 MB, free: 4.957 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.521/1.521, allocations: 230.6 MB / 256.8 MB, free: 7.809 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.309/3.309, allocations: 0.49 GB / 0.7959 GB, free: 35.57 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_ZeroInput,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_ZeroInput") translateModel(Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput,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_ZeroInput") [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.00211/0.00211, allocations: 64.19 kB / 1.155 GB, free: 25.19 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4283/0.4304, allocations: 176.1 MB / 1.327 GB, free: 0.9844 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput): time 0.003704/0.4341, allocations: 1.983 MB / 1.329 GB, free: 15 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.002848/0.4369, allocations: 1.53 MB / 1.331 GB, free: 13.46 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.703e-05/0.437, allocations: 4 kB / 1.331 GB, free: 13.46 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 7.536e-05/0.4371, allocations: 19.78 kB / 1.331 GB, free: 13.44 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0001227/0.4372, allocations: 47.56 kB / 1.331 GB, free: 13.39 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.001302/0.4385, allocations: 367.9 kB / 1.331 GB, free: 13.03 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0002893/0.4388, allocations: 219.1 kB / 1.331 GB, free: 12.82 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001919/0.439, allocations: 45.59 kB / 1.331 GB, free: 12.77 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001219/0.4391, allocations: 75.78 kB / 1.331 GB, free: 12.69 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001655/0.4393, allocations: 91.67 kB / 1.331 GB, free: 12.6 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 3.262e-05/0.4393, allocations: 19.94 kB / 1.331 GB, free: 12.58 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008433/0.4402, allocations: 427.5 kB / 1.332 GB, free: 12.16 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 6.296e-05/0.4402, allocations: 47.91 kB / 1.332 GB, free: 12.12 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 9.21e-05/0.4403, allocations: 75.7 kB / 1.332 GB, free: 12.04 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0006981/0.441, allocations: 430.7 kB / 1.332 GB, free: 11.62 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.889e-06/0.441, allocations: 3.938 kB / 1.332 GB, free: 11.62 MB / 1.029 GB Notification: Performance of FrontEnd: time 2.385e-06/0.441, allocations: 0 / 1.332 GB, free: 11.62 MB / 1.029 GB Notification: Performance of Transformations before backend: time 7.144e-06/0.441, allocations: 0 / 1.332 GB, free: 11.62 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.000979/0.442, allocations: 458 kB / 1.333 GB, free: 11.14 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 5.702e-05/0.4421, allocations: 12.03 kB / 1.333 GB, free: 11.12 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006124/0.4427, allocations: 88.73 kB / 1.333 GB, free: 11.04 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001569/0.4428, allocations: 122.3 kB / 1.333 GB, free: 10.89 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001036/0.4429, allocations: 79.95 kB / 1.333 GB, free: 10.8 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.917e-05/0.443, allocations: 20.38 kB / 1.333 GB, free: 10.79 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005055/0.4435, allocations: 241.4 kB / 1.333 GB, free: 10.53 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.294e-05/0.4435, allocations: 3.938 kB / 1.333 GB, free: 10.53 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.896e-05/0.4435, allocations: 8 kB / 1.333 GB, free: 10.52 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.816e-06/0.4435, allocations: 4 kB / 1.333 GB, free: 10.52 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003168/0.4439, allocations: 127.9 kB / 1.333 GB, free: 10.39 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001496/0.4453, allocations: 0.5989 MB / 1.334 GB, free: 9.758 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002156/0.4475, allocations: 322.3 kB / 1.334 GB, free: 9.434 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002305/0.4477, allocations: 76.83 kB / 1.334 GB, free: 9.355 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005084/0.4482, allocations: 76.11 kB / 1.334 GB, free: 9.281 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.429e-05/0.4483, allocations: 42.5 kB / 1.334 GB, free: 9.23 MB / 1.029 GB Notification: Performance of pre-optimization done (n=15): time 3.276e-06/0.4483, allocations: 0 / 1.334 GB, free: 9.23 MB / 1.029 GB Notification: Performance of matching and sorting (n=15): time 0.001757/0.45, allocations: 383.1 kB / 1.335 GB, free: 8.852 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.206e-05/0.4501, allocations: 51.41 kB / 1.335 GB, free: 8.789 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000146/0.4502, allocations: 137.6 kB / 1.335 GB, free: 8.648 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 3.325e-05/0.4503, allocations: 25.7 kB / 1.335 GB, free: 8.617 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 9.967e-05/0.4504, allocations: 120.3 kB / 1.335 GB, free: 8.496 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 6.642e-05/0.4504, allocations: 59.47 kB / 1.335 GB, free: 8.438 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.004e-05/0.4505, allocations: 33.7 kB / 1.335 GB, free: 8.398 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001566/0.4507, allocations: 322.8 kB / 1.336 GB, free: 8.074 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002246/0.4509, allocations: 83.91 kB / 1.336 GB, free: 7.992 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002255/0.4511, allocations: 89.67 kB / 1.336 GB, free: 7.906 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004027/0.4515, allocations: 150.5 kB / 1.336 GB, free: 7.758 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.893e-06/0.4515, allocations: 0 / 1.336 GB, free: 7.758 MB / 1.029 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0009376/0.4525, allocations: 298.2 kB / 1.336 GB, free: 7.457 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.724e-05/0.4525, allocations: 7.938 kB / 1.336 GB, free: 7.449 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.801e-06/0.4525, allocations: 0 / 1.336 GB, free: 7.449 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005933/0.4531, allocations: 124.7 kB / 1.336 GB, free: 7.324 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001247/0.4543, allocations: 107.9 kB / 1.336 GB, free: 7.219 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000942/0.4553, allocations: 0.6303 MB / 1.337 GB, free: 6.562 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001947/0.4555, allocations: 27.91 kB / 1.337 GB, free: 6.535 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.967e-05/0.4555, allocations: 4 kB / 1.337 GB, free: 6.531 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.0001477/0.4556, allocations: 122.4 kB / 1.337 GB, free: 6.402 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.776e-05/0.4557, allocations: 7.953 kB / 1.337 GB, free: 6.395 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009396/0.4566, allocations: 289.4 kB / 1.337 GB, free: 6.105 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.662e-06/0.4566, allocations: 4 kB / 1.337 GB, free: 6.102 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.939e-06/0.4566, allocations: 0 / 1.337 GB, free: 6.102 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.041e-06/0.4566, allocations: 3.984 kB / 1.337 GB, free: 6.098 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001885/0.4585, allocations: 0.6409 MB / 1.338 GB, free: 5.41 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.465e-06/0.4585, allocations: 4.062 kB / 1.338 GB, free: 5.406 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001159/0.4597, allocations: 95.95 kB / 1.338 GB, free: 5.312 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005161/0.4602, allocations: 122.4 kB / 1.338 GB, free: 5.191 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.145e-05/0.4602, allocations: 8 kB / 1.338 GB, free: 5.184 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008817/0.4611, allocations: 0.6381 MB / 1.339 GB, free: 4.52 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.458e-06/0.4611, allocations: 4 kB / 1.339 GB, free: 4.516 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009645/0.4621, allocations: 353.9 kB / 1.339 GB, free: 4.145 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 2.732e-05/0.4621, allocations: 19.83 kB / 1.339 GB, free: 4.125 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.455e-05/0.4621, allocations: 4 kB / 1.339 GB, free: 4.121 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002243/0.4624, allocations: 27.91 kB / 1.339 GB, free: 4.094 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.431e-05/0.4624, allocations: 11.92 kB / 1.339 GB, free: 4.082 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.748e-05/0.4624, allocations: 4 kB / 1.339 GB, free: 4.078 MB / 1.029 GB Notification: Performance of sorting global known variables: time 8.788e-05/0.4625, allocations: 105.4 kB / 1.339 GB, free: 3.977 MB / 1.029 GB Notification: Performance of sort global known variables: time 7e-08/0.4625, allocations: 0 / 1.339 GB, free: 3.977 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0005497/0.4631, allocations: 135.5 kB / 1.34 GB, free: 3.844 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.0005042/0.4636, allocations: 227.8 kB / 1.34 GB, free: 3.613 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.000953/0.4645, allocations: 219.8 kB / 1.34 GB, free: 3.398 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 3.317e-06/0.4645, allocations: 0 / 1.34 GB, free: 3.398 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0006114/0.4651, allocations: 127.8 kB / 1.34 GB, free: 3.273 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004172/0.4655, allocations: 29.59 kB / 1.34 GB, free: 3.246 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009183/0.4665, allocations: 352.6 kB / 1.34 GB, free: 2.871 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001009/0.4666, allocations: 94.77 kB / 1.341 GB, free: 2.754 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 9.63e-05/0.4667, allocations: 23.86 kB / 1.341 GB, free: 2.734 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.441e-05/0.4667, allocations: 23.36 kB / 1.341 GB, free: 2.711 MB / 1.029 GB Notification: Performance of SimCode: time 3.11e-07/0.4667, allocations: 0 / 1.341 GB, free: 2.711 MB / 1.029 GB Notification: Performance of Templates: time 0.01029/0.477, allocations: 4.717 MB / 1.345 GB, free: 14.06 MB / 1.045 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput.pipe ; mkfifo Buildings_12_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput.pipe >> ../files/Buildings_12_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput.sim & ./Buildings_12_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput -abortSlowSimulation -alarm=400 -s cvode -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_HeatPumps_Compressors_Validation_ReciprocatingCompressor_ZeroInput.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput.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.766608164005447]