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.0009054/0.0009054, allocations: 80.8 kB / 20.75 MB, free: 3.738 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.0009109/0.0009109, allocations: 165 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.9127/0.9127, allocations: 177.1 MB / 204.6 MB, free: 5.441 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.844/1.844, allocations: 377.9 MB / 0.624 GB, free: 8.371 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.352e-06/1.352e-06, allocations: 0.9844 kB / 0.76 GB, free: 6.621 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.971e-05/2.106e-05, allocations: 5.125 kB / 0.76 GB, free: 6.617 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor): time 0.002408/0.002429, allocations: 2.1 MB / 0.7621 GB, free: 4.531 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.00169/0.00412, allocations: 1.474 MB / 0.7635 GB, free: 3.074 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.472e-05/0.004184, allocations: 0 / 0.7635 GB, free: 3.074 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 5.942e-05/0.004244, allocations: 15.86 kB / 0.7635 GB, free: 3.059 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 0.0001281/0.004372, allocations: 52.23 kB / 0.7636 GB, free: 3.008 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.001051/0.005423, allocations: 354.1 kB / 0.7639 GB, free: 2.664 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.0002361/0.005659, allocations: 227 kB / 0.7641 GB, free: 2.441 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001344/0.005794, allocations: 38.31 kB / 0.7642 GB, free: 2.398 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001742/0.005968, allocations: 119.8 kB / 0.7643 GB, free: 2.281 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001228/0.006091, allocations: 67.84 kB / 0.7643 GB, free: 2.215 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 2.306e-05/0.006114, allocations: 16 kB / 0.7644 GB, free: 2.199 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005285/0.006642, allocations: 361 kB / 0.7647 GB, free: 1.848 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 3.819e-05/0.00668, allocations: 43.89 kB / 0.7647 GB, free: 1.805 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 5.269e-05/0.006733, allocations: 69.06 kB / 0.7648 GB, free: 1.738 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.0004384/0.007171, allocations: 406.7 kB / 0.7652 GB, free: 1.34 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 2.866e-06/0.007174, allocations: 0 / 0.7652 GB, free: 1.34 MB / 0.7136 GB Notification: Performance of FrontEnd: time 9.12e-07/0.007175, allocations: 0 / 0.7652 GB, free: 1.34 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 3.727e-06/0.007179, allocations: 1.562 kB / 0.7652 GB, free: 1.34 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.0004863/0.007665, allocations: 422.6 kB / 0.7656 GB, free: 0.9023 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 2.696e-05/0.007692, allocations: 8.031 kB / 0.7656 GB, free: 0.8945 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000227/0.007919, allocations: 72.84 kB / 0.7657 GB, free: 0.8242 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003027/0.008222, allocations: 121.6 kB / 0.7658 GB, free: 0.6797 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.835e-05/0.00829, allocations: 78.58 kB / 0.7659 GB, free: 0.5938 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.275e-05/0.008313, allocations: 16.38 kB / 0.7659 GB, free: 0.5781 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002072/0.00852, allocations: 199.7 kB / 0.7661 GB, free: 372 kB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.164e-06/0.008527, allocations: 192 / 0.7661 GB, free: 372 kB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.588e-05/0.008543, allocations: 8.375 kB / 0.7661 GB, free: 364 kB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.902e-06/0.00855, allocations: 8.125 kB / 0.7661 GB, free: 356 kB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.795e-05/0.008618, allocations: 52.5 kB / 0.7661 GB, free: 304 kB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006936/0.009311, allocations: 445.6 kB / 0.7666 GB, free: 15.84 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005829/0.009894, allocations: 195 kB / 0.7667 GB, free: 15.65 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.48e-05/0.009939, allocations: 32.86 kB / 0.7668 GB, free: 15.62 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001878/0.01013, allocations: 70.75 kB / 0.7668 GB, free: 15.55 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.223e-05/0.01015, allocations: 34.56 kB / 0.7669 GB, free: 15.51 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=15): time 1.433e-06/0.01015, allocations: 0 / 0.7669 GB, free: 15.51 MB / 0.7292 GB Notification: Performance of matching and sorting (n=15): time 0.0005601/0.01071, allocations: 206.7 kB / 0.7671 GB, free: 15.3 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.599e-05/0.01074, allocations: 55.41 kB / 0.7671 GB, free: 15.24 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.79e-05/0.01081, allocations: 130.7 kB / 0.7673 GB, free: 15.1 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 2.515e-05/0.01084, allocations: 25.7 kB / 0.7673 GB, free: 15.07 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 7.58e-05/0.01092, allocations: 124.3 kB / 0.7674 GB, free: 14.94 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 4.363e-05/0.01096, allocations: 55.52 kB / 0.7674 GB, free: 14.89 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.083e-05/0.01103, allocations: 49.34 kB / 0.7675 GB, free: 14.84 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 7.6e-05/0.01111, allocations: 314.8 kB / 0.7678 GB, free: 14.52 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.441e-05/0.01116, allocations: 31.98 kB / 0.7678 GB, free: 14.49 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.974e-05/0.0112, allocations: 27.98 kB / 0.7679 GB, free: 14.46 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.477e-05/0.01129, allocations: 79.2 kB / 0.7679 GB, free: 14.38 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.803e-06/0.0113, allocations: 0 / 0.7679 GB, free: 14.38 MB / 0.7292 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0002649/0.01156, allocations: 157.6 kB / 0.7681 GB, free: 14.22 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.276e-05/0.01157, allocations: 11.98 kB / 0.7681 GB, free: 14.21 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.278e-06/0.01158, allocations: 0 / 0.7681 GB, free: 14.21 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002305/0.01181, allocations: 66.3 kB / 0.7682 GB, free: 14.14 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004674/0.01228, allocations: 110.4 kB / 0.7683 GB, free: 14.04 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003155/0.01259, allocations: 0.5445 MB / 0.7688 GB, free: 13.47 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.15e-05/0.01265, allocations: 11.95 kB / 0.7688 GB, free: 13.46 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.839e-06/0.01266, allocations: 4 kB / 0.7688 GB, free: 13.46 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 8.036e-05/0.01274, allocations: 133.8 kB / 0.7689 GB, free: 13.32 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.441e-05/0.01277, allocations: 4 kB / 0.7689 GB, free: 13.31 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002808/0.01305, allocations: 161.4 kB / 0.7691 GB, free: 13.15 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.615e-06/0.01305, allocations: 7.938 kB / 0.7691 GB, free: 13.14 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.916e-06/0.01305, allocations: 4 kB / 0.7691 GB, free: 13.14 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.897e-06/0.01306, allocations: 3.938 kB / 0.7691 GB, free: 13.14 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006308/0.01369, allocations: 432.5 kB / 0.7695 GB, free: 12.68 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.174e-06/0.01369, allocations: 4.75 kB / 0.7695 GB, free: 12.68 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004337/0.01413, allocations: 94.95 kB / 0.7696 GB, free: 12.59 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001828/0.01431, allocations: 88.34 kB / 0.7697 GB, free: 12.5 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.237e-06/0.01432, allocations: 0 / 0.7697 GB, free: 12.5 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002496/0.01457, allocations: 0.5463 MB / 0.7702 GB, free: 11.93 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.833e-06/0.01457, allocations: 4 kB / 0.7702 GB, free: 11.93 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002399/0.01481, allocations: 238.5 kB / 0.7705 GB, free: 11.68 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 1.291e-05/0.01482, allocations: 16.94 kB / 0.7705 GB, free: 11.66 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.073e-05/0.01484, allocations: 11.98 kB / 0.7705 GB, free: 11.65 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.863e-05/0.01491, allocations: 4 kB / 0.7705 GB, free: 11.64 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.287e-05/0.01493, allocations: 16.94 kB / 0.7705 GB, free: 11.63 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.015e-05/0.01494, allocations: 8 kB / 0.7705 GB, free: 11.62 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 1.876e-05/0.01496, allocations: 17.78 kB / 0.7705 GB, free: 11.6 MB / 0.7292 GB Notification: Performance of sort global known variables: time 5e-08/0.01496, allocations: 0 / 0.7705 GB, free: 11.6 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0002856/0.01525, allocations: 135.5 kB / 0.7707 GB, free: 11.47 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.0003046/0.01555, allocations: 228.6 kB / 0.7709 GB, free: 11.24 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0002681/0.01582, allocations: 126.7 kB / 0.771 GB, free: 11.12 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 4.528e-06/0.01583, allocations: 0 / 0.771 GB, free: 11.12 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0001398/0.01597, allocations: 82.58 kB / 0.7711 GB, free: 11.04 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001817/0.01615, allocations: 42.48 kB / 0.7711 GB, free: 11 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00062/0.01677, allocations: 314.2 kB / 0.7714 GB, free: 10.67 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.352e-05/0.01681, allocations: 75.69 kB / 0.7715 GB, free: 10.57 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 6.325e-05/0.01687, allocations: 14.34 kB / 0.7715 GB, free: 10.57 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.713e-05/0.01697, allocations: 84.47 kB / 0.7716 GB, free: 10.48 MB / 0.7292 GB Notification: Performance of SimCode: time 5.21e-07/0.01697, allocations: 0 / 0.7716 GB, free: 10.48 MB / 0.7292 GB Notification: Performance of Templates: time 0.006489/0.02346, allocations: 5.063 MB / 0.7765 GB, free: 5.574 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 -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: 4.920814285054803]