Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate.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.001901/0.001901, allocations: 92.7 kB / 19.44 MB, free: 328 kB / 13.93 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.002486/0.002486, allocations: 165.7 kB / 22.76 MB, free: 1.656 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.506/1.506, allocations: 177.1 MB / 203.1 MB, free: 5.625 MB / 186.7 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.219/3.219, allocations: 429.6 MB / 0.673 GB, free: 3.883 MB / 0.6355 GB " [Timeout remaining time 176] Using package Buildings with version 14.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.EnthalpyFlowRate,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|senMasFlo.m_flow|senH.h_out|senH_flow.H_flow|cheEqu.y",fileNamePrefix="Buildings_latest_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate") translateModel(Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|senMasFlo.m_flow|senH.h_out|senH_flow.H_flow|cheEqu.y",fileNamePrefix="Buildings_latest_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.964e-06/1.964e-06, allocations: 0 / 0.8776 GB, free: 6.438 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.733e-05/2.93e-05, allocations: 2.312 kB / 0.8776 GB, free: 6.434 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate): time 0.2125/0.2125, allocations: 147.7 MB / 1.022 GB, free: 2.172 MB / 0.9792 GB Notification: Performance of NFInst.instExpressions: time 0.00976/0.2223, allocations: 5.957 MB / 1.028 GB, free: 12.2 MB / 0.9948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004488/0.2227, allocations: 15.88 kB / 1.028 GB, free: 12.18 MB / 0.9948 GB Notification: Performance of NFTyping.typeComponents: time 0.0006897/0.2234, allocations: 182.6 kB / 1.028 GB, free: 12 MB / 0.9948 GB Notification: Performance of NFTyping.typeBindings: time 0.00286/0.2262, allocations: 0.8549 MB / 1.029 GB, free: 11.14 MB / 0.9948 GB Notification: Performance of NFTyping.typeClassSections: time 0.001266/0.2275, allocations: 367 kB / 1.029 GB, free: 10.78 MB / 0.9948 GB Notification: Performance of NFFlatten.flatten: time 0.001157/0.2287, allocations: 0.6938 MB / 1.03 GB, free: 10.09 MB / 0.9948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005153/0.2292, allocations: 207.3 kB / 1.03 GB, free: 9.887 MB / 0.9948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002126/0.2313, allocations: 0.8097 MB / 1.031 GB, free: 9.074 MB / 0.9948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005609/0.2319, allocations: 243.3 kB / 1.031 GB, free: 8.836 MB / 0.9948 GB Notification: Performance of NFPackage.collectConstants: time 6.31e-05/0.2319, allocations: 20 kB / 1.031 GB, free: 8.816 MB / 0.9948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007628/0.2327, allocations: 295.1 kB / 1.031 GB, free: 8.527 MB / 0.9948 GB Notification: Performance of NFScalarize.scalarize: time 0.0001875/0.2329, allocations: 119.6 kB / 1.031 GB, free: 8.41 MB / 0.9948 GB Notification: Performance of NFVerifyModel.verify: time 0.000274/0.2332, allocations: 111.8 kB / 1.031 GB, free: 8.301 MB / 0.9948 GB Notification: Performance of NFConvertDAE.convert: time 0.001025/0.2342, allocations: 482.5 kB / 1.032 GB, free: 7.828 MB / 0.9948 GB Notification: Performance of FrontEnd - DAE generated: time 3.586e-06/0.2342, allocations: 0 / 1.032 GB, free: 7.828 MB / 0.9948 GB Notification: Performance of FrontEnd: time 1.273e-06/0.2342, allocations: 0 / 1.032 GB, free: 7.828 MB / 0.9948 GB Notification: Performance of Transformations before backend: time 9.748e-06/0.2342, allocations: 4 kB / 1.032 GB, free: 7.824 MB / 0.9948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 63 * Number of variables: 63 Notification: Performance of Generate backend data structure: time 0.001086/0.2353, allocations: 0.536 MB / 1.032 GB, free: 7.254 MB / 0.9948 GB Notification: Performance of prepare preOptimizeDAE: time 4.432e-05/0.2353, allocations: 12.02 kB / 1.032 GB, free: 7.242 MB / 0.9948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004412/0.2358, allocations: 99.59 kB / 1.033 GB, free: 7.145 MB / 0.9948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005948/0.2364, allocations: 268 kB / 1.033 GB, free: 6.859 MB / 0.9948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.903e-05/0.2364, allocations: 20.64 kB / 1.033 GB, free: 6.84 MB / 0.9948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.825e-05/0.2364, allocations: 28 kB / 1.033 GB, free: 6.812 MB / 0.9948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00067/0.2371, allocations: 321 kB / 1.033 GB, free: 6.473 MB / 0.9948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.62e-05/0.2371, allocations: 0 / 1.033 GB, free: 6.473 MB / 0.9948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.092e-05/0.2372, allocations: 8 kB / 1.033 GB, free: 6.465 MB / 0.9948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.244e-05/0.2372, allocations: 8 kB / 1.033 GB, free: 6.457 MB / 0.9948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005006/0.2377, allocations: 201.8 kB / 1.033 GB, free: 6.262 MB / 0.9948 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001686/0.2394, allocations: 1.137 MB / 1.035 GB, free: 5.07 MB / 0.9948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002857/0.2396, allocations: 114.5 kB / 1.035 GB, free: 4.949 MB / 0.9948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001999/0.2398, allocations: 84.8 kB / 1.035 GB, free: 4.863 MB / 0.9948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005398/0.2404, allocations: 75.92 kB / 1.035 GB, free: 4.789 MB / 0.9948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.632e-05/0.2404, allocations: 30.56 kB / 1.035 GB, free: 4.75 MB / 0.9948 GB Notification: Performance of pre-optimization done (n=13): time 1.322e-06/0.2404, allocations: 3.938 kB / 1.035 GB, free: 4.746 MB / 0.9948 GB Notification: Performance of matching and sorting (n=13): time 0.0008724/0.2413, allocations: 277.2 kB / 1.035 GB, free: 4.469 MB / 0.9948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.341e-05/0.2414, allocations: 55.41 kB / 1.035 GB, free: 4.402 MB / 0.9948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000276/0.2416, allocations: 225.9 kB / 1.035 GB, free: 4.172 MB / 0.9948 GB Notification: Performance of collectPreVariables (initialization): time 3.04e-05/0.2417, allocations: 29.7 kB / 1.035 GB, free: 4.137 MB / 0.9948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002058/0.2419, allocations: 196.1 kB / 1.036 GB, free: 3.938 MB / 0.9948 GB Notification: Performance of collectInitialBindings (initialization): time 5.848e-05/0.2419, allocations: 47.62 kB / 1.036 GB, free: 3.891 MB / 0.9948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.113e-05/0.242, allocations: 33.72 kB / 1.036 GB, free: 3.852 MB / 0.9948 GB Notification: Performance of setup shared object (initialization): time 0.0002054/0.2422, allocations: 330.8 kB / 1.036 GB, free: 3.52 MB / 0.9948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001863/0.2424, allocations: 59.95 kB / 1.036 GB, free: 3.461 MB / 0.9948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002882/0.2427, allocations: 188.7 kB / 1.036 GB, free: 3.242 MB / 0.9948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000412/0.2431, allocations: 181 kB / 1.036 GB, free: 3.047 MB / 0.9948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.26e-06/0.2431, allocations: 4 kB / 1.036 GB, free: 3.043 MB / 0.9948 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0005652/0.2437, allocations: 225.3 kB / 1.037 GB, free: 2.816 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 2.42e-05/0.2437, allocations: 11.94 kB / 1.037 GB, free: 2.805 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.805e-06/0.2437, allocations: 0 / 1.037 GB, free: 2.805 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.503e-05/0.2437, allocations: 4 kB / 1.037 GB, free: 2.801 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002125/0.2439, allocations: 27.98 kB / 1.037 GB, free: 2.773 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.312e-05/0.2439, allocations: 7.938 kB / 1.037 GB, free: 2.766 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000178/0.2441, allocations: 23.88 kB / 1.037 GB, free: 2.742 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.262e-05/0.2442, allocations: 8 kB / 1.037 GB, free: 2.734 MB / 0.9948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * 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 (17): * Single equations (assignments): 17 * 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.0001853/0.2443, allocations: 145.9 kB / 1.037 GB, free: 2.582 MB / 0.9948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.036e-05/0.2444, allocations: 31.86 kB / 1.037 GB, free: 2.551 MB / 0.9948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005379/0.245, allocations: 206.5 kB / 1.037 GB, free: 2.348 MB / 0.9948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.396e-06/0.245, allocations: 4 kB / 1.037 GB, free: 2.344 MB / 0.9948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.078e-06/0.245, allocations: 0 / 1.037 GB, free: 2.344 MB / 0.9948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.406e-06/0.245, allocations: 0 / 1.037 GB, free: 2.344 MB / 0.9948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001182/0.2462, allocations: 0.5973 MB / 1.038 GB, free: 1.688 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.336e-06/0.2462, allocations: 0 / 1.038 GB, free: 1.688 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001535/0.2463, allocations: 35.92 kB / 1.038 GB, free: 1.652 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.819e-06/0.2463, allocations: 0 / 1.038 GB, free: 1.652 MB / 0.9948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.688e-05/0.2463, allocations: 4 kB / 1.038 GB, free: 1.648 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.751e-06/0.2463, allocations: 4 kB / 1.038 GB, free: 1.645 MB / 0.9948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.924e-06/0.2463, allocations: 0 / 1.038 GB, free: 1.645 MB / 0.9948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005637/0.2469, allocations: 345.5 kB / 1.038 GB, free: 1.27 MB / 0.9948 GB Notification: Performance of postOpt removeConstants (simulation): time 9.255e-05/0.247, allocations: 35.84 kB / 1.038 GB, free: 1.234 MB / 0.9948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.7e-05/0.247, allocations: 8.062 kB / 1.038 GB, free: 1.227 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001604/0.2472, allocations: 11.98 kB / 1.038 GB, free: 1.215 MB / 0.9948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.143e-05/0.2473, allocations: 11.92 kB / 1.038 GB, free: 1.203 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.421e-05/0.2473, allocations: 8 kB / 1.038 GB, free: 1.195 MB / 0.9948 GB Notification: Performance of sorting global known variables: time 0.0001744/0.2474, allocations: 165.2 kB / 1.038 GB, free: 1.035 MB / 0.9948 GB Notification: Performance of sort global known variables: time 8e-08/0.2474, allocations: 0 / 1.038 GB, free: 1.035 MB / 0.9948 GB Notification: Performance of remove unused functions: time 0.0004736/0.2479, allocations: 91.66 kB / 1.038 GB, free: 0.9453 MB / 0.9948 GB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (13): * Single equations (assignments): 13 * 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.0003088/0.2482, allocations: 143.1 kB / 1.038 GB, free: 0.7969 MB / 0.9948 GB Notification: Performance of simCode: created initialization part: time 0.000565/0.2488, allocations: 148 kB / 1.039 GB, free: 0.6523 MB / 0.9948 GB Notification: Performance of simCode: created event and clocks part: time 5.34e-06/0.2488, allocations: 4 kB / 1.039 GB, free: 0.6484 MB / 0.9948 GB Notification: Performance of simCode: created simulation system equations: time 0.0002024/0.249, allocations: 79.81 kB / 1.039 GB, free: 0.5703 MB / 0.9948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006545/0.2496, allocations: 81.61 kB / 1.039 GB, free: 500 kB / 0.9948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001044/0.2507, allocations: 0.5082 MB / 1.039 GB, free: 15.93 MB / 1.01 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002123/0.2509, allocations: 175.5 kB / 1.039 GB, free: 15.74 MB / 1.01 GB Notification: Performance of simCode: alias equations: time 0.0001647/0.2511, allocations: 46.05 kB / 1.039 GB, free: 15.7 MB / 1.01 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.491e-05/0.2511, allocations: 24.5 kB / 1.039 GB, free: 15.67 MB / 1.01 GB Notification: Performance of SimCode: time 6.71e-07/0.2511, allocations: 4 kB / 1.039 GB, free: 15.67 MB / 1.01 GB Notification: Performance of Templates: time 0.00925/0.2604, allocations: 3.634 MB / 1.043 GB, free: 12.13 MB / 1.01 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe >> ../files/Buildings_latest_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate.sim & ./Buildings_latest_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Sensors_Examples_EnthalpyFlowRate.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate.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: 9.062078683986329]