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.0009891/0.0009891, allocations: 81.17 kB / 19.87 MB, free: 4.621 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.001123/0.001123, allocations: 169 kB / 23.27 MB, free: 1.223 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 0.9888/0.9888, allocations: 177.1 MB / 203.7 MB, free: 5.523 MB / 186.7 MB " [Timeout remaining time 179] 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 2.312/2.312, allocations: 438.1 MB / 0.682 GB, free: 14.13 MB / 0.6511 GB " [Timeout remaining time 177] 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.743e-06/1.743e-06, allocations: 0 / 0.8898 GB, free: 9.75 MB / 0.8542 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.227e-05/2.402e-05, allocations: 2.312 kB / 0.8898 GB, free: 9.746 MB / 0.8542 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate): time 0.1259/0.1259, allocations: 144 MB / 1.03 GB, free: 9.242 MB / 0.9948 GB Notification: Performance of NFInst.instExpressions: time 0.001404/0.1273, allocations: 0.9658 MB / 1.031 GB, free: 8.273 MB / 0.9948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001745/0.1275, allocations: 15.88 kB / 1.031 GB, free: 8.258 MB / 0.9948 GB Notification: Performance of NFTyping.typeComponents: time 0.0003181/0.1278, allocations: 87.27 kB / 1.031 GB, free: 8.172 MB / 0.9948 GB Notification: Performance of NFTyping.typeBindings: time 0.0007943/0.1286, allocations: 405.7 kB / 1.032 GB, free: 7.773 MB / 0.9948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007296/0.1293, allocations: 347.2 kB / 1.032 GB, free: 7.434 MB / 0.9948 GB Notification: Performance of NFFlatten.flatten: time 0.000513/0.1298, allocations: 0.6898 MB / 1.033 GB, free: 6.742 MB / 0.9948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002651/0.1301, allocations: 207.5 kB / 1.033 GB, free: 6.535 MB / 0.9948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004308/0.1305, allocations: 371 kB / 1.033 GB, free: 6.172 MB / 0.9948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002315/0.1307, allocations: 247.3 kB / 1.034 GB, free: 5.93 MB / 0.9948 GB Notification: Performance of NFPackage.collectConstants: time 3.384e-05/0.1308, allocations: 28 kB / 1.034 GB, free: 5.902 MB / 0.9948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002701/0.131, allocations: 187.5 kB / 1.034 GB, free: 5.719 MB / 0.9948 GB Notification: Performance of NFScalarize.scalarize: time 9.067e-05/0.1311, allocations: 111.6 kB / 1.034 GB, free: 5.609 MB / 0.9948 GB Notification: Performance of NFVerifyModel.verify: time 8.718e-05/0.1312, allocations: 119.7 kB / 1.034 GB, free: 5.492 MB / 0.9948 GB Notification: Performance of NFConvertDAE.convert: time 0.0003746/0.1316, allocations: 338.9 kB / 1.034 GB, free: 5.16 MB / 0.9948 GB Notification: Performance of FrontEnd - DAE generated: time 3.086e-06/0.1316, allocations: 0 / 1.034 GB, free: 5.16 MB / 0.9948 GB Notification: Performance of FrontEnd: time 1.052e-06/0.1316, allocations: 0 / 1.034 GB, free: 5.16 MB / 0.9948 GB Notification: Performance of Transformations before backend: time 4.569e-06/0.1316, allocations: 0 / 1.034 GB, free: 5.16 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.0005813/0.1322, allocations: 0.6358 MB / 1.035 GB, free: 4.484 MB / 0.9948 GB Notification: Performance of prepare preOptimizeDAE: time 4.088e-05/0.1322, allocations: 8.031 kB / 1.035 GB, free: 4.477 MB / 0.9948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002472/0.1325, allocations: 100.5 kB / 1.035 GB, free: 4.379 MB / 0.9948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002645/0.1327, allocations: 259.5 kB / 1.035 GB, free: 4.098 MB / 0.9948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.748e-05/0.1328, allocations: 21.03 kB / 1.035 GB, free: 4.078 MB / 0.9948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.329e-05/0.1328, allocations: 28.12 kB / 1.035 GB, free: 4.051 MB / 0.9948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002552/0.133, allocations: 265.5 kB / 1.036 GB, free: 3.754 MB / 0.9948 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.447e-06/0.133, allocations: 0 / 1.036 GB, free: 3.754 MB / 0.9948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.62e-05/0.1331, allocations: 12 kB / 1.036 GB, free: 3.742 MB / 0.9948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.135e-06/0.1331, allocations: 8 kB / 1.036 GB, free: 3.734 MB / 0.9948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.351e-05/0.1332, allocations: 71.33 kB / 1.036 GB, free: 3.664 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.000851/0.134, allocations: 1.379 MB / 1.037 GB, free: 2.23 MB / 0.9948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001052/0.1341, allocations: 74.95 kB / 1.037 GB, free: 2.145 MB / 0.9948 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.968e-05/0.1342, allocations: 35.67 kB / 1.037 GB, free: 2.105 MB / 0.9948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002115/0.1344, allocations: 47.88 kB / 1.037 GB, free: 2.059 MB / 0.9948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.182e-05/0.1344, allocations: 41.64 kB / 1.037 GB, free: 2.008 MB / 0.9948 GB Notification: Performance of pre-optimization done (n=13): time 1.563e-06/0.1344, allocations: 4 kB / 1.037 GB, free: 2.004 MB / 0.9948 GB Notification: Performance of matching and sorting (n=13): time 0.000281/0.1347, allocations: 133.5 kB / 1.037 GB, free: 1.867 MB / 0.9948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.909e-05/0.1347, allocations: 51.41 kB / 1.037 GB, free: 1.805 MB / 0.9948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001387/0.1348, allocations: 272.2 kB / 1.038 GB, free: 1.516 MB / 0.9948 GB Notification: Performance of collectPreVariables (initialization): time 1.713e-05/0.1349, allocations: 33.7 kB / 1.038 GB, free: 1.477 MB / 0.9948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001057/0.135, allocations: 242.8 kB / 1.038 GB, free: 1.234 MB / 0.9948 GB Notification: Performance of collectInitialBindings (initialization): time 2.624e-05/0.135, allocations: 47.62 kB / 1.038 GB, free: 1.188 MB / 0.9948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.043e-05/0.135, allocations: 43.31 kB / 1.038 GB, free: 1.137 MB / 0.9948 GB Notification: Performance of setup shared object (initialization): time 0.0001321/0.1352, allocations: 0.5156 MB / 1.039 GB, free: 0.6094 MB / 0.9948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.613e-05/0.1352, allocations: 12 kB / 1.039 GB, free: 0.5977 MB / 0.9948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.182e-05/0.1353, allocations: 157.1 kB / 1.039 GB, free: 412 kB / 0.9948 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.897e-05/0.1354, allocations: 98.03 kB / 1.039 GB, free: 288 kB / 0.9948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.833e-06/0.1354, allocations: 3.938 kB / 1.039 GB, free: 284 kB / 0.9948 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0001435/0.1355, allocations: 125.6 kB / 1.039 GB, free: 152 kB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 1.296e-05/0.1355, allocations: 4 kB / 1.039 GB, free: 148 kB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.263e-06/0.1355, allocations: 8 kB / 1.039 GB, free: 140 kB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.498e-06/0.1356, allocations: 0 / 1.039 GB, free: 140 kB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.651e-05/0.1356, allocations: 35.92 kB / 1.039 GB, free: 104 kB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.479e-06/0.1357, allocations: 4 kB / 1.039 GB, free: 100 kB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.553e-05/0.1357, allocations: 19.83 kB / 1.039 GB, free: 80 kB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.794e-05/0.1357, allocations: 8 kB / 1.039 GB, free: 72 kB / 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.0002659/0.136, allocations: 168.5 kB / 1.039 GB, free: 15.89 MB / 1.01 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.973e-05/0.136, allocations: 23.86 kB / 1.039 GB, free: 15.87 MB / 1.01 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001546/0.1362, allocations: 115.5 kB / 1.039 GB, free: 15.75 MB / 1.01 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.58e-06/0.1362, allocations: 7.984 kB / 1.039 GB, free: 15.75 MB / 1.01 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.883e-06/0.1362, allocations: 0 / 1.039 GB, free: 15.75 MB / 1.01 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.116e-06/0.1362, allocations: 0 / 1.039 GB, free: 15.75 MB / 1.01 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004393/0.1366, allocations: 0.4993 MB / 1.04 GB, free: 15.18 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.557e-06/0.1366, allocations: 4 kB / 1.04 GB, free: 15.18 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.957e-05/0.1367, allocations: 32.2 kB / 1.04 GB, free: 15.15 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.635e-06/0.1367, allocations: 3.938 kB / 1.04 GB, free: 15.14 MB / 1.01 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.267e-05/0.1367, allocations: 7.938 kB / 1.04 GB, free: 15.14 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.817e-06/0.1367, allocations: 7.938 kB / 1.04 GB, free: 15.13 MB / 1.01 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.894e-06/0.1367, allocations: 0 / 1.04 GB, free: 15.13 MB / 1.01 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001612/0.1369, allocations: 313.5 kB / 1.04 GB, free: 14.77 MB / 1.01 GB Notification: Performance of postOpt removeConstants (simulation): time 4.105e-05/0.1369, allocations: 35.77 kB / 1.04 GB, free: 14.74 MB / 1.01 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.637e-05/0.1369, allocations: 7.938 kB / 1.04 GB, free: 14.73 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.419e-05/0.137, allocations: 11.98 kB / 1.04 GB, free: 14.72 MB / 1.01 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.568e-05/0.137, allocations: 12.05 kB / 1.04 GB, free: 14.71 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.019e-05/0.137, allocations: 12 kB / 1.04 GB, free: 14.7 MB / 1.01 GB Notification: Performance of sorting global known variables: time 7.206e-05/0.1371, allocations: 189.1 kB / 1.04 GB, free: 14.52 MB / 1.01 GB Notification: Performance of sort global known variables: time 4e-08/0.1371, allocations: 0 / 1.04 GB, free: 14.52 MB / 1.01 GB Notification: Performance of remove unused functions: time 0.0002445/0.1374, allocations: 79.78 kB / 1.04 GB, free: 14.44 MB / 1.01 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.0001885/0.1376, allocations: 131.1 kB / 1.041 GB, free: 14.3 MB / 1.01 GB Notification: Performance of simCode: created initialization part: time 0.0001229/0.1377, allocations: 87.56 kB / 1.041 GB, free: 14.21 MB / 1.01 GB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/0.1377, allocations: 0 / 1.041 GB, free: 14.21 MB / 1.01 GB Notification: Performance of simCode: created simulation system equations: time 4.071e-05/0.1377, allocations: 37.61 kB / 1.041 GB, free: 14.17 MB / 1.01 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003668/0.1381, allocations: 90.88 kB / 1.041 GB, free: 14.08 MB / 1.01 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007344/0.1388, allocations: 0.5135 MB / 1.041 GB, free: 13.51 MB / 1.01 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.752e-05/0.1389, allocations: 100.3 kB / 1.041 GB, free: 13.39 MB / 1.01 GB Notification: Performance of simCode: alias equations: time 7.411e-05/0.139, allocations: 30.11 kB / 1.041 GB, free: 13.36 MB / 1.01 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001602/0.1391, allocations: 138.1 kB / 1.042 GB, free: 13.23 MB / 1.01 GB Notification: Performance of SimCode: time 5.51e-07/0.1391, allocations: 0 / 1.042 GB, free: 13.23 MB / 1.01 GB Notification: Performance of Templates: time 0.006139/0.1453, allocations: 3.924 MB / 1.045 GB, free: 9.391 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=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Sensors_Examples_EnthalpyFlowRate.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.858531883917749]