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.001417/0.001417, allocations: 80.41 kB / 20.23 MB, free: 4.199 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.00155/0.00155, allocations: 161.7 kB / 23.55 MB, free: 0.8867 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 1.499/1.499, allocations: 177.1 MB / 203.9 MB, free: 5.59 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 2.786/2.786, allocations: 359 MB / 0.6048 GB, free: 10.95 MB / 0.573 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-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: Performance of FrontEnd - loaded program: time 1.533e-06/1.533e-06, allocations: 0 / 0.7864 GB, free: 11.68 MB / 0.698 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.283e-05/3.436e-05, allocations: 2.312 kB / 0.7864 GB, free: 11.68 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.SpecificEnthalpy): time 0.2225/0.2225, allocations: 142.2 MB / 0.9252 GB, free: 13.05 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.006848/0.2293, allocations: 4.166 MB / 0.9293 GB, free: 8.871 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003826/0.2297, allocations: 15.88 kB / 0.9293 GB, free: 8.855 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 0.0005048/0.2302, allocations: 135 kB / 0.9294 GB, free: 8.723 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 0.001017/0.2313, allocations: 354.1 kB / 0.9298 GB, free: 8.375 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009785/0.2322, allocations: 307.2 kB / 0.9301 GB, free: 8.074 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.0008421/0.2331, allocations: 0.5726 MB / 0.9306 GB, free: 7.5 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003612/0.2334, allocations: 165.5 kB / 0.9308 GB, free: 7.34 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001259/0.2347, allocations: 0.5254 MB / 0.9313 GB, free: 6.812 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003118/0.235, allocations: 179.5 kB / 0.9315 GB, free: 6.637 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 4.341e-05/0.235, allocations: 16 kB / 0.9315 GB, free: 6.621 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002084/0.2353, allocations: 83.86 kB / 0.9316 GB, free: 6.539 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 0.0001343/0.2354, allocations: 87.72 kB / 0.9317 GB, free: 6.453 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 0.0001437/0.2355, allocations: 83.77 kB / 0.9317 GB, free: 6.371 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0005108/0.236, allocations: 315 kB / 0.932 GB, free: 6.062 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 4.187e-06/0.2361, allocations: 0 / 0.932 GB, free: 6.062 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.513e-06/0.2361, allocations: 3.938 kB / 0.932 GB, free: 6.059 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 6.161e-06/0.2361, allocations: 0 / 0.932 GB, free: 6.059 MB / 0.8386 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.0009786/0.237, allocations: 472.8 kB / 0.9325 GB, free: 5.566 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.264e-05/0.2371, allocations: 12.03 kB / 0.9325 GB, free: 5.555 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001125/0.2372, allocations: 47.75 kB / 0.9325 GB, free: 5.508 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004706/0.2377, allocations: 233.7 kB / 0.9328 GB, free: 5.254 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.477e-05/0.2377, allocations: 16 kB / 0.9328 GB, free: 5.238 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.211e-05/0.2377, allocations: 16 kB / 0.9328 GB, free: 5.223 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005533/0.2383, allocations: 269.6 kB / 0.9331 GB, free: 4.922 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.524e-05/0.2383, allocations: 3.938 kB / 0.9331 GB, free: 4.918 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.232e-05/0.2383, allocations: 4 kB / 0.9331 GB, free: 4.914 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.457e-06/0.2383, allocations: 8 kB / 0.9331 GB, free: 4.906 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003906/0.2387, allocations: 151.7 kB / 0.9332 GB, free: 4.758 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001693/0.2404, allocations: 1.239 MB / 0.9344 GB, free: 3.449 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003684/0.2408, allocations: 175.7 kB / 0.9346 GB, free: 3.223 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002068/0.241, allocations: 93.05 kB / 0.9347 GB, free: 3.113 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003751/0.2414, allocations: 47.94 kB / 0.9347 GB, free: 3.066 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.055e-05/0.2414, allocations: 34.56 kB / 0.9348 GB, free: 3.023 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=10): time 1.333e-06/0.2414, allocations: 0 / 0.9348 GB, free: 3.023 MB / 0.8386 GB Notification: Performance of matching and sorting (n=10): time 0.0007036/0.2421, allocations: 205.9 kB / 0.935 GB, free: 2.816 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001513/0.2423, allocations: 195.7 kB / 0.9351 GB, free: 2.582 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002462/0.2425, allocations: 204.3 kB / 0.9353 GB, free: 2.371 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 3.452e-05/0.2426, allocations: 29.7 kB / 0.9354 GB, free: 2.336 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.000154/0.2427, allocations: 156.2 kB / 0.9355 GB, free: 2.176 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 4.304e-05/0.2427, allocations: 39.69 kB / 0.9356 GB, free: 2.137 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.957e-05/0.2428, allocations: 29.72 kB / 0.9356 GB, free: 2.102 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001932/0.243, allocations: 330.8 kB / 0.9359 GB, free: 1.77 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001489/0.2432, allocations: 43.97 kB / 0.9359 GB, free: 1.727 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003103/0.2435, allocations: 225.7 kB / 0.9362 GB, free: 1.457 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003533/0.2438, allocations: 158.7 kB / 0.9363 GB, free: 1.277 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.565e-06/0.2438, allocations: 256 / 0.9363 GB, free: 1.277 MB / 0.8386 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0004572/0.2443, allocations: 201.3 kB / 0.9365 GB, free: 1.074 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.687e-05/0.2443, allocations: 4 kB / 0.9365 GB, free: 1.07 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.105e-05/0.2443, allocations: 7.984 kB / 0.9365 GB, free: 1.062 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.128e-05/0.2443, allocations: 0 / 0.9365 GB, free: 1.062 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001604/0.2445, allocations: 31.92 kB / 0.9365 GB, free: 1.031 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.112e-05/0.2445, allocations: 8.156 kB / 0.9365 GB, free: 1.023 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001551/0.2447, allocations: 27.88 kB / 0.9366 GB, free: 0.9961 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.02e-05/0.2447, allocations: 8 kB / 0.9366 GB, free: 0.9883 MB / 0.8386 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.0001767/0.2449, allocations: 145.8 kB / 0.9367 GB, free: 0.8359 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001238/0.245, allocations: 23.84 kB / 0.9367 GB, free: 0.8125 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003764/0.2454, allocations: 118.8 kB / 0.9369 GB, free: 0.6914 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.925e-06/0.2454, allocations: 4 kB / 0.9369 GB, free: 0.6875 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.462e-06/0.2454, allocations: 3.938 kB / 0.9369 GB, free: 0.6836 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.031e-06/0.2454, allocations: 8 kB / 0.9369 GB, free: 0.6758 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001008/0.2464, allocations: 0.6985 MB / 0.9376 GB, free: 15.92 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.184e-06/0.2464, allocations: 0 / 0.9376 GB, free: 15.92 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001443/0.2465, allocations: 31.92 kB / 0.9376 GB, free: 15.89 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.036e-06/0.2465, allocations: 0 / 0.9376 GB, free: 15.89 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.514e-05/0.2466, allocations: 4 kB / 0.9376 GB, free: 15.89 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.094e-06/0.2466, allocations: 0 / 0.9376 GB, free: 15.89 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.831e-06/0.2466, allocations: 4 kB / 0.9376 GB, free: 15.88 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006483/0.2472, allocations: 339.7 kB / 0.9379 GB, free: 15.52 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 6.732e-05/0.2473, allocations: 27.83 kB / 0.9379 GB, free: 15.49 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.896e-05/0.2473, allocations: 8.062 kB / 0.9379 GB, free: 15.48 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001327/0.2474, allocations: 15.98 kB / 0.938 GB, free: 15.47 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.534e-05/0.2475, allocations: 7.984 kB / 0.938 GB, free: 15.46 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.638e-06/0.2475, allocations: 4 kB / 0.938 GB, free: 15.46 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.0001548/0.2477, allocations: 147.5 kB / 0.9381 GB, free: 15.31 MB / 0.8542 GB Notification: Performance of sort global known variables: time 1e-07/0.2477, allocations: 4.062 kB / 0.9381 GB, free: 15.31 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0004025/0.2481, allocations: 63.83 kB / 0.9382 GB, free: 15.25 MB / 0.8542 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.0002659/0.2483, allocations: 131.1 kB / 0.9383 GB, free: 15.11 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0003924/0.2487, allocations: 115.8 kB / 0.9384 GB, free: 15 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 2.384e-06/0.2487, allocations: 0 / 0.9384 GB, free: 15 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.0001647/0.2489, allocations: 60.47 kB / 0.9385 GB, free: 14.94 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005818/0.2495, allocations: 68.64 kB / 0.9385 GB, free: 14.87 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009434/0.2504, allocations: 446.2 kB / 0.939 GB, free: 14.39 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001942/0.2506, allocations: 153.8 kB / 0.9391 GB, free: 14.22 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.0001287/0.2507, allocations: 37.7 kB / 0.9391 GB, free: 14.18 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.663e-05/0.2508, allocations: 16.5 kB / 0.9392 GB, free: 14.17 MB / 0.8542 GB Notification: Performance of SimCode: time 4.91e-07/0.2508, allocations: 4 kB / 0.9392 GB, free: 14.16 MB / 0.8542 GB Notification: Performance of Templates: time 0.007828/0.2586, allocations: 2.735 MB / 0.9418 GB, free: 11.51 MB / 0.8542 GB " [Timeout remaining time 300] 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/jenkins/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: 8.065561952069402]