Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001167/0.001167, allocations: 87.58 kB / 20.45 MB, free: 4.121 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.004622/0.004622, allocations: 161.4 kB / 23.82 MB, free: 0.7539 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 1.047/1.047, allocations: 177.1 MB / 204.2 MB, free: 5.633 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.819/1.819, allocations: 359 MB / 0.6052 GB, free: 11.05 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.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|senM_flow.m_flow|senH.h_out|senH_flow.H_flow|cheEqu.y",fileNamePrefix="Buildings_11_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate") translateModel(Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|senM_flow.m_flow|senH.h_out|senH_flow.H_flow|cheEqu.y",fileNamePrefix="Buildings_11_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.843e-06/1.843e-06, allocations: 0 / 0.7871 GB, free: 12.46 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.119e-05/3.303e-05, allocations: 8.922 kB / 0.7871 GB, free: 12.46 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate): time 0.1312/0.1312, allocations: 146.7 MB / 0.9303 GB, free: 9.332 MB / 0.8855 GB Notification: Performance of NFInst.instExpressions: time 0.001497/0.1327, allocations: 0.9855 MB / 0.9313 GB, free: 8.344 MB / 0.8855 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002005/0.1329, allocations: 23.81 kB / 0.9313 GB, free: 8.32 MB / 0.8855 GB Notification: Performance of NFTyping.typeComponents: time 0.0003942/0.1333, allocations: 87.2 kB / 0.9314 GB, free: 8.234 MB / 0.8855 GB Notification: Performance of NFTyping.typeBindings: time 0.000943/0.1343, allocations: 417.7 kB / 0.9318 GB, free: 7.824 MB / 0.8855 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005955/0.1349, allocations: 347.2 kB / 0.9321 GB, free: 7.484 MB / 0.8855 GB Notification: Performance of NFFlatten.flatten: time 0.0006028/0.1355, allocations: 0.7094 MB / 0.9328 GB, free: 6.77 MB / 0.8855 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003491/0.1358, allocations: 219.5 kB / 0.933 GB, free: 6.555 MB / 0.8855 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000492/0.1363, allocations: 386.9 kB / 0.9334 GB, free: 6.176 MB / 0.8855 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002775/0.1366, allocations: 251.3 kB / 0.9337 GB, free: 5.93 MB / 0.8855 GB Notification: Performance of NFPackage.collectConstants: time 4.473e-05/0.1366, allocations: 28 kB / 0.9337 GB, free: 5.902 MB / 0.8855 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002726/0.1369, allocations: 187.5 kB / 0.9339 GB, free: 5.719 MB / 0.8855 GB Notification: Performance of NFScalarize.scalarize: time 0.0001101/0.137, allocations: 119.6 kB / 0.934 GB, free: 5.602 MB / 0.8855 GB Notification: Performance of NFVerifyModel.verify: time 0.0001022/0.1371, allocations: 107.7 kB / 0.9341 GB, free: 5.496 MB / 0.8855 GB Notification: Performance of NFConvertDAE.convert: time 0.0004735/0.1376, allocations: 346.8 kB / 0.9344 GB, free: 5.156 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 5.841e-06/0.1376, allocations: 0 / 0.9344 GB, free: 5.156 MB / 0.8855 GB Notification: Performance of FrontEnd: time 1.713e-06/0.1376, allocations: 4 kB / 0.9344 GB, free: 5.152 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 7.715e-06/0.1376, allocations: 0 / 0.9344 GB, free: 5.152 MB / 0.8855 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.0007996/0.1384, allocations: 0.6361 MB / 0.935 GB, free: 4.48 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 4.223e-05/0.1384, allocations: 19.97 kB / 0.9351 GB, free: 4.461 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002992/0.1387, allocations: 92.48 kB / 0.9351 GB, free: 4.371 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003262/0.1391, allocations: 263.5 kB / 0.9354 GB, free: 4.09 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.571e-05/0.1391, allocations: 21.03 kB / 0.9354 GB, free: 4.066 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.986e-05/0.1391, allocations: 32.12 kB / 0.9354 GB, free: 4.035 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003449/0.1395, allocations: 277.5 kB / 0.9357 GB, free: 3.727 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.108e-05/0.1395, allocations: 0 / 0.9357 GB, free: 3.727 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.087e-05/0.1395, allocations: 12 kB / 0.9357 GB, free: 3.715 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.195e-05/0.1395, allocations: 4 kB / 0.9357 GB, free: 3.711 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000138/0.1397, allocations: 86.83 kB / 0.9358 GB, free: 3.625 MB / 0.8855 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.001008/0.1407, allocations: 1.449 MB / 0.9372 GB, free: 2.113 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000128/0.1408, allocations: 66.98 kB / 0.9373 GB, free: 2.035 MB / 0.8855 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.514e-05/0.1408, allocations: 42.05 kB / 0.9373 GB, free: 1.992 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002241/0.1411, allocations: 47.94 kB / 0.9374 GB, free: 1.945 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002214/0.1413, allocations: 49.39 kB / 0.9374 GB, free: 1.887 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=13): time 1.183e-06/0.1413, allocations: 0 / 0.9374 GB, free: 1.887 MB / 0.8855 GB Notification: Performance of matching and sorting (n=13): time 0.0003268/0.1416, allocations: 141.8 kB / 0.9376 GB, free: 1.742 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.607e-05/0.1417, allocations: 55.41 kB / 0.9376 GB, free: 1.676 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001672/0.1418, allocations: 284.1 kB / 0.9379 GB, free: 1.379 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 1.483e-05/0.1418, allocations: 25.7 kB / 0.9379 GB, free: 1.348 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001106/0.1419, allocations: 242.9 kB / 0.9381 GB, free: 1.105 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 2.778e-05/0.142, allocations: 47.64 kB / 0.9382 GB, free: 1.059 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.214e-05/0.142, allocations: 47.31 kB / 0.9382 GB, free: 1.004 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0001272/0.1422, allocations: 0.5079 MB / 0.9387 GB, free: 496 kB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.794e-05/0.1422, allocations: 16 kB / 0.9387 GB, free: 480 kB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.423e-05/0.1423, allocations: 155.2 kB / 0.9389 GB, free: 280 kB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001088/0.1424, allocations: 110 kB / 0.939 GB, free: 144 kB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/0.1424, allocations: 0 / 0.939 GB, free: 144 kB / 0.8855 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0001645/0.1426, allocations: 137.5 kB / 0.9391 GB, free: 0 / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 2.648e-05/0.1426, allocations: 9.766 kB / 0.9391 GB, free: 15.99 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.169e-06/0.1426, allocations: 0 / 0.9391 GB, free: 15.99 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.595e-05/0.1426, allocations: 7.938 kB / 0.9391 GB, free: 15.98 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.86e-05/0.1427, allocations: 31.94 kB / 0.9392 GB, free: 15.95 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.446e-06/0.1427, allocations: 7.922 kB / 0.9392 GB, free: 15.95 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.505e-05/0.1428, allocations: 15.89 kB / 0.9392 GB, free: 15.93 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.143e-05/0.1428, allocations: 11.98 kB / 0.9392 GB, free: 15.92 MB / 0.9011 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.148e-05/0.1429, allocations: 164.5 kB / 0.9394 GB, free: 15.75 MB / 0.9011 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.069e-05/0.1429, allocations: 31.95 kB / 0.9394 GB, free: 15.71 MB / 0.9011 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001806/0.1431, allocations: 119.4 kB / 0.9395 GB, free: 15.59 MB / 0.9011 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.984e-06/0.1431, allocations: 0 / 0.9395 GB, free: 15.59 MB / 0.9011 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.226e-06/0.1431, allocations: 0 / 0.9395 GB, free: 15.59 MB / 0.9011 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.589e-06/0.1431, allocations: 3.938 kB / 0.9395 GB, free: 15.59 MB / 0.9011 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004805/0.1436, allocations: 0.5612 MB / 0.9401 GB, free: 14.96 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.439e-06/0.1436, allocations: 8.156 kB / 0.9401 GB, free: 14.95 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.033e-05/0.1437, allocations: 27.98 kB / 0.9401 GB, free: 14.92 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.725e-06/0.1437, allocations: 0 / 0.9401 GB, free: 14.92 MB / 0.9011 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.21e-05/0.1437, allocations: 8 kB / 0.9401 GB, free: 14.91 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.008e-06/0.1437, allocations: 7.938 kB / 0.9401 GB, free: 14.91 MB / 0.9011 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.036e-06/0.1437, allocations: 4.062 kB / 0.9401 GB, free: 14.9 MB / 0.9011 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000186/0.1439, allocations: 323.8 kB / 0.9404 GB, free: 14.54 MB / 0.9011 GB Notification: Performance of postOpt removeConstants (simulation): time 4.035e-05/0.1439, allocations: 35.78 kB / 0.9405 GB, free: 14.5 MB / 0.9011 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.862e-05/0.1439, allocations: 8 kB / 0.9405 GB, free: 14.5 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.088e-05/0.144, allocations: 4 kB / 0.9405 GB, free: 14.49 MB / 0.9011 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.981e-05/0.144, allocations: 23.97 kB / 0.9405 GB, free: 14.47 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.023e-06/0.144, allocations: 4 kB / 0.9405 GB, free: 14.46 MB / 0.9011 GB Notification: Performance of sorting global known variables: time 8.871e-05/0.1441, allocations: 189.1 kB / 0.9407 GB, free: 14.28 MB / 0.9011 GB Notification: Performance of sort global known variables: time 5e-08/0.1441, allocations: 0 / 0.9407 GB, free: 14.28 MB / 0.9011 GB Notification: Performance of remove unused functions: time 0.0002371/0.1444, allocations: 91.72 kB / 0.9408 GB, free: 14.19 MB / 0.9011 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.0001939/0.1446, allocations: 131 kB / 0.9409 GB, free: 14.05 MB / 0.9011 GB Notification: Performance of simCode: created initialization part: time 0.0001563/0.1447, allocations: 83.7 kB / 0.941 GB, free: 13.97 MB / 0.9011 GB Notification: Performance of simCode: created event and clocks part: time 1.753e-06/0.1447, allocations: 0 / 0.941 GB, free: 13.97 MB / 0.9011 GB Notification: Performance of simCode: created simulation system equations: time 5.348e-05/0.1448, allocations: 47.59 kB / 0.941 GB, free: 13.92 MB / 0.9011 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003826/0.1451, allocations: 93.12 kB / 0.9411 GB, free: 13.83 MB / 0.9011 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008405/0.146, allocations: 0.5123 MB / 0.9416 GB, free: 13.25 MB / 0.9011 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.302e-05/0.1461, allocations: 104.3 kB / 0.9417 GB, free: 13.13 MB / 0.9011 GB Notification: Performance of simCode: alias equations: time 9.207e-05/0.1461, allocations: 50.02 kB / 0.9417 GB, free: 13.08 MB / 0.9011 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.53e-05/0.1462, allocations: 20.5 kB / 0.9418 GB, free: 13.06 MB / 0.9011 GB Notification: Performance of SimCode: time 1.513e-06/0.1462, allocations: 0 / 0.9418 GB, free: 13.06 MB / 0.9011 GB Notification: Performance of Templates: time 0.00584/0.152, allocations: 3.666 MB / 0.9453 GB, free: 9.508 MB / 0.9011 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe ; mkfifo Buildings_11_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe >> ../files/Buildings_11_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate.sim & ./Buildings_11_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.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.4353253887966275]