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.001772/0.001772, allocations: 73.09 kB / 20.66 MB, free: 3.844 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.002281/0.002281, allocations: 169 kB / 24.06 MB, free: 456 kB / 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.12/1.12, allocations: 177.1 MB / 204.5 MB, free: 5.504 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.301/2.301, allocations: 429.5 MB / 0.6743 GB, free: 3.902 MB / 0.6355 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.683e-06/1.683e-06, allocations: 1.094 kB / 0.8794 GB, free: 5.984 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.245e-05/2.414e-05, allocations: 4.984 kB / 0.8794 GB, free: 5.98 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate): time 0.1251/0.1251, allocations: 143.9 MB / 1.02 GB, free: 5.523 MB / 0.9792 GB Notification: Performance of NFInst.instExpressions: time 0.001607/0.1267, allocations: 0.9584 MB / 1.021 GB, free: 4.562 MB / 0.9792 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001963/0.1269, allocations: 19.81 kB / 1.021 GB, free: 4.543 MB / 0.9792 GB Notification: Performance of NFTyping.typeComponents: time 0.0003135/0.1272, allocations: 95.2 kB / 1.021 GB, free: 4.449 MB / 0.9792 GB Notification: Performance of NFTyping.typeBindings: time 0.0007848/0.128, allocations: 405.8 kB / 1.021 GB, free: 4.051 MB / 0.9792 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005779/0.1286, allocations: 347.2 kB / 1.022 GB, free: 3.711 MB / 0.9792 GB Notification: Performance of NFFlatten.flatten: time 0.000526/0.1291, allocations: 0.6937 MB / 1.022 GB, free: 3.016 MB / 0.9792 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002617/0.1294, allocations: 207.5 kB / 1.023 GB, free: 2.816 MB / 0.9792 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004141/0.1298, allocations: 378.9 kB / 1.023 GB, free: 2.445 MB / 0.9792 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002439/0.1301, allocations: 243.3 kB / 1.023 GB, free: 2.207 MB / 0.9792 GB Notification: Performance of NFPackage.collectConstants: time 3.217e-05/0.1301, allocations: 24 kB / 1.023 GB, free: 2.184 MB / 0.9792 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002997/0.1304, allocations: 191.5 kB / 1.023 GB, free: 1.996 MB / 0.9792 GB Notification: Performance of NFScalarize.scalarize: time 0.0001001/0.1305, allocations: 111.6 kB / 1.024 GB, free: 1.887 MB / 0.9792 GB Notification: Performance of NFVerifyModel.verify: time 9.609e-05/0.1306, allocations: 111.8 kB / 1.024 GB, free: 1.777 MB / 0.9792 GB Notification: Performance of NFConvertDAE.convert: time 0.0003965/0.131, allocations: 342.8 kB / 1.024 GB, free: 1.441 MB / 0.9792 GB Notification: Performance of FrontEnd - DAE generated: time 4.438e-06/0.131, allocations: 4 kB / 1.024 GB, free: 1.438 MB / 0.9792 GB Notification: Performance of FrontEnd: time 8.81e-07/0.131, allocations: 0 / 1.024 GB, free: 1.438 MB / 0.9792 GB Notification: Performance of Transformations before backend: time 4.879e-06/0.131, allocations: 0 / 1.024 GB, free: 1.438 MB / 0.9792 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.0005991/0.1316, allocations: 0.6435 MB / 1.025 GB, free: 0.7539 MB / 0.9792 GB Notification: Performance of prepare preOptimizeDAE: time 3.485e-05/0.1316, allocations: 12.03 kB / 1.025 GB, free: 0.7422 MB / 0.9792 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002626/0.1319, allocations: 92.55 kB / 1.025 GB, free: 0.6523 MB / 0.9792 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002901/0.1322, allocations: 259.5 kB / 1.025 GB, free: 384 kB / 0.9792 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.867e-05/0.1322, allocations: 21.03 kB / 1.025 GB, free: 364 kB / 0.9792 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.488e-05/0.1322, allocations: 28.12 kB / 1.025 GB, free: 336 kB / 0.9792 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002615/0.1325, allocations: 261.5 kB / 1.025 GB, free: 32 kB / 0.9792 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.568e-06/0.1325, allocations: 4 kB / 1.025 GB, free: 28 kB / 0.9792 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.557e-05/0.1325, allocations: 8 kB / 1.025 GB, free: 20 kB / 0.9792 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.484e-06/0.1325, allocations: 8 kB / 1.025 GB, free: 12 kB / 0.9792 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.471e-05/0.1326, allocations: 71.38 kB / 1.025 GB, free: 15.95 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.0008902/0.1335, allocations: 1.383 MB / 1.027 GB, free: 14.5 MB / 0.9948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001057/0.1336, allocations: 71.02 kB / 1.027 GB, free: 14.42 MB / 0.9948 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.717e-05/0.1336, allocations: 35.67 kB / 1.027 GB, free: 14.38 MB / 0.9948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002003/0.1338, allocations: 47.94 kB / 1.027 GB, free: 14.34 MB / 0.9948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.007e-05/0.1339, allocations: 37.39 kB / 1.027 GB, free: 14.29 MB / 0.9948 GB Notification: Performance of pre-optimization done (n=13): time 1.914e-06/0.1339, allocations: 4 kB / 1.027 GB, free: 14.29 MB / 0.9948 GB Notification: Performance of matching and sorting (n=13): time 0.0002991/0.1342, allocations: 141.6 kB / 1.027 GB, free: 14.14 MB / 0.9948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.569e-05/0.1342, allocations: 51.41 kB / 1.027 GB, free: 14.08 MB / 0.9948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001387/0.1343, allocations: 272.2 kB / 1.027 GB, free: 13.8 MB / 0.9948 GB Notification: Performance of collectPreVariables (initialization): time 1.738e-05/0.1344, allocations: 33.7 kB / 1.027 GB, free: 13.76 MB / 0.9948 GB Notification: Performance of collectInitialEqns (initialization): time 0.000104/0.1345, allocations: 238.8 kB / 1.028 GB, free: 13.52 MB / 0.9948 GB Notification: Performance of collectInitialBindings (initialization): time 2.746e-05/0.1345, allocations: 47.62 kB / 1.028 GB, free: 13.47 MB / 0.9948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.815e-05/0.1345, allocations: 39.36 kB / 1.028 GB, free: 13.43 MB / 0.9948 GB Notification: Performance of setup shared object (initialization): time 0.0001219/0.1347, allocations: 0.5078 MB / 1.028 GB, free: 12.91 MB / 0.9948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.596e-05/0.1347, allocations: 15.98 kB / 1.028 GB, free: 12.89 MB / 0.9948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.922e-05/0.1348, allocations: 159.2 kB / 1.028 GB, free: 12.69 MB / 0.9948 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.765e-05/0.1349, allocations: 101.9 kB / 1.028 GB, free: 12.57 MB / 0.9948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.235e-06/0.1349, allocations: 0 / 1.028 GB, free: 12.57 MB / 0.9948 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0001513/0.135, allocations: 125.5 kB / 1.029 GB, free: 12.44 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 1.434e-05/0.135, allocations: 10.17 kB / 1.029 GB, free: 12.43 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.133e-06/0.135, allocations: 4 kB / 1.029 GB, free: 12.43 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.286e-06/0.135, allocations: 0 / 1.029 GB, free: 12.43 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.608e-05/0.1351, allocations: 31.98 kB / 1.029 GB, free: 12.39 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.41e-06/0.1351, allocations: 7.938 kB / 1.029 GB, free: 12.39 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.702e-05/0.1352, allocations: 19.83 kB / 1.029 GB, free: 12.37 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.702e-05/0.1352, allocations: 4 kB / 1.029 GB, free: 12.36 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 8.892e-05/0.1353, allocations: 172.5 kB / 1.029 GB, free: 12.18 MB / 0.9948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.187e-05/0.1354, allocations: 23.86 kB / 1.029 GB, free: 12.16 MB / 0.9948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001474/0.1355, allocations: 127.1 kB / 1.029 GB, free: 12.03 MB / 0.9948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.115e-06/0.1355, allocations: 4 kB / 1.029 GB, free: 12.03 MB / 0.9948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.903e-06/0.1355, allocations: 0 / 1.029 GB, free: 12.03 MB / 0.9948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.338e-06/0.1355, allocations: 3.984 kB / 1.029 GB, free: 12.02 MB / 0.9948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004527/0.136, allocations: 0.4954 MB / 1.029 GB, free: 11.46 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.657e-06/0.136, allocations: 4 kB / 1.029 GB, free: 11.46 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.611e-05/0.136, allocations: 36.2 kB / 1.029 GB, free: 11.43 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.105e-06/0.136, allocations: 0 / 1.029 GB, free: 11.43 MB / 0.9948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.039e-05/0.136, allocations: 11.94 kB / 1.029 GB, free: 11.41 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.116e-06/0.136, allocations: 4 kB / 1.029 GB, free: 11.41 MB / 0.9948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.593e-06/0.136, allocations: 0 / 1.029 GB, free: 11.41 MB / 0.9948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001812/0.1362, allocations: 313.5 kB / 1.03 GB, free: 11.05 MB / 0.9948 GB Notification: Performance of postOpt removeConstants (simulation): time 3.704e-05/0.1363, allocations: 27.83 kB / 1.03 GB, free: 11.03 MB / 0.9948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.748e-05/0.1363, allocations: 7.938 kB / 1.03 GB, free: 11.02 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.617e-05/0.1364, allocations: 11.98 kB / 1.03 GB, free: 11.01 MB / 0.9948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.536e-05/0.1364, allocations: 11.98 kB / 1.03 GB, free: 11 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.033e-06/0.1364, allocations: 4 kB / 1.03 GB, free: 10.99 MB / 0.9948 GB Notification: Performance of sorting global known variables: time 7.755e-05/0.1365, allocations: 197 kB / 1.03 GB, free: 10.8 MB / 0.9948 GB Notification: Performance of sort global known variables: time 6.1e-08/0.1365, allocations: 0 / 1.03 GB, free: 10.8 MB / 0.9948 GB Notification: Performance of remove unused functions: time 0.0002611/0.1367, allocations: 83.78 kB / 1.03 GB, free: 10.72 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.0001847/0.1369, allocations: 123.2 kB / 1.03 GB, free: 10.59 MB / 0.9948 GB Notification: Performance of simCode: created initialization part: time 0.0001305/0.137, allocations: 87.58 kB / 1.03 GB, free: 10.5 MB / 0.9948 GB Notification: Performance of simCode: created event and clocks part: time 1.202e-06/0.137, allocations: 0 / 1.03 GB, free: 10.5 MB / 0.9948 GB Notification: Performance of simCode: created simulation system equations: time 4.712e-05/0.1371, allocations: 43.53 kB / 1.03 GB, free: 10.45 MB / 0.9948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003824/0.1375, allocations: 98.75 kB / 1.03 GB, free: 10.36 MB / 0.9948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007665/0.1382, allocations: 0.5135 MB / 1.031 GB, free: 9.773 MB / 0.9948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.228e-05/0.1383, allocations: 104.2 kB / 1.031 GB, free: 9.652 MB / 0.9948 GB Notification: Performance of simCode: alias equations: time 7.565e-05/0.1384, allocations: 25.98 kB / 1.031 GB, free: 9.629 MB / 0.9948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001574/0.1385, allocations: 138.1 kB / 1.031 GB, free: 9.492 MB / 0.9948 GB Notification: Performance of SimCode: time 7.21e-07/0.1385, allocations: 0 / 1.031 GB, free: 9.492 MB / 0.9948 GB Notification: Performance of Templates: time 0.006242/0.1448, allocations: 3.982 MB / 1.035 GB, free: 5.609 MB / 0.9948 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: 6.151296397205442]