Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001664/0.001664, 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.001924/0.001924, allocations: 165.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.498/1.498, allocations: 177.1 MB / 203.9 MB, free: 5.609 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 2.86/2.86, allocations: 377.8 MB / 0.6232 GB, free: 8.52 MB / 0.5886 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.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_12_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_12_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.775e-06/2.775e-06, allocations: 0.875 kB / 0.8108 GB, free: 2.082 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.189e-05/3.467e-05, allocations: 6.25 kB / 0.8108 GB, free: 2.074 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.SpecificEnthalpy): time 0.2212/0.2212, allocations: 142.2 MB / 0.9497 GB, free: 3.434 MB / 0.9011 GB Notification: Performance of NFInst.instExpressions: time 0.007278/0.2285, allocations: 4.184 MB / 0.9538 GB, free: 15.24 MB / 0.9167 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004342/0.2289, allocations: 11.88 kB / 0.9538 GB, free: 15.23 MB / 0.9167 GB Notification: Performance of NFTyping.typeComponents: time 0.0005779/0.2295, allocations: 131 kB / 0.9539 GB, free: 15.1 MB / 0.9167 GB Notification: Performance of NFTyping.typeBindings: time 0.001129/0.2306, allocations: 358.1 kB / 0.9542 GB, free: 14.75 MB / 0.9167 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009704/0.2316, allocations: 295.2 kB / 0.9545 GB, free: 14.46 MB / 0.9167 GB Notification: Performance of NFFlatten.flatten: time 0.0008259/0.2324, allocations: 0.565 MB / 0.9551 GB, free: 13.89 MB / 0.9167 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000367/0.2328, allocations: 169.5 kB / 0.9552 GB, free: 13.73 MB / 0.9167 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001702/0.2345, allocations: 0.7355 MB / 0.956 GB, free: 12.99 MB / 0.9167 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003115/0.2348, allocations: 179.5 kB / 0.9561 GB, free: 12.81 MB / 0.9167 GB Notification: Performance of NFPackage.collectConstants: time 4.146e-05/0.2349, allocations: 16 kB / 0.9561 GB, free: 12.8 MB / 0.9167 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001971/0.2351, allocations: 79.92 kB / 0.9562 GB, free: 12.72 MB / 0.9167 GB Notification: Performance of NFScalarize.scalarize: time 0.0001278/0.2352, allocations: 87.72 kB / 0.9563 GB, free: 12.63 MB / 0.9167 GB Notification: Performance of NFVerifyModel.verify: time 0.000125/0.2353, allocations: 79.83 kB / 0.9564 GB, free: 12.55 MB / 0.9167 GB Notification: Performance of NFConvertDAE.convert: time 0.0005025/0.2358, allocations: 315 kB / 0.9567 GB, free: 12.25 MB / 0.9167 GB Notification: Performance of FrontEnd - DAE generated: time 4.919e-06/0.2358, allocations: 0 / 0.9567 GB, free: 12.25 MB / 0.9167 GB Notification: Performance of FrontEnd: time 1.312e-06/0.2358, allocations: 4 kB / 0.9567 GB, free: 12.24 MB / 0.9167 GB Notification: Performance of Transformations before backend: time 5.64e-06/0.2358, allocations: 0 / 0.9567 GB, free: 12.24 MB / 0.9167 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.0009543/0.2368, allocations: 472.8 kB / 0.9571 GB, free: 11.75 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 3.657e-05/0.2368, allocations: 8.031 kB / 0.9571 GB, free: 11.74 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001068/0.2369, allocations: 43.75 kB / 0.9572 GB, free: 11.7 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004357/0.2374, allocations: 237.6 kB / 0.9574 GB, free: 11.44 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.602e-05/0.2374, allocations: 15.94 kB / 0.9574 GB, free: 11.43 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.85e-05/0.2374, allocations: 20 kB / 0.9574 GB, free: 11.41 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005242/0.238, allocations: 265.6 kB / 0.9577 GB, free: 11.11 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.152e-05/0.238, allocations: 0 / 0.9577 GB, free: 11.11 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.435e-05/0.238, allocations: 8 kB / 0.9577 GB, free: 11.1 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.949e-06/0.238, allocations: 4 kB / 0.9577 GB, free: 11.1 MB / 0.9167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003752/0.2384, allocations: 159.7 kB / 0.9579 GB, free: 10.94 MB / 0.9167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001514/0.2399, allocations: 1.247 MB / 0.9591 GB, free: 9.621 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003595/0.2402, allocations: 175.7 kB / 0.9592 GB, free: 9.395 MB / 0.9167 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002049/0.2405, allocations: 93.11 kB / 0.9593 GB, free: 9.285 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003591/0.2408, allocations: 39.94 kB / 0.9594 GB, free: 9.246 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.076e-05/0.2409, allocations: 42.5 kB / 0.9594 GB, free: 9.195 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=10): time 1.252e-06/0.2409, allocations: 0 / 0.9594 GB, free: 9.195 MB / 0.9167 GB Notification: Performance of matching and sorting (n=10): time 0.0007034/0.2416, allocations: 201.8 kB / 0.9596 GB, free: 8.992 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001469/0.2417, allocations: 191.9 kB / 0.9598 GB, free: 8.762 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003808/0.2421, allocations: 203.9 kB / 0.96 GB, free: 8.555 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 2.962e-05/0.2421, allocations: 29.7 kB / 0.96 GB, free: 8.52 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001495/0.2423, allocations: 160.2 kB / 0.9602 GB, free: 8.359 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 4.516e-05/0.2423, allocations: 39.69 kB / 0.9602 GB, free: 8.32 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.721e-05/0.2424, allocations: 37.67 kB / 0.9602 GB, free: 8.277 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 0.0002005/0.2426, allocations: 334.8 kB / 0.9606 GB, free: 7.941 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001375/0.2427, allocations: 44.12 kB / 0.9606 GB, free: 7.898 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003001/0.243, allocations: 224.8 kB / 0.9608 GB, free: 7.629 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003349/0.2434, allocations: 155 kB / 0.961 GB, free: 7.453 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.919e-06/0.2434, allocations: 4 kB / 0.961 GB, free: 7.449 MB / 0.9167 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0004193/0.2438, allocations: 185.3 kB / 0.9611 GB, free: 7.262 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 1.783e-05/0.2438, allocations: 4 kB / 0.9611 GB, free: 7.258 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.06e-05/0.2438, allocations: 4 kB / 0.9611 GB, free: 7.254 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.614e-05/0.2439, allocations: 8.219 kB / 0.9612 GB, free: 7.246 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001552/0.244, allocations: 35.92 kB / 0.9612 GB, free: 7.211 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.897e-06/0.244, allocations: 3.938 kB / 0.9612 GB, free: 7.207 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001441/0.2442, allocations: 19.88 kB / 0.9612 GB, free: 7.188 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.943e-05/0.2442, allocations: 8 kB / 0.9612 GB, free: 7.18 MB / 0.9167 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.0001781/0.2444, allocations: 149.8 kB / 0.9614 GB, free: 7.023 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001161/0.2445, allocations: 19.91 kB / 0.9614 GB, free: 7.004 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003618/0.2448, allocations: 126.8 kB / 0.9615 GB, free: 6.871 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.222e-06/0.2448, allocations: 7.938 kB / 0.9615 GB, free: 6.863 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.156e-06/0.2449, allocations: 3.938 kB / 0.9615 GB, free: 6.859 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.388e-06/0.2449, allocations: 4 kB / 0.9615 GB, free: 6.855 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009384/0.2458, allocations: 0.6985 MB / 0.9622 GB, free: 6.102 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.478e-06/0.2458, allocations: 4 kB / 0.9622 GB, free: 6.098 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001292/0.2459, allocations: 23.92 kB / 0.9622 GB, free: 6.074 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.574e-06/0.2459, allocations: 4 kB / 0.9622 GB, free: 6.07 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.173e-05/0.246, allocations: 4.156 kB / 0.9622 GB, free: 6.066 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.292e-06/0.246, allocations: 7.938 kB / 0.9622 GB, free: 6.059 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.663e-06/0.246, allocations: 128 / 0.9622 GB, free: 6.059 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006115/0.2466, allocations: 339.5 kB / 0.9626 GB, free: 5.695 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 6.079e-05/0.2466, allocations: 23.86 kB / 0.9626 GB, free: 5.672 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.043e-05/0.2467, allocations: 8 kB / 0.9626 GB, free: 5.664 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001167/0.2468, allocations: 7.984 kB / 0.9626 GB, free: 5.656 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.789e-05/0.2468, allocations: 16.05 kB / 0.9626 GB, free: 5.641 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.252e-05/0.2469, allocations: 4 kB / 0.9626 GB, free: 5.637 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 0.0001582/0.247, allocations: 144.6 kB / 0.9628 GB, free: 5.496 MB / 0.9167 GB Notification: Performance of sort global known variables: time 7e-08/0.247, allocations: 0 / 0.9628 GB, free: 5.496 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.0003751/0.2474, allocations: 67.77 kB / 0.9628 GB, free: 5.43 MB / 0.9167 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.0002587/0.2476, allocations: 127.1 kB / 0.9629 GB, free: 5.297 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.0003921/0.248, allocations: 128 kB / 0.9631 GB, free: 5.172 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 1.643e-06/0.248, allocations: 0 / 0.9631 GB, free: 5.172 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 0.0001597/0.2482, allocations: 55.91 kB / 0.9631 GB, free: 5.117 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005543/0.2488, allocations: 67.91 kB / 0.9632 GB, free: 5.059 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009077/0.2497, allocations: 458.3 kB / 0.9636 GB, free: 4.57 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001863/0.2498, allocations: 149.8 kB / 0.9638 GB, free: 4.402 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 0.0001177/0.25, allocations: 41.45 kB / 0.9638 GB, free: 4.363 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.991e-05/0.25, allocations: 20.5 kB / 0.9638 GB, free: 4.34 MB / 0.9167 GB Notification: Performance of SimCode: time 3.91e-07/0.25, allocations: 0 / 0.9638 GB, free: 4.34 MB / 0.9167 GB Notification: Performance of Templates: time 0.007426/0.2574, allocations: 2.716 MB / 0.9665 GB, free: 1.699 MB / 0.9167 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy.pipe ; mkfifo Buildings_12_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy.pipe >> ../files/Buildings_12_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy.sim & ./Buildings_12_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_Sensors_Examples_SpecificEnthalpy.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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.427116275997832]