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.001325/0.001325, allocations: 80.92 kB / 20.75 MB, free: 3.742 MB / 18.57 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.00147/0.00147, allocations: 161 kB / 24.17 MB, free: 328 kB / 18.57 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 0.9795/0.9795, allocations: 177.1 MB / 204.6 MB, free: 5.461 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo): time 1.865/1.865, allocations: 377.9 MB / 0.624 GB, free: 8.359 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-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: Performance of FrontEnd - loaded program: time 1.473e-06/1.473e-06, allocations: 0.875 kB / 0.7601 GB, free: 6.586 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.843e-05/1.99e-05, allocations: 2.844 kB / 0.7601 GB, free: 6.582 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor): time 0.002451/0.002471, allocations: 2.144 MB / 0.7622 GB, free: 4.453 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.001672/0.004144, allocations: 1.464 MB / 0.7636 GB, free: 3.004 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.44e-05/0.004198, allocations: 0.9688 kB / 0.7636 GB, free: 3.004 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 5.104e-05/0.004249, allocations: 23.78 kB / 0.7636 GB, free: 2.98 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 8.363e-05/0.004333, allocations: 49.27 kB / 0.7637 GB, free: 2.934 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007966/0.005129, allocations: 319.9 kB / 0.764 GB, free: 2.621 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.0001883/0.005318, allocations: 240.1 kB / 0.7642 GB, free: 2.387 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001054/0.005423, allocations: 30.33 kB / 0.7642 GB, free: 2.355 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001202/0.005543, allocations: 119.8 kB / 0.7643 GB, free: 2.238 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001155/0.005659, allocations: 72.98 kB / 0.7644 GB, free: 2.168 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 2.39e-05/0.005683, allocations: 20 kB / 0.7644 GB, free: 2.148 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005986/0.006281, allocations: 386.1 kB / 0.7648 GB, free: 1.773 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 3.879e-05/0.00632, allocations: 47.83 kB / 0.7648 GB, free: 1.727 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 5.456e-05/0.006375, allocations: 59.89 kB / 0.7649 GB, free: 1.668 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.0004354/0.00681, allocations: 398.8 kB / 0.7653 GB, free: 1.277 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 3.667e-06/0.006814, allocations: 0 / 0.7653 GB, free: 1.277 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.002e-06/0.006815, allocations: 0 / 0.7653 GB, free: 1.277 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 4.028e-06/0.006819, allocations: 0 / 0.7653 GB, free: 1.277 MB / 0.7136 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.0004879/0.007306, allocations: 430.3 kB / 0.7657 GB, free: 0.832 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 2.989e-05/0.007336, allocations: 8.031 kB / 0.7657 GB, free: 0.8242 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002504/0.007587, allocations: 70.45 kB / 0.7658 GB, free: 0.7578 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.658e-05/0.007673, allocations: 125.6 kB / 0.7659 GB, free: 0.6094 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.171e-05/0.007745, allocations: 84.3 kB / 0.766 GB, free: 0.5156 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.066e-05/0.007766, allocations: 16.38 kB / 0.766 GB, free: 0.5 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002021/0.007968, allocations: 206.2 kB / 0.7662 GB, free: 288 kB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.086e-06/0.007976, allocations: 192 / 0.7662 GB, free: 288 kB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.422e-05/0.00799, allocations: 4.375 kB / 0.7662 GB, free: 284 kB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.396e-06/0.007998, allocations: 12.11 kB / 0.7662 GB, free: 272 kB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.104e-05/0.008069, allocations: 48.56 kB / 0.7662 GB, free: 224 kB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000687/0.008756, allocations: 442 kB / 0.7667 GB, free: 15.77 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008004/0.009557, allocations: 193.1 kB / 0.7668 GB, free: 15.58 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.977e-05/0.009617, allocations: 32.86 kB / 0.7669 GB, free: 15.54 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002065/0.009823, allocations: 63.69 kB / 0.7669 GB, free: 15.48 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.209e-05/0.009845, allocations: 34.56 kB / 0.767 GB, free: 15.44 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=15): time 1.714e-06/0.009847, allocations: 0 / 0.767 GB, free: 15.44 MB / 0.7292 GB Notification: Performance of matching and sorting (n=15): time 0.0006507/0.0105, allocations: 213.2 kB / 0.7672 GB, free: 15.23 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.392e-05/0.01052, allocations: 55.41 kB / 0.7672 GB, free: 15.16 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.722e-05/0.01059, allocations: 126.7 kB / 0.7673 GB, free: 15.03 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 1.9e-05/0.01061, allocations: 25.7 kB / 0.7674 GB, free: 15 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 5.077e-05/0.01066, allocations: 120.3 kB / 0.7675 GB, free: 14.88 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 2.813e-05/0.01069, allocations: 56.48 kB / 0.7675 GB, free: 14.82 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.136e-05/0.01074, allocations: 41.64 kB / 0.7676 GB, free: 14.77 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 6.848e-05/0.01081, allocations: 321.2 kB / 0.7679 GB, free: 14.45 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.26e-05/0.01085, allocations: 31.98 kB / 0.7679 GB, free: 14.42 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.961e-05/0.01089, allocations: 28 kB / 0.7679 GB, free: 14.39 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.29e-05/0.01098, allocations: 82.95 kB / 0.768 GB, free: 14.31 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.963e-06/0.01098, allocations: 0 / 0.768 GB, free: 14.31 MB / 0.7292 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0002373/0.01122, allocations: 155.9 kB / 0.7682 GB, free: 14.15 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.347e-05/0.01123, allocations: 4.656 kB / 0.7682 GB, free: 14.15 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.178e-06/0.01124, allocations: 0 / 0.7682 GB, free: 14.15 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000233/0.01147, allocations: 83.2 kB / 0.7682 GB, free: 14.07 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005627/0.01203, allocations: 120.7 kB / 0.7684 GB, free: 13.96 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000276/0.01231, allocations: 0.5374 MB / 0.7689 GB, free: 13.39 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.152e-05/0.01237, allocations: 20.42 kB / 0.7689 GB, free: 13.38 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.879e-06/0.01238, allocations: 6.688 kB / 0.7689 GB, free: 13.37 MB / 0.7292 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.011e-05/0.01245, allocations: 129.8 kB / 0.769 GB, free: 13.23 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.952e-05/0.01248, allocations: 16.08 kB / 0.7691 GB, free: 13.22 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002858/0.01277, allocations: 161.4 kB / 0.7692 GB, free: 13.05 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.216e-06/0.01277, allocations: 4 kB / 0.7692 GB, free: 13.05 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.254e-06/0.01277, allocations: 3.984 kB / 0.7692 GB, free: 13.05 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.608e-06/0.01278, allocations: 3.938 kB / 0.7692 GB, free: 13.04 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006053/0.01338, allocations: 433.4 kB / 0.7696 GB, free: 12.59 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.783e-06/0.01338, allocations: 1.062 kB / 0.7696 GB, free: 12.59 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005232/0.01391, allocations: 119.7 kB / 0.7697 GB, free: 12.48 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001917/0.0141, allocations: 76.48 kB / 0.7698 GB, free: 12.4 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.638e-06/0.01411, allocations: 0 / 0.7698 GB, free: 12.4 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002398/0.01435, allocations: 0.5494 MB / 0.7704 GB, free: 11.83 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.01435, allocations: 4.906 kB / 0.7704 GB, free: 11.82 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002405/0.01459, allocations: 238.3 kB / 0.7706 GB, free: 11.57 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 1.133e-05/0.0146, allocations: 15.88 kB / 0.7706 GB, free: 11.55 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.797e-05/0.01462, allocations: 5.094 kB / 0.7706 GB, free: 11.55 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.22e-05/0.01469, allocations: 7.938 kB / 0.7706 GB, free: 11.54 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.554e-05/0.01472, allocations: 20.81 kB / 0.7706 GB, free: 11.52 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.927e-06/0.01473, allocations: 4 kB / 0.7706 GB, free: 11.52 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 1.922e-05/0.01475, allocations: 25.7 kB / 0.7707 GB, free: 11.49 MB / 0.7292 GB Notification: Performance of sort global known variables: time 5e-08/0.01475, allocations: 1.719 kB / 0.7707 GB, free: 11.49 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0002706/0.01502, allocations: 131.6 kB / 0.7708 GB, free: 11.36 MB / 0.7292 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.0002929/0.01531, allocations: 227.5 kB / 0.771 GB, free: 11.14 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0002674/0.01558, allocations: 130.4 kB / 0.7711 GB, free: 11.01 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 3.737e-06/0.01558, allocations: 0.7812 kB / 0.7711 GB, free: 11.01 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0001428/0.01572, allocations: 82.11 kB / 0.7712 GB, free: 10.93 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001741/0.0159, allocations: 42.02 kB / 0.7713 GB, free: 10.89 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005678/0.01646, allocations: 304.4 kB / 0.7715 GB, free: 10.57 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.234e-05/0.01651, allocations: 71.7 kB / 0.7716 GB, free: 10.48 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 6.112e-05/0.01657, allocations: 15.75 kB / 0.7716 GB, free: 10.47 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.449e-05/0.01666, allocations: 88.22 kB / 0.7717 GB, free: 10.38 MB / 0.7292 GB Notification: Performance of SimCode: time 7.21e-07/0.01666, allocations: 0 / 0.7717 GB, free: 10.38 MB / 0.7292 GB Notification: Performance of Templates: time 0.006644/0.02331, allocations: 5.067 MB / 0.7767 GB, free: 5.461 MB / 0.7292 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=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.pipe 2>&1) [Timeout 240] 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.000318999867886]