Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy.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.001467/0.001467, allocations: 102.1 kB / 19.7 MB, free: 2.254 MB / 14.72 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.00162/0.00162, allocations: 220.9 kB / 23.01 MB, free: 4.609 MB / 14.72 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 1.335/1.335, allocations: 230.6 MB / 256.8 MB, free: 8.016 MB / 206.1 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.975/2.975, allocations: 0.505 GB / 0.8108 GB, free: 22.04 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 13.0.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.Sensors.Examples.SpecificEnthalpy,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|senStr.port_a.m_flow|senStr.h_out|senFloSou.h_out",fileNamePrefix="Buildings_latest_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy") translateModel(Buildings.Fluid.Sensors.Examples.SpecificEnthalpy,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|senStr.port_a.m_flow|senStr.h_out|senFloSou.h_out",fileNamePrefix="Buildings_latest_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001946/0.001946, allocations: 62.77 kB / 1.178 GB, free: 16.69 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2867/0.2886, allocations: 180.2 MB / 1.354 GB, free: 7.891 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.SpecificEnthalpy): time 0.1728/0.4614, allocations: 164.9 MB / 1.515 GB, free: 2.352 MB / 1.201 GB Notification: Performance of NFInst.instExpressions: time 0.006038/0.4674, allocations: 4.614 MB / 1.52 GB, free: 13.72 MB / 1.217 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003127/0.4677, allocations: 19.81 kB / 1.52 GB, free: 13.7 MB / 1.217 GB Notification: Performance of NFTyping.typeComponents: time 0.0003949/0.4681, allocations: 123.1 kB / 1.52 GB, free: 13.58 MB / 1.217 GB Notification: Performance of NFTyping.typeBindings: time 0.0007398/0.4689, allocations: 350.4 kB / 1.52 GB, free: 13.24 MB / 1.217 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007028/0.4696, allocations: 297.5 kB / 1.52 GB, free: 12.95 MB / 1.217 GB Notification: Performance of NFFlatten.flatten: time 0.0006156/0.4702, allocations: 0.5651 MB / 1.521 GB, free: 12.38 MB / 1.217 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002798/0.4705, allocations: 165.4 kB / 1.521 GB, free: 12.22 MB / 1.217 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001327/0.4718, allocations: 0.6889 MB / 1.522 GB, free: 11.53 MB / 1.217 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002823/0.4721, allocations: 199.2 kB / 1.522 GB, free: 11.34 MB / 1.217 GB Notification: Performance of NFPackage.collectConstants: time 3.166e-05/0.4721, allocations: 16 kB / 1.522 GB, free: 11.32 MB / 1.217 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001652/0.4723, allocations: 87.92 kB / 1.522 GB, free: 11.23 MB / 1.217 GB Notification: Performance of NFScalarize.scalarize: time 0.0001036/0.4724, allocations: 83.78 kB / 1.522 GB, free: 11.15 MB / 1.217 GB Notification: Performance of NFVerifyModel.verify: time 0.0001185/0.4725, allocations: 127.3 kB / 1.522 GB, free: 11.03 MB / 1.217 GB Notification: Performance of NFConvertDAE.convert: time 0.0003625/0.4728, allocations: 294.8 kB / 1.523 GB, free: 10.74 MB / 1.217 GB Notification: Performance of FrontEnd - DAE generated: time 3.216e-06/0.4728, allocations: 4 kB / 1.523 GB, free: 10.73 MB / 1.217 GB Notification: Performance of FrontEnd: time 1.372e-06/0.4728, allocations: 0 / 1.523 GB, free: 10.73 MB / 1.217 GB Notification: Performance of Transformations before backend: time 5.431e-06/0.4729, allocations: 0 / 1.523 GB, free: 10.73 MB / 1.217 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 42 * Number of variables: 42 Notification: Performance of Generate backend data structure: time 0.0007387/0.4736, allocations: 476.8 kB / 1.523 GB, free: 10.24 MB / 1.217 GB Notification: Performance of prepare preOptimizeDAE: time 3.112e-05/0.4736, allocations: 12.03 kB / 1.523 GB, free: 10.23 MB / 1.217 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.061e-05/0.4737, allocations: 35.69 kB / 1.523 GB, free: 10.19 MB / 1.217 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000379/0.4741, allocations: 237.3 kB / 1.523 GB, free: 9.934 MB / 1.217 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.367e-05/0.4741, allocations: 12 kB / 1.523 GB, free: 9.922 MB / 1.217 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.848e-05/0.4741, allocations: 20 kB / 1.523 GB, free: 9.902 MB / 1.217 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004071/0.4745, allocations: 258.1 kB / 1.524 GB, free: 9.613 MB / 1.217 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.508e-06/0.4745, allocations: 0 / 1.524 GB, free: 9.613 MB / 1.217 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.987e-05/0.4746, allocations: 11.94 kB / 1.524 GB, free: 9.602 MB / 1.217 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.522e-06/0.4746, allocations: 4 kB / 1.524 GB, free: 9.598 MB / 1.217 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003176/0.4749, allocations: 159.7 kB / 1.524 GB, free: 9.441 MB / 1.217 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001298/0.4762, allocations: 1.32 MB / 1.525 GB, free: 8.039 MB / 1.217 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002827/0.4765, allocations: 179.7 kB / 1.525 GB, free: 7.809 MB / 1.217 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001584/0.4766, allocations: 97.05 kB / 1.525 GB, free: 7.695 MB / 1.217 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002976/0.4769, allocations: 40.02 kB / 1.525 GB, free: 7.656 MB / 1.217 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.131e-05/0.4769, allocations: 46.44 kB / 1.525 GB, free: 7.602 MB / 1.217 GB Notification: Performance of pre-optimization done (n=10): time 1.142e-06/0.4769, allocations: 0 / 1.525 GB, free: 7.602 MB / 1.217 GB Notification: Performance of matching and sorting (n=10): time 0.0005698/0.4775, allocations: 210.1 kB / 1.526 GB, free: 7.391 MB / 1.217 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.464e-05/0.4776, allocations: 183.9 kB / 1.526 GB, free: 7.168 MB / 1.217 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00028/0.4779, allocations: 292.2 kB / 1.526 GB, free: 6.871 MB / 1.217 GB Notification: Performance of collectPreVariables (initialization): time 2.067e-05/0.4779, allocations: 25.7 kB / 1.526 GB, free: 6.84 MB / 1.217 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001137/0.478, allocations: 159.9 kB / 1.526 GB, free: 6.68 MB / 1.217 GB Notification: Performance of collectInitialBindings (initialization): time 3.412e-05/0.4781, allocations: 35.69 kB / 1.526 GB, free: 6.645 MB / 1.217 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.577e-05/0.4781, allocations: 33.72 kB / 1.526 GB, free: 6.605 MB / 1.217 GB Notification: Performance of setup shared object (initialization): time 0.00014/0.4783, allocations: 334.8 kB / 1.527 GB, free: 6.27 MB / 1.217 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001206/0.4784, allocations: 47.95 kB / 1.527 GB, free: 6.223 MB / 1.217 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001824/0.4786, allocations: 119.7 kB / 1.527 GB, free: 6.078 MB / 1.217 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002774/0.4788, allocations: 154.7 kB / 1.527 GB, free: 5.902 MB / 1.217 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.837e-06/0.4788, allocations: 7.938 kB / 1.527 GB, free: 5.895 MB / 1.217 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003531/0.4792, allocations: 185.4 kB / 1.527 GB, free: 5.707 MB / 1.217 GB Notification: Performance of prepare postOptimizeDAE: time 1.483e-05/0.4792, allocations: 9.812 kB / 1.527 GB, free: 5.699 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.961e-06/0.4792, allocations: 4 kB / 1.527 GB, free: 5.695 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.823e-05/0.4792, allocations: 4 kB / 1.527 GB, free: 5.691 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001315/0.4794, allocations: 35.91 kB / 1.527 GB, free: 5.656 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.2e-06/0.4794, allocations: 224 / 1.527 GB, free: 5.656 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001504/0.4795, allocations: 39.77 kB / 1.527 GB, free: 5.617 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.119e-05/0.4795, allocations: 8 kB / 1.527 GB, free: 5.609 MB / 1.217 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (15): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001289/0.4797, allocations: 149.7 kB / 1.527 GB, free: 5.453 MB / 1.217 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001185/0.4798, allocations: 27.8 kB / 1.527 GB, free: 5.426 MB / 1.217 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003011/0.4801, allocations: 127.1 kB / 1.527 GB, free: 5.289 MB / 1.217 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.845e-06/0.4801, allocations: 0 / 1.527 GB, free: 5.289 MB / 1.217 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.4e-06/0.4801, allocations: 8 kB / 1.527 GB, free: 5.281 MB / 1.217 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.246e-06/0.4801, allocations: 0 / 1.527 GB, free: 5.281 MB / 1.217 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000817/0.4809, allocations: 0.7486 MB / 1.528 GB, free: 4.465 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.663e-06/0.4809, allocations: 128 / 1.528 GB, free: 4.465 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001172/0.481, allocations: 32.14 kB / 1.528 GB, free: 4.434 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.165e-06/0.481, allocations: 0 / 1.528 GB, free: 4.434 MB / 1.217 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.682e-05/0.4811, allocations: 8 kB / 1.528 GB, free: 4.426 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.704e-06/0.4811, allocations: 0 / 1.528 GB, free: 4.426 MB / 1.217 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.402e-06/0.4811, allocations: 11.92 kB / 1.528 GB, free: 4.414 MB / 1.217 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004872/0.4815, allocations: 335.4 kB / 1.529 GB, free: 4.055 MB / 1.217 GB Notification: Performance of postOpt removeConstants (simulation): time 6.88e-05/0.4816, allocations: 35.86 kB / 1.529 GB, free: 4.02 MB / 1.217 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.581e-05/0.4817, allocations: 8 kB / 1.529 GB, free: 4.012 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001194/0.4818, allocations: 4 kB / 1.529 GB, free: 4.008 MB / 1.217 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.301e-05/0.4818, allocations: 19.98 kB / 1.529 GB, free: 3.988 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.394e-06/0.4818, allocations: 4 kB / 1.529 GB, free: 3.984 MB / 1.217 GB Notification: Performance of sorting global known variables: time 0.0001951/0.482, allocations: 211.1 kB / 1.529 GB, free: 3.777 MB / 1.217 GB Notification: Performance of sort global known variables: time 7e-08/0.482, allocations: 0 / 1.529 GB, free: 3.777 MB / 1.217 GB Notification: Performance of remove unused functions: time 0.0003117/0.4823, allocations: 59.88 kB / 1.529 GB, free: 3.719 MB / 1.217 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 1 (senStr.h_out) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000181/0.4825, allocations: 123.1 kB / 1.529 GB, free: 3.59 MB / 1.217 GB Notification: Performance of simCode: created initialization part: time 0.000322/0.4828, allocations: 123.8 kB / 1.529 GB, free: 3.469 MB / 1.217 GB Notification: Performance of simCode: created event and clocks part: time 1.653e-06/0.4828, allocations: 0 / 1.529 GB, free: 3.469 MB / 1.217 GB Notification: Performance of simCode: created simulation system equations: time 0.0001409/0.483, allocations: 55.91 kB / 1.529 GB, free: 3.414 MB / 1.217 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006672/0.4836, allocations: 125.9 kB / 1.529 GB, free: 3.293 MB / 1.217 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007687/0.4844, allocations: 0.5135 MB / 1.53 GB, free: 2.73 MB / 1.217 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003517/0.4848, allocations: 0.7558 MB / 1.531 GB, free: 1.949 MB / 1.217 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.651e-05/0.4848, allocations: 23.44 kB / 1.531 GB, free: 1.93 MB / 1.217 GB Notification: Performance of SimCode: time 2.9e-07/0.4848, allocations: 0 / 1.531 GB, free: 1.93 MB / 1.217 GB Notification: Performance of Templates: time 0.006039/0.4908, allocations: 3.829 MB / 1.534 GB, free: 14.13 MB / 1.232 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy.pipe >> ../files/Buildings_latest_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy.sim & ./Buildings_latest_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Sensors_Examples_SpecificEnthalpy.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 11.021550295001362]