Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.0009194/0.0009194, allocations: 80.88 kB / 20.75 MB, free: 3.578 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.0009721/0.0009721, allocations: 165 kB / 24.17 MB, free: 168 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 0.9458/0.9458, allocations: 177.2 MB / 204.6 MB, free: 5.141 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo): time 1.886/1.886, allocations: 377.9 MB / 0.624 GB, free: 8.379 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-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.EnthalpyFlowRate,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|senMasFlo.m_flow|senH.h_out|senH_flow.H_flow|cheEqu.y",fileNamePrefix="Buildings_12_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_12_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.163e-06/1.163e-06, allocations: 1.203 kB / 0.76 GB, free: 6.633 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.509e-05/1.625e-05, allocations: 4.703 kB / 0.76 GB, free: 6.629 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate): time 0.1232/0.1232, allocations: 146.1 MB / 0.9027 GB, free: 4.215 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.001287/0.1245, allocations: 1.012 MB / 0.9037 GB, free: 3.199 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001527/0.1246, allocations: 15.88 kB / 0.9037 GB, free: 3.184 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 0.0002865/0.1249, allocations: 87.27 kB / 0.9038 GB, free: 3.098 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 0.0006742/0.1256, allocations: 413.7 kB / 0.9042 GB, free: 2.691 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004734/0.1261, allocations: 347.2 kB / 0.9045 GB, free: 2.352 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 0.0004904/0.1266, allocations: 0.7016 MB / 0.9052 GB, free: 1.648 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002622/0.1268, allocations: 230 kB / 0.9054 GB, free: 1.422 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000379/0.1272, allocations: 375 kB / 0.9058 GB, free: 1.055 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002264/0.1274, allocations: 231.3 kB / 0.906 GB, free: 0.8281 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 3.01e-05/0.1275, allocations: 20 kB / 0.906 GB, free: 0.8086 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002231/0.1277, allocations: 187.5 kB / 0.9062 GB, free: 0.625 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 9.24e-05/0.1278, allocations: 123.6 kB / 0.9063 GB, free: 0.5039 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 8.239e-05/0.1279, allocations: 111.8 kB / 0.9064 GB, free: 404 kB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 0.0003108/0.1282, allocations: 338.8 kB / 0.9067 GB, free: 64 kB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 3.126e-06/0.1282, allocations: 0 / 0.9067 GB, free: 64 kB / 0.8542 GB Notification: Performance of FrontEnd: time 8.32e-07/0.1282, allocations: 3.938 kB / 0.9067 GB, free: 60 kB / 0.8542 GB Notification: Performance of Transformations before backend: time 3.938e-06/0.1282, allocations: 0 / 0.9067 GB, free: 60 kB / 0.8542 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.0004983/0.1287, allocations: 0.5152 MB / 0.9072 GB, free: 15.52 MB / 0.8699 GB Notification: Performance of prepare preOptimizeDAE: time 2.913e-05/0.1287, allocations: 12.03 kB / 0.9072 GB, free: 15.51 MB / 0.8699 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002195/0.1289, allocations: 84.73 kB / 0.9073 GB, free: 15.43 MB / 0.8699 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002549/0.1292, allocations: 248.6 kB / 0.9076 GB, free: 15.16 MB / 0.8699 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.71e-05/0.1292, allocations: 21.03 kB / 0.9076 GB, free: 15.14 MB / 0.8699 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.655e-05/0.1292, allocations: 28.12 kB / 0.9076 GB, free: 15.11 MB / 0.8699 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002347/0.1295, allocations: 252.5 kB / 0.9078 GB, free: 14.83 MB / 0.8699 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.307e-06/0.1295, allocations: 4 kB / 0.9079 GB, free: 14.83 MB / 0.8699 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.66e-05/0.1295, allocations: 12 kB / 0.9079 GB, free: 14.82 MB / 0.8699 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.204e-06/0.1295, allocations: 4 kB / 0.9079 GB, free: 14.81 MB / 0.8699 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.372e-05/0.1296, allocations: 83.83 kB / 0.9079 GB, free: 14.73 MB / 0.8699 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.0007935/0.1304, allocations: 0.9763 MB / 0.9089 GB, free: 13.71 MB / 0.8699 GB Notification: Performance of preOpt comSubExp (simulation): time 9.158e-05/0.1305, allocations: 97.3 kB / 0.909 GB, free: 13.6 MB / 0.8699 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.386e-05/0.1305, allocations: 31.67 kB / 0.909 GB, free: 13.57 MB / 0.8699 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000173/0.1307, allocations: 55.92 kB / 0.9091 GB, free: 13.51 MB / 0.8699 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.739e-05/0.1307, allocations: 30.56 kB / 0.9091 GB, free: 13.47 MB / 0.8699 GB Notification: Performance of pre-optimization done (n=13): time 1.243e-06/0.1307, allocations: 3.938 kB / 0.9091 GB, free: 13.47 MB / 0.8699 GB Notification: Performance of matching and sorting (n=13): time 0.0002222/0.1309, allocations: 121.1 kB / 0.9092 GB, free: 13.35 MB / 0.8699 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.862e-05/0.1309, allocations: 51.41 kB / 0.9093 GB, free: 13.29 MB / 0.8699 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001196/0.1311, allocations: 217 kB / 0.9095 GB, free: 13.06 MB / 0.8699 GB Notification: Performance of collectPreVariables (initialization): time 1.407e-05/0.1311, allocations: 25.7 kB / 0.9095 GB, free: 13.03 MB / 0.8699 GB Notification: Performance of collectInitialEqns (initialization): time 7.229e-05/0.1311, allocations: 184.5 kB / 0.9097 GB, free: 12.85 MB / 0.8699 GB Notification: Performance of collectInitialBindings (initialization): time 2.575e-05/0.1312, allocations: 47.62 kB / 0.9097 GB, free: 12.8 MB / 0.8699 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.472e-05/0.1312, allocations: 37.66 kB / 0.9098 GB, free: 12.76 MB / 0.8699 GB Notification: Performance of setup shared object (initialization): time 8.362e-05/0.1313, allocations: 338.7 kB / 0.9101 GB, free: 12.42 MB / 0.8699 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.507e-05/0.1313, allocations: 14.83 kB / 0.9101 GB, free: 12.4 MB / 0.8699 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.938e-05/0.1314, allocations: 139.6 kB / 0.9102 GB, free: 12.23 MB / 0.8699 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.648e-05/0.1315, allocations: 90.7 kB / 0.9103 GB, free: 12.12 MB / 0.8699 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.214e-06/0.1315, allocations: 0 / 0.9103 GB, free: 12.12 MB / 0.8699 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0001113/0.1316, allocations: 104.3 kB / 0.9104 GB, free: 12.01 MB / 0.8699 GB Notification: Performance of prepare postOptimizeDAE: time 1.17e-05/0.1316, allocations: 8 kB / 0.9104 GB, free: 12 MB / 0.8699 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.929e-06/0.1316, allocations: 4.156 kB / 0.9104 GB, free: 12 MB / 0.8699 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.306e-05/0.1316, allocations: 4 kB / 0.9104 GB, free: 12 MB / 0.8699 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.63e-05/0.1317, allocations: 35.92 kB / 0.9105 GB, free: 11.96 MB / 0.8699 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.547e-06/0.1317, allocations: 0 / 0.9105 GB, free: 11.96 MB / 0.8699 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.963e-05/0.1318, allocations: 27.81 kB / 0.9105 GB, free: 11.93 MB / 0.8699 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.754e-05/0.1318, allocations: 7.938 kB / 0.9105 GB, free: 11.93 MB / 0.8699 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.048e-05/0.1319, allocations: 116.7 kB / 0.9106 GB, free: 11.8 MB / 0.8699 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.514e-05/0.1319, allocations: 23.92 kB / 0.9106 GB, free: 11.78 MB / 0.8699 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000115/0.132, allocations: 95.42 kB / 0.9107 GB, free: 11.67 MB / 0.8699 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.042e-06/0.132, allocations: 0 / 0.9107 GB, free: 11.67 MB / 0.8699 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.803e-06/0.132, allocations: 4 kB / 0.9107 GB, free: 11.67 MB / 0.8699 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.889e-06/0.132, allocations: 7.984 kB / 0.9107 GB, free: 11.66 MB / 0.8699 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003696/0.1324, allocations: 487.9 kB / 0.9112 GB, free: 11.13 MB / 0.8699 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.342e-06/0.1324, allocations: 0 / 0.9112 GB, free: 11.13 MB / 0.8699 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.555e-05/0.1324, allocations: 27.94 kB / 0.9112 GB, free: 11.1 MB / 0.8699 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.256e-06/0.1324, allocations: 8.203 kB / 0.9112 GB, free: 11.09 MB / 0.8699 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.106e-05/0.1324, allocations: 11.94 kB / 0.9113 GB, free: 11.08 MB / 0.8699 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.934e-06/0.1324, allocations: 0 / 0.9113 GB, free: 11.08 MB / 0.8699 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.973e-06/0.1324, allocations: 4 kB / 0.9113 GB, free: 11.08 MB / 0.8699 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001386/0.1326, allocations: 292 kB / 0.9115 GB, free: 10.75 MB / 0.8699 GB Notification: Performance of postOpt removeConstants (simulation): time 3.36e-05/0.1326, allocations: 31.84 kB / 0.9116 GB, free: 10.71 MB / 0.8699 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.616e-05/0.1326, allocations: 3.938 kB / 0.9116 GB, free: 10.71 MB / 0.8699 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.8e-05/0.1327, allocations: 8 kB / 0.9116 GB, free: 10.7 MB / 0.8699 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.863e-05/0.1327, allocations: 15.92 kB / 0.9116 GB, free: 10.69 MB / 0.8699 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.581e-06/0.1327, allocations: 4 kB / 0.9116 GB, free: 10.68 MB / 0.8699 GB Notification: Performance of sorting global known variables: time 4.376e-05/0.1328, allocations: 78.77 kB / 0.9117 GB, free: 10.61 MB / 0.8699 GB Notification: Performance of sort global known variables: time 5e-08/0.1328, allocations: 0 / 0.9117 GB, free: 10.61 MB / 0.8699 GB Notification: Performance of remove unused functions: time 0.0002017/0.133, allocations: 87.72 kB / 0.9118 GB, free: 10.52 MB / 0.8699 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.0001577/0.1331, allocations: 108.3 kB / 0.9119 GB, free: 10.41 MB / 0.8699 GB Notification: Performance of simCode: created initialization part: time 0.0001084/0.1332, allocations: 70.44 kB / 0.9119 GB, free: 10.34 MB / 0.8699 GB Notification: Performance of simCode: created event and clocks part: time 2.875e-06/0.1332, allocations: 320 / 0.9119 GB, free: 10.34 MB / 0.8699 GB Notification: Performance of simCode: created simulation system equations: time 4.086e-05/0.1333, allocations: 48.72 kB / 0.912 GB, free: 10.29 MB / 0.8699 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003022/0.1336, allocations: 105.9 kB / 0.9121 GB, free: 10.19 MB / 0.8699 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000667/0.1343, allocations: 0.5056 MB / 0.9126 GB, free: 9.637 MB / 0.8699 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.409e-05/0.1343, allocations: 96.3 kB / 0.9127 GB, free: 9.523 MB / 0.8699 GB Notification: Performance of simCode: alias equations: time 7.361e-05/0.1344, allocations: 38.09 kB / 0.9127 GB, free: 9.488 MB / 0.8699 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000143/0.1345, allocations: 111.3 kB / 0.9128 GB, free: 9.379 MB / 0.8699 GB Notification: Performance of SimCode: time 9.31e-07/0.1345, allocations: 0 / 0.9128 GB, free: 9.379 MB / 0.8699 GB Notification: Performance of Templates: time 0.00573/0.1403, allocations: 3.967 MB / 0.9167 GB, free: 5.516 MB / 0.8699 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe ; mkfifo Buildings_12_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe >> ../files/Buildings_12_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate.sim & ./Buildings_12_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/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.226658644620329]