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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001421/0.001421, allocations: 110 kB / 18.93 MB, free: 2.945 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001469/0.001469, allocations: 192.9 kB / 22.23 MB, free: 5.152 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.508/1.508, allocations: 225.6 MB / 251 MB, free: 13 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.x/package.mo): time 3.3/3.3, allocations: 496 MB / 0.7835 GB, free: 33.52 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.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_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: Performance of FrontEnd - loaded program: time 0.002098/0.002098, allocations: 66.91 kB / 1.138 GB, free: 33.79 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4546/0.4567, allocations: 173.6 MB / 1.307 GB, free: 1.801 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput): time 0.003734/0.4604, allocations: 2.05 MB / 1.309 GB, free: 15.74 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.002772/0.4632, allocations: 1.678 MB / 1.311 GB, free: 14.05 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.507e-05/0.4633, allocations: 4 kB / 1.311 GB, free: 14.05 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 6.521e-05/0.4633, allocations: 15.8 kB / 1.311 GB, free: 14.04 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.0001101/0.4634, allocations: 55.55 kB / 1.311 GB, free: 13.98 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.001001/0.4644, allocations: 350.8 kB / 1.311 GB, free: 13.64 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.0002659/0.4647, allocations: 223.1 kB / 1.312 GB, free: 13.42 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001543/0.4649, allocations: 41.59 kB / 1.312 GB, free: 13.37 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001185/0.465, allocations: 79.78 kB / 1.312 GB, free: 13.29 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001576/0.4651, allocations: 91.66 kB / 1.312 GB, free: 13.2 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 3.532e-05/0.4652, allocations: 24 kB / 1.312 GB, free: 13.18 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008088/0.466, allocations: 423.5 kB / 1.312 GB, free: 12.77 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 4.947e-05/0.466, allocations: 39.89 kB / 1.312 GB, free: 12.73 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.0001008/0.4661, allocations: 83.67 kB / 1.312 GB, free: 12.64 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0006301/0.4668, allocations: 434.6 kB / 1.313 GB, free: 12.22 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 5.01e-06/0.4668, allocations: 3.938 kB / 1.313 GB, free: 12.21 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.273e-06/0.4668, allocations: 0 / 1.313 GB, free: 12.21 MB / 1.014 GB Notification: Performance of Transformations before backend: time 1.132e-05/0.4668, allocations: 0 / 1.313 GB, free: 12.21 MB / 1.014 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.0008624/0.4676, allocations: 457.2 kB / 1.313 GB, free: 11.73 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.175e-05/0.4677, allocations: 12.92 kB / 1.313 GB, free: 11.72 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005799/0.4683, allocations: 88.75 kB / 1.313 GB, free: 11.64 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001363/0.4684, allocations: 130.3 kB / 1.313 GB, free: 11.48 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.316e-05/0.4685, allocations: 50.25 kB / 1.313 GB, free: 11.43 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.529e-05/0.4685, allocations: 12.38 kB / 1.313 GB, free: 11.42 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004491/0.469, allocations: 186.8 kB / 1.314 GB, free: 11.23 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.377e-05/0.469, allocations: 3.938 kB / 1.314 GB, free: 11.23 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.545e-05/0.469, allocations: 12 kB / 1.314 GB, free: 11.21 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.167e-05/0.469, allocations: 4 kB / 1.314 GB, free: 11.21 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004512/0.4695, allocations: 172.5 kB / 1.314 GB, free: 11.04 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001304/0.4708, allocations: 0.5855 MB / 1.314 GB, free: 10.41 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004937/0.4713, allocations: 168.2 kB / 1.315 GB, free: 10.24 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001867/0.4715, allocations: 72.81 kB / 1.315 GB, free: 10.17 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004567/0.4719, allocations: 76.16 kB / 1.315 GB, free: 10.09 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.425e-05/0.4719, allocations: 34.56 kB / 1.315 GB, free: 10.05 MB / 1.014 GB Notification: Performance of pre-optimization done (n=14): time 1.132e-06/0.4719, allocations: 0 / 1.315 GB, free: 10.05 MB / 1.014 GB Notification: Performance of matching and sorting (n=14): time 0.0007305/0.4727, allocations: 241.5 kB / 1.315 GB, free: 9.809 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.918e-05/0.4727, allocations: 51.41 kB / 1.315 GB, free: 9.746 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001667/0.4729, allocations: 166.5 kB / 1.315 GB, free: 9.574 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 2.873e-05/0.4729, allocations: 29.7 kB / 1.315 GB, free: 9.539 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001001/0.473, allocations: 119.9 kB / 1.315 GB, free: 9.418 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 4.613e-05/0.4731, allocations: 47.59 kB / 1.315 GB, free: 9.371 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.383e-05/0.4731, allocations: 41.7 kB / 1.315 GB, free: 9.324 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001441/0.4733, allocations: 322.8 kB / 1.316 GB, free: 9 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002052/0.4735, allocations: 71.95 kB / 1.316 GB, free: 8.93 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000213/0.4737, allocations: 93.67 kB / 1.316 GB, free: 8.832 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003783/0.4741, allocations: 155.3 kB / 1.316 GB, free: 8.676 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.118e-06/0.4741, allocations: 3.938 kB / 1.316 GB, free: 8.672 MB / 1.014 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0005124/0.4746, allocations: 219.1 kB / 1.316 GB, free: 8.453 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 1.502e-05/0.4746, allocations: 4 kB / 1.316 GB, free: 8.449 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.551e-06/0.4746, allocations: 0 / 1.316 GB, free: 8.449 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.411e-05/0.4746, allocations: 0 / 1.316 GB, free: 8.449 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002542/0.4749, allocations: 39.91 kB / 1.316 GB, free: 8.41 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.034e-05/0.4749, allocations: 15.95 kB / 1.316 GB, free: 8.395 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001788/0.4751, allocations: 23.88 kB / 1.316 GB, free: 8.371 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.731e-05/0.4751, allocations: 4 kB / 1.316 GB, free: 8.367 MB / 1.014 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.0001421/0.4752, allocations: 141.6 kB / 1.316 GB, free: 8.219 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.658e-05/0.4753, allocations: 11.91 kB / 1.316 GB, free: 8.207 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005282/0.4758, allocations: 197 kB / 1.317 GB, free: 8.012 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.909e-06/0.4758, allocations: 4 kB / 1.317 GB, free: 8.008 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.663e-06/0.4758, allocations: 3.984 kB / 1.317 GB, free: 8.004 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.055e-06/0.4758, allocations: 0 / 1.317 GB, free: 8.004 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001281/0.4771, allocations: 0.577 MB / 1.317 GB, free: 7.371 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.834e-06/0.4771, allocations: 0 / 1.317 GB, free: 7.371 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002039/0.4773, allocations: 35.92 kB / 1.317 GB, free: 7.336 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.294e-06/0.4773, allocations: 4 kB / 1.317 GB, free: 7.332 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.422e-05/0.4773, allocations: 4.062 kB / 1.317 GB, free: 7.328 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.774e-06/0.4773, allocations: 7.984 kB / 1.317 GB, free: 7.32 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.433e-06/0.4773, allocations: 0 / 1.317 GB, free: 7.32 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000506/0.4778, allocations: 296.5 kB / 1.318 GB, free: 7.012 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 2.418e-05/0.4779, allocations: 19.88 kB / 1.318 GB, free: 6.992 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.671e-05/0.4779, allocations: 8 kB / 1.318 GB, free: 6.984 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002095/0.4781, allocations: 11.98 kB / 1.318 GB, free: 6.973 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.293e-05/0.4781, allocations: 19.91 kB / 1.318 GB, free: 6.953 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.437e-05/0.4782, allocations: 4 kB / 1.318 GB, free: 6.949 MB / 1.014 GB Notification: Performance of sorting global known variables: time 9.966e-05/0.4783, allocations: 119.2 kB / 1.318 GB, free: 6.832 MB / 1.014 GB Notification: Performance of sort global known variables: time 8e-08/0.4783, allocations: 0 / 1.318 GB, free: 6.832 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0004414/0.4787, allocations: 123.6 kB / 1.318 GB, free: 6.711 MB / 1.014 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.0004241/0.4791, allocations: 227.6 kB / 1.318 GB, free: 6.48 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.0004861/0.4796, allocations: 167.8 kB / 1.318 GB, free: 6.316 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 2.605e-06/0.4796, allocations: 0 / 1.318 GB, free: 6.316 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0002221/0.4798, allocations: 79.83 kB / 1.318 GB, free: 6.238 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004202/0.4803, allocations: 41.11 kB / 1.318 GB, free: 6.199 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007697/0.481, allocations: 344.9 kB / 1.319 GB, free: 5.832 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003517/0.4814, allocations: 0.7047 MB / 1.319 GB, free: 5.102 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.0001398/0.4815, allocations: 31.53 kB / 1.319 GB, free: 5.074 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.85e-05/0.4816, allocations: 23.42 kB / 1.319 GB, free: 5.055 MB / 1.014 GB Notification: Performance of SimCode: time 3.3e-07/0.4816, allocations: 0 / 1.319 GB, free: 5.055 MB / 1.014 GB Notification: Performance of Templates: time 0.009063/0.4906, allocations: 4.406 MB / 1.324 GB, free: 0.707 MB / 1.014 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 -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/jenkins/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.595804680138826]