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.0009605/0.0009605, allocations: 76.81 kB / 20.75 MB, free: 3.738 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.0009829/0.0009829, allocations: 161 kB / 24.17 MB, free: 328 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.014/1.014, allocations: 177.2 MB / 204.6 MB, free: 5.488 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.909/1.909, allocations: 377.9 MB / 0.624 GB, free: 8.367 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.593e-06/1.593e-06, allocations: 0 / 0.7601 GB, free: 6.574 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.05e-05/2.209e-05, allocations: 6.422 kB / 0.7601 GB, free: 6.57 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate): time 0.138/0.138, allocations: 146.1 MB / 0.9028 GB, free: 4.109 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.001666/0.1397, allocations: 1.012 MB / 0.9038 GB, free: 3.094 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002006/0.1399, allocations: 15.88 kB / 0.9038 GB, free: 3.078 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 0.000309/0.1402, allocations: 91.2 kB / 0.9039 GB, free: 2.988 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 0.000804/0.141, allocations: 409.7 kB / 0.9043 GB, free: 2.586 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006152/0.1416, allocations: 351.2 kB / 0.9046 GB, free: 2.242 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 0.0005904/0.1422, allocations: 0.6899 MB / 0.9053 GB, free: 1.551 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003145/0.1425, allocations: 222 kB / 0.9055 GB, free: 1.332 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000486/0.143, allocations: 367.1 kB / 0.9058 GB, free: 0.9727 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002514/0.1433, allocations: 227.4 kB / 0.906 GB, free: 0.75 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 3.605e-05/0.1433, allocations: 24 kB / 0.9061 GB, free: 0.7266 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003187/0.1436, allocations: 199.5 kB / 0.9063 GB, free: 0.5312 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 0.000103/0.1437, allocations: 115.6 kB / 0.9064 GB, free: 428 kB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 8.947e-05/0.1438, allocations: 111.7 kB / 0.9065 GB, free: 316 kB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 0.0004079/0.1442, allocations: 346.8 kB / 0.9068 GB, free: 15.97 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 3.848e-06/0.1442, allocations: 0 / 0.9068 GB, free: 15.97 MB / 0.8698 GB Notification: Performance of FrontEnd: time 1.463e-06/0.1442, allocations: 0 / 0.9068 GB, free: 15.97 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 5.581e-06/0.1442, allocations: 4 kB / 0.9068 GB, free: 15.96 MB / 0.8698 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.0005484/0.1448, allocations: 0.5114 MB / 0.9073 GB, free: 15.43 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 3.43e-05/0.1448, allocations: 8.031 kB / 0.9073 GB, free: 15.42 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002726/0.1451, allocations: 84.73 kB / 0.9074 GB, free: 15.34 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003049/0.1454, allocations: 252.7 kB / 0.9076 GB, free: 15.07 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.922e-05/0.1454, allocations: 21.03 kB / 0.9077 GB, free: 15.05 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.766e-05/0.1454, allocations: 32.11 kB / 0.9077 GB, free: 15.02 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000277/0.1457, allocations: 244.5 kB / 0.9079 GB, free: 14.75 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.172e-05/0.1457, allocations: 3.938 kB / 0.9079 GB, free: 14.74 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.686e-05/0.1457, allocations: 11.98 kB / 0.9079 GB, free: 14.73 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.496e-06/0.1458, allocations: 8 kB / 0.9079 GB, free: 14.72 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.408e-05/0.1458, allocations: 83.83 kB / 0.908 GB, free: 14.64 MB / 0.8698 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.0007721/0.1466, allocations: 0.9724 MB / 0.909 GB, free: 13.62 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000111/0.1467, allocations: 101.3 kB / 0.9091 GB, free: 13.51 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.813e-05/0.1468, allocations: 39.67 kB / 0.9091 GB, free: 13.47 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001908/0.147, allocations: 47.95 kB / 0.9092 GB, free: 13.42 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.05e-05/0.147, allocations: 34.56 kB / 0.9092 GB, free: 13.38 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=13): time 1.362e-06/0.147, allocations: 3.938 kB / 0.9092 GB, free: 13.38 MB / 0.8698 GB Notification: Performance of matching and sorting (n=13): time 0.0002672/0.1472, allocations: 109.9 kB / 0.9093 GB, free: 13.26 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.82e-05/0.1473, allocations: 55.39 kB / 0.9094 GB, free: 13.2 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000125/0.1474, allocations: 225 kB / 0.9096 GB, free: 12.96 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 1.358e-05/0.1474, allocations: 29.7 kB / 0.9096 GB, free: 12.93 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 8.142e-05/0.1475, allocations: 176.6 kB / 0.9098 GB, free: 12.75 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 2.355e-05/0.1475, allocations: 43.62 kB / 0.9098 GB, free: 12.71 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.282e-05/0.1476, allocations: 41.64 kB / 0.9098 GB, free: 12.66 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 8.76e-05/0.1477, allocations: 330.7 kB / 0.9102 GB, free: 12.33 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.995e-05/0.1477, allocations: 18.81 kB / 0.9102 GB, free: 12.31 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.565e-05/0.1478, allocations: 139.9 kB / 0.9103 GB, free: 12.14 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.03e-05/0.1479, allocations: 90.7 kB / 0.9104 GB, free: 12.03 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/0.1479, allocations: 0 / 0.9104 GB, free: 12.03 MB / 0.8698 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0001313/0.148, allocations: 112.3 kB / 0.9105 GB, free: 11.91 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.366e-05/0.148, allocations: 4 kB / 0.9105 GB, free: 11.91 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.19e-06/0.148, allocations: 0 / 0.9105 GB, free: 11.91 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.552e-05/0.148, allocations: 4 kB / 0.9105 GB, free: 11.91 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001028/0.1481, allocations: 31.92 kB / 0.9105 GB, free: 11.88 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.01e-06/0.1481, allocations: 4 kB / 0.9105 GB, free: 11.87 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.267e-05/0.1482, allocations: 20.05 kB / 0.9106 GB, free: 11.85 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.995e-05/0.1482, allocations: 15.92 kB / 0.9106 GB, free: 11.84 MB / 0.8698 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.043e-05/0.1483, allocations: 116.7 kB / 0.9107 GB, free: 11.71 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.932e-05/0.1483, allocations: 19.92 kB / 0.9107 GB, free: 11.69 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001376/0.1485, allocations: 102.7 kB / 0.9108 GB, free: 11.58 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.474e-06/0.1485, allocations: 0 / 0.9108 GB, free: 11.58 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.292e-06/0.1485, allocations: 0 / 0.9108 GB, free: 11.58 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.597e-06/0.1485, allocations: 0 / 0.9108 GB, free: 11.58 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004321/0.1489, allocations: 499.9 kB / 0.9113 GB, free: 11.04 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.834e-06/0.1489, allocations: 0 / 0.9113 GB, free: 11.04 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.072e-05/0.149, allocations: 27.98 kB / 0.9113 GB, free: 11.01 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.503e-06/0.149, allocations: 12.03 kB / 0.9113 GB, free: 11 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.869e-06/0.149, allocations: 7.938 kB / 0.9113 GB, free: 10.99 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.076e-06/0.149, allocations: 3.984 kB / 0.9113 GB, free: 10.99 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.685e-06/0.149, allocations: 4 kB / 0.9113 GB, free: 10.98 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001694/0.1492, allocations: 296.2 kB / 0.9116 GB, free: 10.65 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 3.769e-05/0.1492, allocations: 27.86 kB / 0.9116 GB, free: 10.62 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.846e-05/0.1492, allocations: 7.922 kB / 0.9117 GB, free: 10.61 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.558e-05/0.1493, allocations: 8 kB / 0.9117 GB, free: 10.61 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.814e-05/0.1493, allocations: 15.92 kB / 0.9117 GB, free: 10.59 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.013e-06/0.1493, allocations: 7.938 kB / 0.9117 GB, free: 10.58 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 4.982e-05/0.1494, allocations: 70.78 kB / 0.9118 GB, free: 10.52 MB / 0.8698 GB Notification: Performance of sort global known variables: time 6e-08/0.1494, allocations: 0 / 0.9118 GB, free: 10.52 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.0002364/0.1496, allocations: 91.7 kB / 0.9118 GB, free: 10.43 MB / 0.8698 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.0002102/0.1498, allocations: 112.3 kB / 0.9119 GB, free: 10.31 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.0001473/0.15, allocations: 64.72 kB / 0.912 GB, free: 10.24 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 6.732e-06/0.15, allocations: 0 / 0.912 GB, free: 10.24 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 5.019e-05/0.15, allocations: 44.7 kB / 0.9121 GB, free: 10.2 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004133/0.1505, allocations: 102.9 kB / 0.9122 GB, free: 10.1 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009495/0.1514, allocations: 0.506 MB / 0.9126 GB, free: 9.543 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.478e-05/0.1515, allocations: 96.3 kB / 0.9127 GB, free: 9.43 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 9.327e-05/0.1516, allocations: 29.94 kB / 0.9128 GB, free: 9.402 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001806/0.1518, allocations: 107.3 kB / 0.9129 GB, free: 9.297 MB / 0.8698 GB Notification: Performance of SimCode: time 1.223e-06/0.1518, allocations: 0 / 0.9129 GB, free: 9.297 MB / 0.8698 GB Notification: Performance of Templates: time 0.007816/0.1596, allocations: 3.977 MB / 0.9168 GB, free: 5.422 MB / 0.8698 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 -s gbode -gbm=radauIIA3 -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.326032354962081]