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.0009499/0.0009499, allocations: 80.94 kB / 19.94 MB, free: 4.543 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.001025/0.001025, allocations: 177 kB / 23.36 MB, free: 1.125 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.9091/0.9091, allocations: 177.2 MB / 203.8 MB, free: 5.469 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.23/2.23, allocations: 438.8 MB / 0.6827 GB, free: 13.61 MB / 0.6511 GB " [Timeout remaining time 178] 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.613e-06/1.613e-06, allocations: 0 / 0.8386 GB, free: 14.23 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.653e-05/1.814e-05, allocations: 6.25 kB / 0.8386 GB, free: 14.22 MB / 0.8073 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor): time 0.002198/0.002216, allocations: 2.097 MB / 0.8406 GB, free: 12.11 MB / 0.8073 GB Notification: Performance of NFInst.instExpressions: time 0.001819/0.004035, allocations: 1.448 MB / 0.842 GB, free: 10.66 MB / 0.8073 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.84e-05/0.004083, allocations: 0 / 0.842 GB, free: 10.66 MB / 0.8073 GB Notification: Performance of NFTyping.typeComponents: time 4.712e-05/0.00413, allocations: 27.78 kB / 0.8421 GB, free: 10.63 MB / 0.8073 GB Notification: Performance of NFTyping.typeBindings: time 8.673e-05/0.004217, allocations: 47.55 kB / 0.8421 GB, free: 10.58 MB / 0.8073 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007225/0.004939, allocations: 342.6 kB / 0.8424 GB, free: 10.25 MB / 0.8073 GB Notification: Performance of NFFlatten.flatten: time 0.0001591/0.005099, allocations: 231 kB / 0.8427 GB, free: 10.02 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000103/0.005202, allocations: 34.31 kB / 0.8427 GB, free: 9.984 MB / 0.8073 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001082/0.00531, allocations: 127.8 kB / 0.8428 GB, free: 9.859 MB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 9.877e-05/0.005409, allocations: 67.78 kB / 0.8429 GB, free: 9.793 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 2.265e-05/0.005431, allocations: 20 kB / 0.8429 GB, free: 9.773 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004448/0.005876, allocations: 351.5 kB / 0.8432 GB, free: 9.43 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 3.233e-05/0.005908, allocations: 43.83 kB / 0.8433 GB, free: 9.387 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 4.964e-05/0.005958, allocations: 71.83 kB / 0.8434 GB, free: 9.316 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 0.0004252/0.006383, allocations: 390.8 kB / 0.8437 GB, free: 8.934 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 3.045e-06/0.006386, allocations: 0 / 0.8437 GB, free: 8.934 MB / 0.8073 GB Notification: Performance of FrontEnd: time 7.42e-07/0.006387, allocations: 4 kB / 0.8437 GB, free: 8.93 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 3.507e-06/0.006391, allocations: 0 / 0.8437 GB, free: 8.93 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.0004662/0.006857, allocations: 423.9 kB / 0.8441 GB, free: 8.484 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 2.999e-05/0.006887, allocations: 8.625 kB / 0.8441 GB, free: 8.477 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007028/0.00759, allocations: 176.7 kB / 0.8443 GB, free: 8.305 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.783e-05/0.007687, allocations: 113.7 kB / 0.8444 GB, free: 8.168 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.412e-05/0.007762, allocations: 79.95 kB / 0.8445 GB, free: 8.078 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.734e-05/0.007789, allocations: 20.31 kB / 0.8445 GB, free: 8.059 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003746/0.008163, allocations: 271.6 kB / 0.8448 GB, free: 7.773 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.346e-06/0.008172, allocations: 4.125 kB / 0.8448 GB, free: 7.77 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.049e-05/0.008192, allocations: 8.375 kB / 0.8448 GB, free: 7.762 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.945e-06/0.0082, allocations: 8.125 kB / 0.8448 GB, free: 7.754 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000131/0.008331, allocations: 92.41 kB / 0.8449 GB, free: 7.664 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007382/0.009069, allocations: 483.5 kB / 0.8453 GB, free: 7.176 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006411/0.009711, allocations: 262.2 kB / 0.8456 GB, free: 6.91 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.606e-05/0.009787, allocations: 60.84 kB / 0.8456 GB, free: 6.848 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 6.062e-05/0.009847, allocations: 19.98 kB / 0.8457 GB, free: 6.828 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.974e-05/0.009867, allocations: 34.56 kB / 0.8457 GB, free: 6.785 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=15): time 1.242e-06/0.009868, allocations: 0 / 0.8457 GB, free: 6.785 MB / 0.8073 GB Notification: Performance of matching and sorting (n=15): time 0.0006203/0.01049, allocations: 262.5 kB / 0.846 GB, free: 6.52 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.151e-05/0.01052, allocations: 55.41 kB / 0.846 GB, free: 6.453 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.567e-05/0.0106, allocations: 126.7 kB / 0.8461 GB, free: 6.316 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 2.85e-05/0.01062, allocations: 29.7 kB / 0.8462 GB, free: 6.281 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 5.224e-05/0.01068, allocations: 120.3 kB / 0.8463 GB, free: 6.16 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 3.232e-05/0.01071, allocations: 55.52 kB / 0.8463 GB, free: 6.105 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.687e-05/0.01078, allocations: 45.67 kB / 0.8464 GB, free: 6.055 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 7.497e-05/0.01085, allocations: 326.8 kB / 0.8467 GB, free: 5.727 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.068e-05/0.01092, allocations: 43.98 kB / 0.8467 GB, free: 5.684 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.385e-05/0.011, allocations: 55.94 kB / 0.8468 GB, free: 5.629 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001424/0.01114, allocations: 102.8 kB / 0.8469 GB, free: 5.527 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.484e-06/0.01114, allocations: 0 / 0.8469 GB, free: 5.527 MB / 0.8073 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003071/0.01145, allocations: 183.4 kB / 0.847 GB, free: 5.34 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.11e-05/0.01146, allocations: 4 kB / 0.847 GB, free: 5.336 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.388e-06/0.01146, allocations: 0 / 0.847 GB, free: 5.336 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002146/0.01168, allocations: 88.12 kB / 0.8471 GB, free: 5.25 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005454/0.01222, allocations: 131.9 kB / 0.8473 GB, free: 5.121 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002795/0.0125, allocations: 0.5445 MB / 0.8478 GB, free: 4.551 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001308/0.01263, allocations: 27.92 kB / 0.8478 GB, free: 4.523 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.63e-05/0.01265, allocations: 7.984 kB / 0.8478 GB, free: 4.516 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.07e-05/0.01274, allocations: 125.7 kB / 0.8479 GB, free: 4.383 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.599e-05/0.01278, allocations: 19.92 kB / 0.848 GB, free: 4.363 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004045/0.01318, allocations: 224.8 kB / 0.8482 GB, free: 4.141 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.715e-06/0.01318, allocations: 0 / 0.8482 GB, free: 4.141 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.383e-06/0.01318, allocations: 0 / 0.8482 GB, free: 4.141 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.519e-06/0.01319, allocations: 3.938 kB / 0.8482 GB, free: 4.137 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009374/0.01413, allocations: 0.4957 MB / 0.8487 GB, free: 3.609 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.214e-06/0.01413, allocations: 0 / 0.8487 GB, free: 3.609 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007605/0.01489, allocations: 119.9 kB / 0.8488 GB, free: 3.492 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001758/0.01506, allocations: 80.73 kB / 0.8489 GB, free: 3.41 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.5e-05/0.01508, allocations: 3.984 kB / 0.8489 GB, free: 3.406 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000233/0.01531, allocations: 0.5523 MB / 0.8494 GB, free: 2.828 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.01531, allocations: 4 kB / 0.8494 GB, free: 2.824 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002902/0.0156, allocations: 245.9 kB / 0.8496 GB, free: 2.559 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 1.222e-05/0.01562, allocations: 15.89 kB / 0.8497 GB, free: 2.543 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.705e-05/0.01564, allocations: 7.984 kB / 0.8497 GB, free: 2.535 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001433/0.01579, allocations: 27.98 kB / 0.8497 GB, free: 2.508 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.324e-05/0.01581, allocations: 15.86 kB / 0.8497 GB, free: 2.492 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.392e-05/0.01582, allocations: 3.984 kB / 0.8497 GB, free: 2.488 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 1.843e-05/0.01584, allocations: 28.09 kB / 0.8497 GB, free: 2.461 MB / 0.8073 GB Notification: Performance of sort global known variables: time 5e-08/0.01584, allocations: 0 / 0.8497 GB, free: 2.461 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0002935/0.01614, allocations: 131.6 kB / 0.8499 GB, free: 2.332 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.00028/0.01642, allocations: 219.8 kB / 0.8501 GB, free: 2.105 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.0003144/0.01673, allocations: 156.1 kB / 0.8502 GB, free: 1.949 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 3.186e-06/0.01673, allocations: 4 kB / 0.8502 GB, free: 1.945 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 0.0001659/0.0169, allocations: 89.2 kB / 0.8503 GB, free: 1.855 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001816/0.01708, allocations: 46.84 kB / 0.8503 GB, free: 1.812 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006447/0.01773, allocations: 333.9 kB / 0.8507 GB, free: 1.457 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.596e-05/0.01776, allocations: 67.84 kB / 0.8507 GB, free: 1.367 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 0.0001507/0.01791, allocations: 51.69 kB / 0.8508 GB, free: 1.316 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001726/0.01808, allocations: 91.33 kB / 0.8509 GB, free: 1.227 MB / 0.8073 GB Notification: Performance of SimCode: time 5.31e-07/0.01809, allocations: 0 / 0.8509 GB, free: 1.227 MB / 0.8073 GB Notification: Performance of Templates: time 0.007304/0.02539, allocations: 6.78 MB / 0.8575 GB, free: 10.5 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 -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.173135864082724]