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.001632/0.001632, allocations: 100.3 kB / 19.7 MB, free: 2.012 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.002265/0.002265, allocations: 217.1 kB / 22.99 MB, free: 4.914 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.469/1.469, allocations: 230.6 MB / 256.8 MB, free: 7.824 MB / 206.1 MB " [Timeout remaining time 178] 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 3.245/3.245, allocations: 0.5107 GB / 0.8166 GB, free: 17.86 MB / 0.6231 GB " [Timeout remaining time 176] 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.002081/0.002081, allocations: 65 kB / 1.187 GB, free: 13.53 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.357/0.3591, allocations: 181.9 MB / 1.365 GB, free: 13.65 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.SpecificEnthalpy): time 0.1856/0.5447, allocations: 142.2 MB / 1.504 GB, free: 14.89 MB / 1.201 GB Notification: Performance of NFInst.instExpressions: time 0.007516/0.5522, allocations: 4.2 MB / 1.508 GB, free: 10.68 MB / 1.201 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000463/0.5527, allocations: 11.88 kB / 1.508 GB, free: 10.67 MB / 1.201 GB Notification: Performance of NFTyping.typeComponents: time 0.0005451/0.5532, allocations: 131.1 kB / 1.508 GB, free: 10.54 MB / 1.201 GB Notification: Performance of NFTyping.typeBindings: time 0.001137/0.5544, allocations: 334.5 kB / 1.508 GB, free: 10.21 MB / 1.201 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009408/0.5553, allocations: 281.1 kB / 1.508 GB, free: 9.941 MB / 1.201 GB Notification: Performance of NFFlatten.flatten: time 0.0008608/0.5562, allocations: 0.5651 MB / 1.509 GB, free: 9.375 MB / 1.201 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004068/0.5566, allocations: 169.4 kB / 1.509 GB, free: 9.203 MB / 1.201 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001681/0.5583, allocations: 0.6616 MB / 1.51 GB, free: 8.539 MB / 1.201 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003848/0.5586, allocations: 191.2 kB / 1.51 GB, free: 8.352 MB / 1.201 GB Notification: Performance of NFPackage.collectConstants: time 4.94e-05/0.5587, allocations: 16 kB / 1.51 GB, free: 8.336 MB / 1.201 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002192/0.5589, allocations: 83.86 kB / 1.51 GB, free: 8.254 MB / 1.201 GB Notification: Performance of NFScalarize.scalarize: time 0.0001361/0.5591, allocations: 87.73 kB / 1.51 GB, free: 8.168 MB / 1.201 GB Notification: Performance of NFVerifyModel.verify: time 0.0001484/0.5592, allocations: 103.5 kB / 1.51 GB, free: 8.066 MB / 1.201 GB Notification: Performance of NFConvertDAE.convert: time 0.0004472/0.5596, allocations: 302.8 kB / 1.51 GB, free: 7.77 MB / 1.201 GB Notification: Performance of FrontEnd - DAE generated: time 3.978e-06/0.5597, allocations: 0 / 1.51 GB, free: 7.77 MB / 1.201 GB Notification: Performance of FrontEnd: time 1.343e-06/0.5597, allocations: 4 kB / 1.51 GB, free: 7.766 MB / 1.201 GB Notification: Performance of Transformations before backend: time 1.454e-05/0.5597, allocations: 3.938 kB / 1.51 GB, free: 7.762 MB / 1.201 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.0009073/0.5606, allocations: 468.8 kB / 1.511 GB, free: 7.273 MB / 1.201 GB Notification: Performance of prepare preOptimizeDAE: time 4.221e-05/0.5606, allocations: 12.03 kB / 1.511 GB, free: 7.262 MB / 1.201 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.526e-05/0.5607, allocations: 31.75 kB / 1.511 GB, free: 7.23 MB / 1.201 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004792/0.5612, allocations: 229.5 kB / 1.511 GB, free: 6.98 MB / 1.201 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.02e-05/0.5612, allocations: 16 kB / 1.511 GB, free: 6.965 MB / 1.201 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.565e-05/0.5613, allocations: 20 kB / 1.511 GB, free: 6.945 MB / 1.201 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004907/0.5618, allocations: 261.9 kB / 1.511 GB, free: 6.652 MB / 1.201 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.815e-05/0.5618, allocations: 7.938 kB / 1.511 GB, free: 6.645 MB / 1.201 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.67e-05/0.5618, allocations: 7.938 kB / 1.511 GB, free: 6.637 MB / 1.201 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.346e-06/0.5618, allocations: 4 kB / 1.511 GB, free: 6.633 MB / 1.201 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003884/0.5622, allocations: 153.6 kB / 1.512 GB, free: 6.484 MB / 1.201 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00145/0.5637, allocations: 1.227 MB / 1.513 GB, free: 5.188 MB / 1.201 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003396/0.564, allocations: 179.7 kB / 1.513 GB, free: 4.957 MB / 1.201 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001883/0.5642, allocations: 97.05 kB / 1.513 GB, free: 4.844 MB / 1.201 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003113/0.5645, allocations: 39.95 kB / 1.513 GB, free: 4.805 MB / 1.201 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.421e-05/0.5645, allocations: 38.55 kB / 1.513 GB, free: 4.758 MB / 1.201 GB Notification: Performance of pre-optimization done (n=10): time 1.313e-06/0.5645, allocations: 0 / 1.513 GB, free: 4.758 MB / 1.201 GB Notification: Performance of matching and sorting (n=10): time 0.0006626/0.5652, allocations: 205.9 kB / 1.513 GB, free: 4.551 MB / 1.201 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001132/0.5653, allocations: 187.9 kB / 1.514 GB, free: 4.324 MB / 1.201 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002158/0.5655, allocations: 203.8 kB / 1.514 GB, free: 4.117 MB / 1.201 GB Notification: Performance of collectPreVariables (initialization): time 2.711e-05/0.5655, allocations: 29.7 kB / 1.514 GB, free: 4.082 MB / 1.201 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001376/0.5657, allocations: 168.2 kB / 1.514 GB, free: 3.914 MB / 1.201 GB Notification: Performance of collectInitialBindings (initialization): time 4.319e-05/0.5657, allocations: 35.69 kB / 1.514 GB, free: 3.879 MB / 1.201 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.782e-05/0.5658, allocations: 33.72 kB / 1.514 GB, free: 3.84 MB / 1.201 GB Notification: Performance of setup shared object (initialization): time 0.0001515/0.5659, allocations: 334.8 kB / 1.514 GB, free: 3.504 MB / 1.201 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001392/0.5661, allocations: 48.19 kB / 1.514 GB, free: 3.457 MB / 1.201 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000267/0.5664, allocations: 226.5 kB / 1.515 GB, free: 3.184 MB / 1.201 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003018/0.5667, allocations: 154.7 kB / 1.515 GB, free: 3.008 MB / 1.201 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.174e-06/0.5667, allocations: 0 / 1.515 GB, free: 3.008 MB / 1.201 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003915/0.567, allocations: 185.3 kB / 1.515 GB, free: 2.82 MB / 1.201 GB Notification: Performance of prepare postOptimizeDAE: time 1.751e-05/0.5671, allocations: 8 kB / 1.515 GB, free: 2.812 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.813e-06/0.5671, allocations: 3.938 kB / 1.515 GB, free: 2.809 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.68e-05/0.5671, allocations: 4.219 kB / 1.515 GB, free: 2.805 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001407/0.5672, allocations: 31.98 kB / 1.515 GB, free: 2.773 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.807e-06/0.5672, allocations: 7.938 kB / 1.515 GB, free: 2.766 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00015/0.5674, allocations: 23.88 kB / 1.515 GB, free: 2.742 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.273e-05/0.5674, allocations: 4 kB / 1.515 GB, free: 2.738 MB / 1.201 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.0001525/0.5676, allocations: 154.4 kB / 1.515 GB, free: 2.578 MB / 1.201 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001216/0.5677, allocations: 15.91 kB / 1.515 GB, free: 2.562 MB / 1.201 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003411/0.568, allocations: 130.6 kB / 1.515 GB, free: 2.426 MB / 1.201 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.301e-06/0.568, allocations: 4 kB / 1.515 GB, free: 2.422 MB / 1.201 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.039e-06/0.568, allocations: 0 / 1.515 GB, free: 2.422 MB / 1.201 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.981e-06/0.568, allocations: 4 kB / 1.515 GB, free: 2.418 MB / 1.201 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008846/0.5689, allocations: 0.6985 MB / 1.516 GB, free: 1.664 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.225e-06/0.5689, allocations: 128 / 1.516 GB, free: 1.664 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001286/0.5691, allocations: 35.92 kB / 1.516 GB, free: 1.629 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.026e-06/0.5691, allocations: 0 / 1.516 GB, free: 1.629 MB / 1.201 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.325e-05/0.5691, allocations: 4.156 kB / 1.516 GB, free: 1.625 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.054e-06/0.5691, allocations: 4 kB / 1.516 GB, free: 1.621 MB / 1.201 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.092e-06/0.5691, allocations: 4 kB / 1.516 GB, free: 1.617 MB / 1.201 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005507/0.5696, allocations: 331.5 kB / 1.516 GB, free: 1.262 MB / 1.201 GB Notification: Performance of postOpt removeConstants (simulation): time 6.332e-05/0.5697, allocations: 23.92 kB / 1.516 GB, free: 1.238 MB / 1.201 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.004e-05/0.5697, allocations: 8 kB / 1.516 GB, free: 1.23 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001251/0.5699, allocations: 7.984 kB / 1.516 GB, free: 1.223 MB / 1.201 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.984e-05/0.5699, allocations: 15.92 kB / 1.516 GB, free: 1.207 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.116e-06/0.5699, allocations: 8.062 kB / 1.516 GB, free: 1.199 MB / 1.201 GB Notification: Performance of sorting global known variables: time 0.00014/0.57, allocations: 148.6 kB / 1.516 GB, free: 1.055 MB / 1.201 GB Notification: Performance of sort global known variables: time 7e-08/0.57, allocations: 0 / 1.516 GB, free: 1.055 MB / 1.201 GB Notification: Performance of remove unused functions: time 0.0003539/0.5704, allocations: 63.83 kB / 1.517 GB, free: 0.9922 MB / 1.201 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.0002469/0.5707, allocations: 123.2 kB / 1.517 GB, free: 0.8633 MB / 1.201 GB Notification: Performance of simCode: created initialization part: time 0.000368/0.571, allocations: 132 kB / 1.517 GB, free: 0.7344 MB / 1.201 GB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.571, allocations: 0 / 1.517 GB, free: 0.7344 MB / 1.201 GB Notification: Performance of simCode: created simulation system equations: time 0.000148/0.5712, allocations: 51.91 kB / 1.517 GB, free: 0.6836 MB / 1.201 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00051/0.5717, allocations: 57 kB / 1.517 GB, free: 0.6289 MB / 1.201 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009157/0.5726, allocations: 0.5098 MB / 1.517 GB, free: 68 kB / 1.201 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001688/0.5728, allocations: 153.8 kB / 1.518 GB, free: 15.9 MB / 1.217 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.129e-05/0.5728, allocations: 19.44 kB / 1.518 GB, free: 15.88 MB / 1.217 GB Notification: Performance of SimCode: time 3.01e-07/0.5728, allocations: 0 / 1.518 GB, free: 15.88 MB / 1.217 GB Notification: Performance of Templates: time 0.006088/0.5789, allocations: 3.11 MB / 1.521 GB, free: 12.79 MB / 1.217 GB " [Timeout remaining time 299] 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: 12.125871418043971]