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.0009018/0.0009018, allocations: 80.88 kB / 19.94 MB, free: 4.547 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.0009334/0.0009334, allocations: 181 kB / 23.36 MB, free: 1.133 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.9948/0.9948, allocations: 177.1 MB / 203.8 MB, free: 5.48 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.358/2.358, allocations: 438.8 MB / 0.6827 GB, free: 13.61 MB / 0.6511 GB " [Timeout remaining time 177] Using package Buildings with version 14.1.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 2.865e-06/2.865e-06, allocations: 0 / 0.8386 GB, free: 14.21 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.372e-05/3.659e-05, allocations: 10.25 kB / 0.8386 GB, free: 14.2 MB / 0.8073 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate): time 0.1344/0.1344, allocations: 146 MB / 0.9812 GB, free: 11.6 MB / 0.948 GB Notification: Performance of NFInst.instExpressions: time 0.0014/0.1358, allocations: 1.004 MB / 0.9822 GB, free: 10.59 MB / 0.948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001638/0.136, allocations: 15.88 kB / 0.9822 GB, free: 10.57 MB / 0.948 GB Notification: Performance of NFTyping.typeComponents: time 0.0003276/0.1363, allocations: 87.27 kB / 0.9823 GB, free: 10.49 MB / 0.948 GB Notification: Performance of NFTyping.typeBindings: time 0.0007597/0.1371, allocations: 409.7 kB / 0.9827 GB, free: 10.09 MB / 0.948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005215/0.1376, allocations: 335.2 kB / 0.983 GB, free: 9.758 MB / 0.948 GB Notification: Performance of NFFlatten.flatten: time 0.0005456/0.1381, allocations: 0.686 MB / 0.9837 GB, free: 9.07 MB / 0.948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002764/0.1384, allocations: 210.1 kB / 0.9839 GB, free: 8.867 MB / 0.948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004229/0.1388, allocations: 375 kB / 0.9842 GB, free: 8.5 MB / 0.948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002427/0.1391, allocations: 227.3 kB / 0.9845 GB, free: 8.277 MB / 0.948 GB Notification: Performance of NFPackage.collectConstants: time 3.05e-05/0.1391, allocations: 20 kB / 0.9845 GB, free: 8.258 MB / 0.948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002308/0.1393, allocations: 179.6 kB / 0.9847 GB, free: 8.082 MB / 0.948 GB Notification: Performance of NFScalarize.scalarize: time 9.257e-05/0.1394, allocations: 119.6 kB / 0.9848 GB, free: 7.965 MB / 0.948 GB Notification: Performance of NFVerifyModel.verify: time 8.659e-05/0.1395, allocations: 115.7 kB / 0.9849 GB, free: 7.852 MB / 0.948 GB Notification: Performance of NFConvertDAE.convert: time 0.0003422/0.1399, allocations: 350.8 kB / 0.9852 GB, free: 7.508 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 3.126e-06/0.1399, allocations: 0 / 0.9852 GB, free: 7.508 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.413e-06/0.1399, allocations: 0 / 0.9852 GB, free: 7.508 MB / 0.948 GB Notification: Performance of Transformations before backend: time 5.811e-06/0.1399, allocations: 3.984 kB / 0.9852 GB, free: 7.504 MB / 0.948 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.0007157/0.1406, allocations: 0.5072 MB / 0.9857 GB, free: 6.973 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 3.198e-05/0.1406, allocations: 8.031 kB / 0.9857 GB, free: 6.965 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002347/0.1409, allocations: 80.73 kB / 0.9858 GB, free: 6.887 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002839/0.1411, allocations: 248.7 kB / 0.986 GB, free: 6.613 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.146e-05/0.1412, allocations: 21.03 kB / 0.9861 GB, free: 6.59 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.138e-05/0.1412, allocations: 28.12 kB / 0.9861 GB, free: 6.562 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002626/0.1414, allocations: 252.5 kB / 0.9863 GB, free: 6.285 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.211e-05/0.1415, allocations: 4 kB / 0.9863 GB, free: 6.281 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.629e-05/0.1415, allocations: 8 kB / 0.9863 GB, free: 6.273 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.728e-06/0.1415, allocations: 12 kB / 0.9863 GB, free: 6.262 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.55e-05/0.1416, allocations: 79.83 kB / 0.9864 GB, free: 6.184 MB / 0.948 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.0007235/0.1423, allocations: 0.9802 MB / 0.9874 GB, free: 5.16 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001017/0.1424, allocations: 109.3 kB / 0.9875 GB, free: 5.043 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.232e-05/0.1424, allocations: 31.69 kB / 0.9875 GB, free: 5.008 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000176/0.1426, allocations: 47.94 kB / 0.9876 GB, free: 4.961 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.834e-05/0.1426, allocations: 34.56 kB / 0.9876 GB, free: 4.918 MB / 0.948 GB Notification: Performance of pre-optimization done (n=13): time 1.422e-06/0.1426, allocations: 3.938 kB / 0.9876 GB, free: 4.914 MB / 0.948 GB Notification: Performance of matching and sorting (n=13): time 0.0002281/0.1429, allocations: 109.6 kB / 0.9877 GB, free: 4.801 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.897e-05/0.1429, allocations: 55.41 kB / 0.9878 GB, free: 4.734 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001167/0.143, allocations: 217 kB / 0.988 GB, free: 4.512 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 1.494e-05/0.143, allocations: 29.7 kB / 0.988 GB, free: 4.477 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 7.457e-05/0.1431, allocations: 168.6 kB / 0.9881 GB, free: 4.309 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 2.708e-05/0.1431, allocations: 55.52 kB / 0.9882 GB, free: 4.254 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.513e-05/0.1432, allocations: 33.7 kB / 0.9882 GB, free: 4.215 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 8.032e-05/0.1432, allocations: 334.7 kB / 0.9886 GB, free: 3.879 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.847e-05/0.1433, allocations: 22.81 kB / 0.9886 GB, free: 3.855 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.53e-05/0.1433, allocations: 144.1 kB / 0.9887 GB, free: 3.68 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.727e-05/0.1434, allocations: 86.7 kB / 0.9888 GB, free: 3.574 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.024e-06/0.1434, allocations: 0 / 0.9888 GB, free: 3.574 MB / 0.948 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0001124/0.1435, allocations: 108.3 kB / 0.9889 GB, free: 3.461 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.048e-05/0.1435, allocations: 8 kB / 0.9889 GB, free: 3.453 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.779e-06/0.1436, allocations: 0 / 0.9889 GB, free: 3.453 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.317e-05/0.1436, allocations: 4 kB / 0.9889 GB, free: 3.449 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.625e-05/0.1437, allocations: 40.08 kB / 0.9889 GB, free: 3.41 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.367e-06/0.1437, allocations: 0 / 0.9889 GB, free: 3.41 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.534e-05/0.1437, allocations: 11.95 kB / 0.989 GB, free: 3.398 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.727e-05/0.1437, allocations: 11.94 kB / 0.989 GB, free: 3.387 MB / 0.948 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 7.4e-05/0.1438, allocations: 124.6 kB / 0.9891 GB, free: 3.254 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.311e-05/0.1438, allocations: 19.92 kB / 0.9891 GB, free: 3.234 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001224/0.1439, allocations: 103 kB / 0.9892 GB, free: 3.129 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.462e-06/0.1439, allocations: 0 / 0.9892 GB, free: 3.129 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.236e-06/0.144, allocations: 8 kB / 0.9892 GB, free: 3.121 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.055e-06/0.144, allocations: 0 / 0.9892 GB, free: 3.121 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003853/0.1443, allocations: 496 kB / 0.9897 GB, free: 2.582 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.773e-06/0.1443, allocations: 0 / 0.9897 GB, free: 2.582 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.04e-05/0.1444, allocations: 27.92 kB / 0.9897 GB, free: 2.555 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.998e-06/0.1444, allocations: 4 kB / 0.9897 GB, free: 2.551 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.001e-05/0.1444, allocations: 11.94 kB / 0.9897 GB, free: 2.539 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.304e-06/0.1444, allocations: 224 / 0.9897 GB, free: 2.539 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.475e-06/0.1444, allocations: 8 kB / 0.9897 GB, free: 2.531 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000152/0.1446, allocations: 292 kB / 0.99 GB, free: 2.199 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 3.385e-05/0.1446, allocations: 23.84 kB / 0.99 GB, free: 2.176 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.652e-05/0.1446, allocations: 7.938 kB / 0.99 GB, free: 2.168 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.853e-05/0.1447, allocations: 7.984 kB / 0.9901 GB, free: 2.16 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.306e-05/0.1447, allocations: 19.92 kB / 0.9901 GB, free: 2.141 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.611e-06/0.1447, allocations: 4 kB / 0.9901 GB, free: 2.137 MB / 0.948 GB Notification: Performance of sorting global known variables: time 4.486e-05/0.1448, allocations: 70.78 kB / 0.9901 GB, free: 2.062 MB / 0.948 GB Notification: Performance of sort global known variables: time 6e-08/0.1448, allocations: 0 / 0.9901 GB, free: 2.062 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.0002086/0.145, allocations: 87.78 kB / 0.9902 GB, free: 1.977 MB / 0.948 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.0001617/0.1451, allocations: 112.2 kB / 0.9903 GB, free: 1.859 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.0001089/0.1452, allocations: 68.7 kB / 0.9904 GB, free: 1.789 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 4.328e-06/0.1453, allocations: 4 kB / 0.9904 GB, free: 1.785 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 3.957e-05/0.1453, allocations: 37.41 kB / 0.9904 GB, free: 1.746 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002862/0.1456, allocations: 88.61 kB / 0.9905 GB, free: 1.66 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006805/0.1463, allocations: 0.5108 MB / 0.991 GB, free: 1.09 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.667e-05/0.1463, allocations: 100.3 kB / 0.9911 GB, free: 0.9727 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 6.73e-05/0.1464, allocations: 25.94 kB / 0.9911 GB, free: 0.9492 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001346/0.1465, allocations: 107.3 kB / 0.9912 GB, free: 0.8438 MB / 0.948 GB Notification: Performance of SimCode: time 5.71e-07/0.1465, allocations: 0 / 0.9912 GB, free: 0.8438 MB / 0.948 GB Notification: Performance of Templates: time 0.005673/0.1522, allocations: 3.859 MB / 0.995 GB, free: 13.08 MB / 0.9636 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.492494729813188]