Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.0009442/0.0009442, allocations: 80.81 kB / 19.94 MB, free: 4.547 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.001037/0.001037, allocations: 177 kB / 23.36 MB, free: 1.133 MB / 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.9697/0.9697, allocations: 177.1 MB / 203.8 MB, free: 5.461 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.4/2.4, allocations: 438.8 MB / 0.6827 GB, free: 13.6 MB / 0.6511 GB " [Timeout remaining time 177] Using package Buildings with version 14.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_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_latest_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.533e-06/1.533e-06, allocations: 0 / 0.8386 GB, free: 14.19 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.357e-05/2.51e-05, allocations: 6.25 kB / 0.8386 GB, free: 14.18 MB / 0.8073 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor): time 0.005237/0.005263, allocations: 2.148 MB / 0.8407 GB, free: 12.02 MB / 0.8073 GB Notification: Performance of NFInst.instExpressions: time 0.001884/0.007147, allocations: 1.459 MB / 0.8421 GB, free: 10.55 MB / 0.8073 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.013e-05/0.007197, allocations: 0 / 0.8421 GB, free: 10.55 MB / 0.8073 GB Notification: Performance of NFTyping.typeComponents: time 5.37e-05/0.00725, allocations: 23.78 kB / 0.8422 GB, free: 10.53 MB / 0.8073 GB Notification: Performance of NFTyping.typeBindings: time 9.701e-05/0.007347, allocations: 43.56 kB / 0.8422 GB, free: 10.49 MB / 0.8073 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008231/0.008171, allocations: 322.6 kB / 0.8425 GB, free: 10.17 MB / 0.8073 GB Notification: Performance of NFFlatten.flatten: time 0.0002098/0.00838, allocations: 231 kB / 0.8427 GB, free: 9.945 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001162/0.008497, allocations: 34.31 kB / 0.8428 GB, free: 9.914 MB / 0.8073 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001462/0.008643, allocations: 127.8 kB / 0.8429 GB, free: 9.789 MB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001149/0.008758, allocations: 67.83 kB / 0.843 GB, free: 9.723 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 2.643e-05/0.008784, allocations: 20 kB / 0.843 GB, free: 9.703 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006095/0.009394, allocations: 379.4 kB / 0.8433 GB, free: 9.332 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 3.687e-05/0.00943, allocations: 43.89 kB / 0.8434 GB, free: 9.289 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 6.17e-05/0.009492, allocations: 59.89 kB / 0.8434 GB, free: 9.23 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 0.0004627/0.009955, allocations: 398.7 kB / 0.8438 GB, free: 8.84 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 2.485e-06/0.009957, allocations: 0 / 0.8438 GB, free: 8.84 MB / 0.8073 GB Notification: Performance of FrontEnd: time 9.61e-07/0.009958, allocations: 0 / 0.8438 GB, free: 8.84 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 3.316e-06/0.009962, allocations: 0 / 0.8438 GB, free: 8.84 MB / 0.8073 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.0007643/0.01073, allocations: 423.8 kB / 0.8442 GB, free: 8.395 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 3.149e-05/0.01076, allocations: 12.62 kB / 0.8442 GB, free: 8.383 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009286/0.01169, allocations: 176.7 kB / 0.8444 GB, free: 8.211 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.018e-05/0.01178, allocations: 121.7 kB / 0.8445 GB, free: 8.066 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.261e-05/0.01184, allocations: 71.97 kB / 0.8446 GB, free: 7.984 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.435e-05/0.01187, allocations: 16.38 kB / 0.8446 GB, free: 7.969 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004439/0.01232, allocations: 275.6 kB / 0.8449 GB, free: 7.68 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.007e-06/0.01233, allocations: 192 / 0.8449 GB, free: 7.68 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.324e-05/0.01235, allocations: 8.375 kB / 0.8449 GB, free: 7.672 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.516e-06/0.01236, allocations: 8.125 kB / 0.8449 GB, free: 7.664 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001774/0.01254, allocations: 96.41 kB / 0.845 GB, free: 7.57 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008721/0.01341, allocations: 487.4 kB / 0.8454 GB, free: 7.078 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008422/0.01425, allocations: 246.4 kB / 0.8457 GB, free: 6.828 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001039/0.01435, allocations: 68.77 kB / 0.8457 GB, free: 6.758 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 6.186e-05/0.01442, allocations: 12 kB / 0.8457 GB, free: 6.746 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.455e-05/0.01444, allocations: 42.55 kB / 0.8458 GB, free: 6.695 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=15): time 1.342e-06/0.01444, allocations: 4 kB / 0.8458 GB, free: 6.691 MB / 0.8073 GB Notification: Performance of matching and sorting (n=15): time 0.0007615/0.0152, allocations: 262.1 kB / 0.846 GB, free: 6.43 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.158e-05/0.01522, allocations: 55.41 kB / 0.8461 GB, free: 6.363 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.216e-05/0.0153, allocations: 122.7 kB / 0.8462 GB, free: 6.23 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 2.967e-05/0.01533, allocations: 33.7 kB / 0.8462 GB, free: 6.191 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 5.637e-05/0.01538, allocations: 120.3 kB / 0.8464 GB, free: 6.07 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 4.325e-05/0.01543, allocations: 59.52 kB / 0.8464 GB, free: 6.012 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.48e-05/0.01551, allocations: 37.69 kB / 0.8465 GB, free: 5.969 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 7.974e-05/0.01559, allocations: 326.8 kB / 0.8468 GB, free: 5.641 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.977e-05/0.01569, allocations: 47.98 kB / 0.8468 GB, free: 5.594 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.717e-05/0.01579, allocations: 54 kB / 0.8469 GB, free: 5.543 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001808/0.01597, allocations: 98 kB / 0.847 GB, free: 5.445 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.975e-06/0.01597, allocations: 4 kB / 0.847 GB, free: 5.441 MB / 0.8073 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003906/0.01636, allocations: 194.3 kB / 0.8471 GB, free: 5.242 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.388e-05/0.01638, allocations: 10.44 kB / 0.8472 GB, free: 5.234 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.958e-06/0.01638, allocations: 4 kB / 0.8472 GB, free: 5.23 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002812/0.01666, allocations: 76.78 kB / 0.8472 GB, free: 5.152 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008454/0.01751, allocations: 139.8 kB / 0.8474 GB, free: 5.016 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003464/0.01785, allocations: 0.5562 MB / 0.8479 GB, free: 4.434 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001807/0.01803, allocations: 23.94 kB / 0.8479 GB, free: 4.41 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.326e-05/0.01806, allocations: 7.984 kB / 0.8479 GB, free: 4.402 MB / 0.8073 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 9.364e-05/0.01815, allocations: 125.7 kB / 0.8481 GB, free: 4.27 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.581e-05/0.0182, allocations: 12 kB / 0.8481 GB, free: 4.258 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005212/0.01872, allocations: 221.9 kB / 0.8483 GB, free: 4.039 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.976e-06/0.01872, allocations: 0 / 0.8483 GB, free: 4.039 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.273e-06/0.01872, allocations: 0 / 0.8483 GB, free: 4.039 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.979e-06/0.01873, allocations: 11.92 kB / 0.8483 GB, free: 4.027 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00123/0.01996, allocations: 0.493 MB / 0.8488 GB, free: 3.5 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.974e-06/0.01996, allocations: 0 / 0.8488 GB, free: 3.5 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000811/0.02077, allocations: 131.9 kB / 0.8489 GB, free: 3.371 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002552/0.02102, allocations: 95.47 kB / 0.849 GB, free: 3.277 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.414e-05/0.02105, allocations: 7.984 kB / 0.849 GB, free: 3.27 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002989/0.02135, allocations: 0.5407 MB / 0.8495 GB, free: 2.703 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.463e-06/0.02135, allocations: 4 kB / 0.8495 GB, free: 2.699 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003853/0.02173, allocations: 256 kB / 0.8498 GB, free: 2.426 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 1.49e-05/0.02175, allocations: 15.89 kB / 0.8498 GB, free: 2.41 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.304e-05/0.02178, allocations: 8 kB / 0.8498 GB, free: 2.402 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002086/0.02199, allocations: 27.97 kB / 0.8498 GB, free: 2.375 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.877e-05/0.02202, allocations: 11.92 kB / 0.8498 GB, free: 2.363 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.11e-05/0.02204, allocations: 7.984 kB / 0.8498 GB, free: 2.355 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 2.29e-05/0.02206, allocations: 24.83 kB / 0.8499 GB, free: 2.328 MB / 0.8073 GB Notification: Performance of sort global known variables: time 6e-08/0.02206, allocations: 0 / 0.8499 GB, free: 2.328 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0003753/0.02244, allocations: 131.6 kB / 0.85 GB, free: 2.199 MB / 0.8073 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.0003341/0.02277, allocations: 223.8 kB / 0.8502 GB, free: 1.969 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.0004137/0.02319, allocations: 150.7 kB / 0.8503 GB, free: 1.82 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 5.27e-06/0.02319, allocations: 4 kB / 0.8504 GB, free: 1.816 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 0.0002365/0.02343, allocations: 89.2 kB / 0.8504 GB, free: 1.727 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002375/0.02367, allocations: 52.08 kB / 0.8505 GB, free: 1.676 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008258/0.02449, allocations: 326.7 kB / 0.8508 GB, free: 1.328 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.504e-05/0.02454, allocations: 67.84 kB / 0.8509 GB, free: 1.238 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 0.0002081/0.02475, allocations: 45.14 kB / 0.8509 GB, free: 1.191 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002331/0.02498, allocations: 91.31 kB / 0.851 GB, free: 1.102 MB / 0.8073 GB Notification: Performance of SimCode: time 8.42e-07/0.02498, allocations: 0 / 0.851 GB, free: 1.102 MB / 0.8073 GB Notification: Performance of Templates: time 0.009572/0.03455, allocations: 6.784 MB / 0.8576 GB, free: 10.38 MB / 0.823 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.pipe ; mkfifo Buildings_latest_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.pipe >> ../files/Buildings_latest_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.sim & ./Buildings_latest_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/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.152303779032081]