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.0009513/0.0009513, 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.0009564/0.0009564, allocations: 161 kB / 24.17 MB, free: 332 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.9246/0.9246, allocations: 177.1 MB / 204.6 MB, free: 5.488 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.873/1.873, allocations: 377.9 MB / 0.624 GB, free: 8.363 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_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 1.273e-06/1.273e-06, allocations: 0.875 kB / 0.7601 GB, free: 6.617 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.828e-05/1.956e-05, allocations: 2.312 kB / 0.7601 GB, free: 6.613 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput): time 0.002571/0.002591, allocations: 2.148 MB / 0.7622 GB, free: 4.484 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.001695/0.004286, allocations: 1.473 MB / 0.7636 GB, free: 3.027 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.725e-05/0.004343, allocations: 0.7188 kB / 0.7636 GB, free: 3.027 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 5.283e-05/0.004396, allocations: 19.84 kB / 0.7636 GB, free: 3.008 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 9.279e-05/0.004489, allocations: 48.5 kB / 0.7637 GB, free: 2.961 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.000773/0.005262, allocations: 320.6 kB / 0.764 GB, free: 2.648 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.0001831/0.005445, allocations: 232.2 kB / 0.7642 GB, free: 2.422 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001096/0.005554, allocations: 38.31 kB / 0.7642 GB, free: 2.383 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001229/0.005677, allocations: 119.8 kB / 0.7643 GB, free: 2.266 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001131/0.00579, allocations: 70.55 kB / 0.7644 GB, free: 2.199 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 2.521e-05/0.005816, allocations: 20 kB / 0.7644 GB, free: 2.18 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000555/0.006371, allocations: 375.4 kB / 0.7648 GB, free: 1.812 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 4.511e-05/0.006416, allocations: 47.83 kB / 0.7648 GB, free: 1.766 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 6.2e-05/0.006478, allocations: 67.88 kB / 0.7649 GB, free: 1.699 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.0004521/0.00693, allocations: 409.2 kB / 0.7653 GB, free: 1.301 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 2.906e-06/0.006933, allocations: 0 / 0.7653 GB, free: 1.301 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.012e-06/0.006934, allocations: 0 / 0.7653 GB, free: 1.301 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 3.907e-06/0.006938, allocations: 0 / 0.7653 GB, free: 1.301 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.0004919/0.00743, allocations: 420.5 kB / 0.7657 GB, free: 0.8633 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.069e-05/0.00746, allocations: 8.031 kB / 0.7657 GB, free: 0.8555 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002495/0.00771, allocations: 76.34 kB / 0.7658 GB, free: 0.7852 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003475/0.008057, allocations: 125.6 kB / 0.7659 GB, free: 0.6367 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.452e-05/0.008132, allocations: 75.81 kB / 0.766 GB, free: 0.5508 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.124e-05/0.008153, allocations: 20.38 kB / 0.766 GB, free: 0.5312 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000207/0.00836, allocations: 195.7 kB / 0.7662 GB, free: 328 kB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.205e-06/0.008368, allocations: 6.562 kB / 0.7662 GB, free: 324 kB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.323e-05/0.008381, allocations: 4.375 kB / 0.7662 GB, free: 320 kB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.893e-06/0.008388, allocations: 8.125 kB / 0.7662 GB, free: 312 kB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.293e-05/0.008461, allocations: 52.5 kB / 0.7662 GB, free: 260 kB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006902/0.009151, allocations: 447.7 kB / 0.7667 GB, free: 15.8 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005888/0.00974, allocations: 194 kB / 0.7668 GB, free: 15.6 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.621e-05/0.009786, allocations: 35.62 kB / 0.7669 GB, free: 15.57 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001888/0.009975, allocations: 67.92 kB / 0.7669 GB, free: 15.5 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.29e-05/0.009998, allocations: 34.56 kB / 0.767 GB, free: 15.46 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=15): time 1.944e-06/0.01, allocations: 2.438 kB / 0.767 GB, free: 15.46 MB / 0.7292 GB Notification: Performance of matching and sorting (n=15): time 0.0005494/0.01055, allocations: 199.6 kB / 0.7672 GB, free: 15.26 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.24e-05/0.01057, allocations: 59.39 kB / 0.7672 GB, free: 15.19 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.72e-05/0.01064, allocations: 122.7 kB / 0.7673 GB, free: 15.06 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 2.087e-05/0.01066, allocations: 32.02 kB / 0.7674 GB, free: 15.02 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 5.116e-05/0.01071, allocations: 128.3 kB / 0.7675 GB, free: 14.89 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 3.296e-05/0.01074, allocations: 55.52 kB / 0.7675 GB, free: 14.84 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.197e-05/0.0108, allocations: 41.64 kB / 0.7676 GB, free: 14.79 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 6.887e-05/0.01086, allocations: 314.8 kB / 0.7679 GB, free: 14.48 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.426e-05/0.01091, allocations: 31.98 kB / 0.7679 GB, free: 14.45 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.934e-05/0.01095, allocations: 30.75 kB / 0.7679 GB, free: 14.42 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.614e-05/0.01104, allocations: 75.2 kB / 0.768 GB, free: 14.34 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.064e-06/0.01105, allocations: 0.625 kB / 0.768 GB, free: 14.34 MB / 0.7292 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0002494/0.0113, allocations: 164.3 kB / 0.7682 GB, free: 14.18 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.218e-05/0.01131, allocations: 8 kB / 0.7682 GB, free: 14.17 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.759e-06/0.01131, allocations: 0.5938 kB / 0.7682 GB, free: 14.17 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000243/0.01156, allocations: 74.45 kB / 0.7683 GB, free: 14.1 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005554/0.01211, allocations: 123.9 kB / 0.7684 GB, free: 13.98 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003037/0.01242, allocations: 0.5433 MB / 0.7689 GB, free: 13.41 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.881e-05/0.01248, allocations: 19.94 kB / 0.7689 GB, free: 13.39 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.558e-06/0.01249, allocations: 0 / 0.7689 GB, free: 13.39 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.789e-05/0.01257, allocations: 128.4 kB / 0.769 GB, free: 13.26 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.856e-05/0.0126, allocations: 15.98 kB / 0.7691 GB, free: 13.25 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002914/0.01289, allocations: 152.7 kB / 0.7692 GB, free: 13.09 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.938e-06/0.0129, allocations: 7.938 kB / 0.7692 GB, free: 13.09 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.573e-06/0.0129, allocations: 2.25 kB / 0.7692 GB, free: 13.09 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.787e-06/0.0129, allocations: 3.938 kB / 0.7692 GB, free: 13.08 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006388/0.01354, allocations: 435.2 kB / 0.7696 GB, free: 12.62 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.923e-06/0.01354, allocations: 0 / 0.7696 GB, free: 12.62 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005228/0.01406, allocations: 116.6 kB / 0.7697 GB, free: 12.52 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001976/0.01426, allocations: 84.34 kB / 0.7698 GB, free: 12.43 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.003e-05/0.01427, allocations: 0 / 0.7698 GB, free: 12.43 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002538/0.01453, allocations: 0.5463 MB / 0.7704 GB, free: 11.86 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.01453, allocations: 0 / 0.7704 GB, free: 11.86 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002469/0.01477, allocations: 250.8 kB / 0.7706 GB, free: 11.6 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 1.348e-05/0.01479, allocations: 11.89 kB / 0.7706 GB, free: 11.59 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.791e-05/0.01481, allocations: 0 / 0.7706 GB, free: 11.59 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.296e-05/0.01488, allocations: 13.67 kB / 0.7706 GB, free: 11.57 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.409e-05/0.0149, allocations: 11.92 kB / 0.7706 GB, free: 11.56 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.614e-05/0.01492, allocations: 8.172 kB / 0.7706 GB, free: 11.55 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 2.036e-05/0.01494, allocations: 21.86 kB / 0.7707 GB, free: 11.53 MB / 0.7292 GB Notification: Performance of sort global known variables: time 7e-08/0.01494, allocations: 1.156 kB / 0.7707 GB, free: 11.53 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0002936/0.01523, allocations: 135.5 kB / 0.7708 GB, free: 11.4 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.0003199/0.01555, allocations: 231.9 kB / 0.771 GB, free: 11.17 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0002731/0.01583, allocations: 124.9 kB / 0.7711 GB, free: 11.04 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 4.058e-06/0.01583, allocations: 0.875 kB / 0.7711 GB, free: 11.04 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0001488/0.01598, allocations: 87.62 kB / 0.7712 GB, free: 10.96 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001852/0.01616, allocations: 44.81 kB / 0.7713 GB, free: 10.92 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006475/0.01681, allocations: 322 kB / 0.7716 GB, free: 10.58 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.725e-05/0.01685, allocations: 71.7 kB / 0.7716 GB, free: 10.49 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 6.847e-05/0.01692, allocations: 17.7 kB / 0.7717 GB, free: 10.48 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.973e-05/0.01702, allocations: 87.34 kB / 0.7717 GB, free: 10.39 MB / 0.7292 GB Notification: Performance of SimCode: time 7.91e-07/0.01702, allocations: 0.9062 kB / 0.7717 GB, free: 10.39 MB / 0.7292 GB Notification: Performance of Templates: time 0.006734/0.02375, allocations: 5.058 MB / 0.7767 GB, free: 5.484 MB / 0.7292 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=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput.pipe 2>&1) [Timeout 240] 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","",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.868599320761859]