Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.00169/0.00169, 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.002026/0.002026, allocations: 219.1 kB / 23 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.445/1.445, allocations: 230.6 MB / 256.8 MB, free: 7.812 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.753/2.753, allocations: 476 MB / 0.7707 GB, free: 4.746 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.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.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_11_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_11_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.002139/0.002139, allocations: 68.28 kB / 1.118 GB, free: 41.03 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3331/0.3352, allocations: 170 MB / 1.284 GB, free: 11.97 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.SpecificEnthalpy): time 0.1882/0.5234, allocations: 142.2 MB / 1.423 GB, free: 13.24 MB / 1.123 GB Notification: Performance of NFInst.instExpressions: time 0.006976/0.5303, allocations: 4.184 MB / 1.427 GB, free: 9.043 MB / 1.123 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004145/0.5308, allocations: 15.88 kB / 1.427 GB, free: 9.027 MB / 1.123 GB Notification: Performance of NFTyping.typeComponents: time 0.000533/0.5313, allocations: 127.1 kB / 1.427 GB, free: 8.902 MB / 1.123 GB Notification: Performance of NFTyping.typeBindings: time 0.001061/0.5324, allocations: 338.4 kB / 1.427 GB, free: 8.57 MB / 1.123 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009366/0.5333, allocations: 284.8 kB / 1.427 GB, free: 8.293 MB / 1.123 GB Notification: Performance of NFFlatten.flatten: time 0.0008685/0.5342, allocations: 0.5651 MB / 1.428 GB, free: 7.723 MB / 1.123 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003822/0.5345, allocations: 161.4 kB / 1.428 GB, free: 7.566 MB / 1.123 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001141/0.5357, allocations: 478.2 kB / 1.429 GB, free: 7.098 MB / 1.123 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003859/0.5361, allocations: 199.2 kB / 1.429 GB, free: 6.902 MB / 1.123 GB Notification: Performance of NFPackage.collectConstants: time 4.794e-05/0.5361, allocations: 20 kB / 1.429 GB, free: 6.883 MB / 1.123 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002153/0.5363, allocations: 71.94 kB / 1.429 GB, free: 6.812 MB / 1.123 GB Notification: Performance of NFScalarize.scalarize: time 0.0001476/0.5365, allocations: 95.72 kB / 1.429 GB, free: 6.719 MB / 1.123 GB Notification: Performance of NFVerifyModel.verify: time 0.0001502/0.5366, allocations: 103.5 kB / 1.429 GB, free: 6.617 MB / 1.123 GB Notification: Performance of NFConvertDAE.convert: time 0.0005235/0.5372, allocations: 306.8 kB / 1.429 GB, free: 6.316 MB / 1.123 GB Notification: Performance of FrontEnd - DAE generated: time 3.496e-06/0.5372, allocations: 0 / 1.429 GB, free: 6.316 MB / 1.123 GB Notification: Performance of FrontEnd: time 1.422e-06/0.5372, allocations: 0 / 1.429 GB, free: 6.316 MB / 1.123 GB Notification: Performance of Transformations before backend: time 1.107e-05/0.5372, allocations: 0 / 1.429 GB, free: 6.316 MB / 1.123 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.0009706/0.5381, allocations: 464.8 kB / 1.43 GB, free: 5.832 MB / 1.123 GB Notification: Performance of prepare preOptimizeDAE: time 4.683e-05/0.5382, allocations: 12.03 kB / 1.43 GB, free: 5.82 MB / 1.123 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.891e-05/0.5383, allocations: 31.8 kB / 1.43 GB, free: 5.789 MB / 1.123 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004538/0.5387, allocations: 229.6 kB / 1.43 GB, free: 5.539 MB / 1.123 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.551e-05/0.5387, allocations: 19.94 kB / 1.43 GB, free: 5.52 MB / 1.123 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.26e-05/0.5388, allocations: 19.95 kB / 1.43 GB, free: 5.5 MB / 1.123 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004753/0.5393, allocations: 265.9 kB / 1.43 GB, free: 5.203 MB / 1.123 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.309e-05/0.5393, allocations: 0 / 1.43 GB, free: 5.203 MB / 1.123 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.824e-05/0.5393, allocations: 19.92 kB / 1.43 GB, free: 5.184 MB / 1.123 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.226e-06/0.5393, allocations: 4 kB / 1.43 GB, free: 5.18 MB / 1.123 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003516/0.5397, allocations: 139.8 kB / 1.431 GB, free: 5.043 MB / 1.123 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001401/0.5411, allocations: 1.235 MB / 1.432 GB, free: 3.738 MB / 1.123 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003348/0.5414, allocations: 171.7 kB / 1.432 GB, free: 3.516 MB / 1.123 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001941/0.5416, allocations: 93.09 kB / 1.432 GB, free: 3.406 MB / 1.123 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003117/0.5419, allocations: 39.95 kB / 1.432 GB, free: 3.367 MB / 1.123 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.287e-05/0.5419, allocations: 46.48 kB / 1.432 GB, free: 3.312 MB / 1.123 GB Notification: Performance of pre-optimization done (n=10): time 1.323e-06/0.5419, allocations: 4 kB / 1.432 GB, free: 3.309 MB / 1.123 GB Notification: Performance of matching and sorting (n=10): time 0.0006465/0.5426, allocations: 201.9 kB / 1.432 GB, free: 3.105 MB / 1.123 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000142/0.5427, allocations: 191.9 kB / 1.432 GB, free: 2.875 MB / 1.123 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002292/0.543, allocations: 204.2 kB / 1.433 GB, free: 2.668 MB / 1.123 GB Notification: Performance of collectPreVariables (initialization): time 3.018e-05/0.543, allocations: 25.7 kB / 1.433 GB, free: 2.637 MB / 1.123 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001491/0.5431, allocations: 168.1 kB / 1.433 GB, free: 2.469 MB / 1.123 GB Notification: Performance of collectInitialBindings (initialization): time 4.552e-05/0.5432, allocations: 43.75 kB / 1.433 GB, free: 2.426 MB / 1.123 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.551e-05/0.5433, allocations: 29.72 kB / 1.433 GB, free: 2.391 MB / 1.123 GB Notification: Performance of setup shared object (initialization): time 0.0001848/0.5434, allocations: 330.8 kB / 1.433 GB, free: 2.059 MB / 1.123 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001361/0.5436, allocations: 39.97 kB / 1.433 GB, free: 2.02 MB / 1.123 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002712/0.5438, allocations: 218.5 kB / 1.433 GB, free: 1.754 MB / 1.123 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00032/0.5442, allocations: 158.7 kB / 1.434 GB, free: 1.574 MB / 1.123 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.524e-06/0.5442, allocations: 0 / 1.434 GB, free: 1.574 MB / 1.123 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003966/0.5446, allocations: 189.3 kB / 1.434 GB, free: 1.383 MB / 1.123 GB Notification: Performance of prepare postOptimizeDAE: time 1.69e-05/0.5446, allocations: 7.938 kB / 1.434 GB, free: 1.375 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.032e-05/0.5446, allocations: 7.938 kB / 1.434 GB, free: 1.367 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.882e-05/0.5446, allocations: 4 kB / 1.434 GB, free: 1.363 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001429/0.5448, allocations: 31.92 kB / 1.434 GB, free: 1.332 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.532e-06/0.5448, allocations: 0 / 1.434 GB, free: 1.332 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001512/0.5449, allocations: 24.09 kB / 1.434 GB, free: 1.309 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.438e-05/0.5449, allocations: 12 kB / 1.434 GB, free: 1.297 MB / 1.123 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.0001573/0.5451, allocations: 145.8 kB / 1.434 GB, free: 1.145 MB / 1.123 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001166/0.5452, allocations: 23.91 kB / 1.434 GB, free: 1.121 MB / 1.123 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003363/0.5455, allocations: 126.6 kB / 1.434 GB, free: 0.9883 MB / 1.123 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.298e-06/0.5456, allocations: 0 / 1.434 GB, free: 0.9883 MB / 1.123 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.175e-05/0.5456, allocations: 4.375 kB / 1.434 GB, free: 0.9844 MB / 1.123 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.888e-06/0.5456, allocations: 0 / 1.434 GB, free: 0.9844 MB / 1.123 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008929/0.5465, allocations: 0.7179 MB / 1.435 GB, free: 216 kB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.295e-06/0.5465, allocations: 0 / 1.435 GB, free: 216 kB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001283/0.5466, allocations: 19.98 kB / 1.435 GB, free: 196 kB / 1.123 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.721e-06/0.5466, allocations: 4 kB / 1.435 GB, free: 192 kB / 1.123 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.794e-05/0.5466, allocations: 8 kB / 1.435 GB, free: 184 kB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.325e-06/0.5466, allocations: 0 / 1.435 GB, free: 184 kB / 1.123 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.306e-06/0.5466, allocations: 3.984 kB / 1.435 GB, free: 180 kB / 1.123 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005732/0.5472, allocations: 339.7 kB / 1.435 GB, free: 15.81 MB / 1.139 GB Notification: Performance of postOpt removeConstants (simulation): time 6.168e-05/0.5473, allocations: 23.89 kB / 1.435 GB, free: 15.79 MB / 1.139 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.784e-05/0.5473, allocations: 4 kB / 1.435 GB, free: 15.78 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001143/0.5474, allocations: 12.03 kB / 1.435 GB, free: 15.77 MB / 1.139 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.52e-05/0.5474, allocations: 11.97 kB / 1.435 GB, free: 15.76 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.649e-05/0.5475, allocations: 4 kB / 1.435 GB, free: 15.75 MB / 1.139 GB Notification: Performance of sorting global known variables: time 0.0001292/0.5476, allocations: 151.5 kB / 1.435 GB, free: 15.61 MB / 1.139 GB Notification: Performance of sort global known variables: time 7e-08/0.5476, allocations: 0 / 1.435 GB, free: 15.61 MB / 1.139 GB Notification: Performance of remove unused functions: time 0.0003528/0.5479, allocations: 67.78 kB / 1.436 GB, free: 15.54 MB / 1.139 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.0002311/0.5482, allocations: 127.2 kB / 1.436 GB, free: 15.41 MB / 1.139 GB Notification: Performance of simCode: created initialization part: time 0.0003699/0.5485, allocations: 123.7 kB / 1.436 GB, free: 15.29 MB / 1.139 GB Notification: Performance of simCode: created event and clocks part: time 2.365e-06/0.5485, allocations: 0 / 1.436 GB, free: 15.29 MB / 1.139 GB Notification: Performance of simCode: created simulation system equations: time 0.0001635/0.5487, allocations: 60.58 kB / 1.436 GB, free: 15.23 MB / 1.139 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005011/0.5492, allocations: 66 kB / 1.436 GB, free: 15.17 MB / 1.139 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008903/0.5501, allocations: 0.4981 MB / 1.436 GB, free: 14.62 MB / 1.139 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001634/0.5503, allocations: 145.8 kB / 1.436 GB, free: 14.46 MB / 1.139 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.479e-05/0.5503, allocations: 27.42 kB / 1.437 GB, free: 14.43 MB / 1.139 GB Notification: Performance of SimCode: time 3.11e-07/0.5503, allocations: 0 / 1.437 GB, free: 14.43 MB / 1.139 GB Notification: Performance of Templates: time 0.005664/0.556, allocations: 3.1 MB / 1.44 GB, free: 11.36 MB / 1.139 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy.pipe ; mkfifo Buildings_11_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy.pipe >> ../files/Buildings_11_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy.sim & ./Buildings_11_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_Sensors_Examples_SpecificEnthalpy.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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.055404029786587]