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.001332/0.001332, allocations: 82.64 kB / 20.68 MB, free: 3.816 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.001073/0.001073, allocations: 181 kB / 24.09 MB, free: 420 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.9573/0.9573, allocations: 177.1 MB / 204.5 MB, free: 5.52 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.738/1.738, allocations: 359 MB / 0.6055 GB, free: 10.85 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.763e-06/1.763e-06, allocations: 0 / 0.7876 GB, free: 12.15 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.581e-05/1.757e-05, allocations: 6.25 kB / 0.7876 GB, free: 12.14 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate): time 0.1234/0.1234, allocations: 143.9 MB / 0.9282 GB, free: 11.74 MB / 0.8855 GB Notification: Performance of NFInst.instExpressions: time 0.001333/0.1247, allocations: 0.9894 MB / 0.9291 GB, free: 10.75 MB / 0.8855 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002079/0.1249, allocations: 19.81 kB / 0.9291 GB, free: 10.73 MB / 0.8855 GB Notification: Performance of NFTyping.typeComponents: time 0.0003386/0.1253, allocations: 91.2 kB / 0.9292 GB, free: 10.64 MB / 0.8855 GB Notification: Performance of NFTyping.typeBindings: time 0.0007506/0.126, allocations: 409.7 kB / 0.9296 GB, free: 10.23 MB / 0.8855 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004861/0.1265, allocations: 359.1 kB / 0.93 GB, free: 9.883 MB / 0.8855 GB Notification: Performance of NFFlatten.flatten: time 0.0005265/0.127, allocations: 0.7016 MB / 0.9306 GB, free: 9.176 MB / 0.8855 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002811/0.1273, allocations: 223.5 kB / 0.9309 GB, free: 8.957 MB / 0.8855 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003988/0.1277, allocations: 391 kB / 0.9312 GB, free: 8.574 MB / 0.8855 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002228/0.1279, allocations: 243.3 kB / 0.9315 GB, free: 8.336 MB / 0.8855 GB Notification: Performance of NFPackage.collectConstants: time 3.145e-05/0.128, allocations: 24 kB / 0.9315 GB, free: 8.312 MB / 0.8855 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000218/0.1282, allocations: 187.5 kB / 0.9317 GB, free: 8.129 MB / 0.8855 GB Notification: Performance of NFScalarize.scalarize: time 8.979e-05/0.1283, allocations: 119.6 kB / 0.9318 GB, free: 8.012 MB / 0.8855 GB Notification: Performance of NFVerifyModel.verify: time 7.753e-05/0.1284, allocations: 111.7 kB / 0.9319 GB, free: 7.902 MB / 0.8855 GB Notification: Performance of NFConvertDAE.convert: time 0.0003504/0.1287, allocations: 342.8 kB / 0.9322 GB, free: 7.566 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 4.88e-06/0.1287, allocations: 0 / 0.9322 GB, free: 7.566 MB / 0.8855 GB Notification: Performance of FrontEnd: time 1.613e-06/0.1287, allocations: 0 / 0.9322 GB, free: 7.566 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 4.559e-06/0.1287, allocations: 4 kB / 0.9322 GB, free: 7.562 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.0006176/0.1293, allocations: 0.6477 MB / 0.9328 GB, free: 6.879 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 4.775e-05/0.1294, allocations: 8.031 kB / 0.9329 GB, free: 6.871 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002939/0.1297, allocations: 100.5 kB / 0.933 GB, free: 6.773 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000822/0.1305, allocations: 263.5 kB / 0.9332 GB, free: 6.492 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.006e-05/0.1305, allocations: 21.03 kB / 0.9332 GB, free: 6.469 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.501e-05/0.1305, allocations: 28.12 kB / 0.9332 GB, free: 6.441 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002657/0.1308, allocations: 257.5 kB / 0.9335 GB, free: 6.152 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.087e-05/0.1308, allocations: 4 kB / 0.9335 GB, free: 6.148 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.619e-05/0.1308, allocations: 8 kB / 0.9335 GB, free: 6.141 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.177e-06/0.1309, allocations: 11.98 kB / 0.9335 GB, free: 6.129 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.05e-05/0.1309, allocations: 79.31 kB / 0.9336 GB, free: 6.051 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.0008148/0.1317, allocations: 1.379 MB / 0.9349 GB, free: 4.621 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 9.1e-05/0.1318, allocations: 66.98 kB / 0.935 GB, free: 4.543 MB / 0.8855 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.524e-05/0.1319, allocations: 42.16 kB / 0.935 GB, free: 4.5 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001835/0.1321, allocations: 51.88 kB / 0.9351 GB, free: 4.449 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.973e-05/0.1321, allocations: 41.39 kB / 0.9351 GB, free: 4.398 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=13): time 1.473e-06/0.1321, allocations: 0 / 0.9351 GB, free: 4.398 MB / 0.8855 GB Notification: Performance of matching and sorting (n=13): time 0.0002546/0.1323, allocations: 133.8 kB / 0.9353 GB, free: 4.262 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.568e-05/0.1324, allocations: 59.34 kB / 0.9353 GB, free: 4.191 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001297/0.1325, allocations: 272.2 kB / 0.9356 GB, free: 3.902 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 1.634e-05/0.1325, allocations: 33.69 kB / 0.9356 GB, free: 3.863 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001042/0.1326, allocations: 246.8 kB / 0.9358 GB, free: 3.617 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 2.569e-05/0.1326, allocations: 43.62 kB / 0.9359 GB, free: 3.574 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.685e-05/0.1327, allocations: 47.31 kB / 0.9359 GB, free: 3.52 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0001193/0.1328, allocations: 0.5078 MB / 0.9364 GB, free: 3 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.573e-05/0.1328, allocations: 15.98 kB / 0.9364 GB, free: 2.984 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.976e-05/0.1329, allocations: 161.2 kB / 0.9366 GB, free: 2.785 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.062e-05/0.133, allocations: 98.05 kB / 0.9367 GB, free: 2.664 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.983e-06/0.133, allocations: 0 / 0.9367 GB, free: 2.664 MB / 0.8855 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0001288/0.1331, allocations: 125.4 kB / 0.9368 GB, free: 2.535 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 1.113e-05/0.1331, allocations: 4 kB / 0.9368 GB, free: 2.531 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.308e-06/0.1331, allocations: 0 / 0.9368 GB, free: 2.531 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.646e-06/0.1331, allocations: 7.938 kB / 0.9368 GB, free: 2.523 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.074e-05/0.1332, allocations: 27.98 kB / 0.9368 GB, free: 2.496 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.022e-06/0.1332, allocations: 11.97 kB / 0.9369 GB, free: 2.484 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.019e-05/0.1333, allocations: 23.98 kB / 0.9369 GB, free: 2.461 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.644e-05/0.1333, allocations: 8 kB / 0.9369 GB, free: 2.453 MB / 0.8855 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.058e-05/0.1334, allocations: 168.5 kB / 0.937 GB, free: 2.277 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.449e-05/0.1334, allocations: 23.86 kB / 0.9371 GB, free: 2.254 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001349/0.1335, allocations: 111.4 kB / 0.9372 GB, free: 2.141 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.753e-06/0.1335, allocations: 0 / 0.9372 GB, free: 2.141 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.763e-06/0.1335, allocations: 4 kB / 0.9372 GB, free: 2.137 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.119e-06/0.1336, allocations: 8.016 kB / 0.9372 GB, free: 2.129 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003948/0.1339, allocations: 0.5032 MB / 0.9377 GB, free: 1.562 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.106e-06/0.134, allocations: 4 kB / 0.9377 GB, free: 1.559 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.331e-05/0.134, allocations: 23.98 kB / 0.9377 GB, free: 1.535 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.685e-06/0.134, allocations: 0 / 0.9377 GB, free: 1.535 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.017e-05/0.134, allocations: 11.94 kB / 0.9377 GB, free: 1.523 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.207e-06/0.134, allocations: 12 kB / 0.9377 GB, free: 1.512 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.432e-06/0.134, allocations: 0 / 0.9377 GB, free: 1.512 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001587/0.1342, allocations: 323.8 kB / 0.938 GB, free: 1.148 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 3.714e-05/0.1342, allocations: 31.83 kB / 0.9381 GB, free: 1.117 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.567e-05/0.1342, allocations: 7.938 kB / 0.9381 GB, free: 1.109 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.672e-05/0.1343, allocations: 8 kB / 0.9381 GB, free: 1.102 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.297e-05/0.1343, allocations: 11.97 kB / 0.9381 GB, free: 1.09 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.372e-06/0.1343, allocations: 4 kB / 0.9381 GB, free: 1.086 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 7.217e-05/0.1344, allocations: 189.1 kB / 0.9383 GB, free: 0.9062 MB / 0.8855 GB Notification: Performance of sort global known variables: time 4e-08/0.1344, allocations: 0 / 0.9383 GB, free: 0.9062 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.0002181/0.1346, allocations: 83.72 kB / 0.9384 GB, free: 0.8242 MB / 0.8855 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.0001629/0.1348, allocations: 135.1 kB / 0.9385 GB, free: 0.6836 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.0001148/0.1349, allocations: 83.45 kB / 0.9386 GB, free: 0.5977 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 1.403e-06/0.1349, allocations: 0 / 0.9386 GB, free: 0.5977 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 4.01e-05/0.1349, allocations: 39.59 kB / 0.9386 GB, free: 0.5547 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003521/0.1353, allocations: 91.83 kB / 0.9387 GB, free: 480 kB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006914/0.136, allocations: 0.5166 MB / 0.9392 GB, free: 15.88 MB / 0.9011 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.492e-05/0.136, allocations: 96.3 kB / 0.9393 GB, free: 15.77 MB / 0.9011 GB Notification: Performance of simCode: alias equations: time 6.761e-05/0.1361, allocations: 29.94 kB / 0.9393 GB, free: 15.74 MB / 0.9011 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001452/0.1363, allocations: 142.1 kB / 0.9395 GB, free: 15.6 MB / 0.9011 GB Notification: Performance of SimCode: time 5.51e-07/0.1363, allocations: 0 / 0.9395 GB, free: 15.6 MB / 0.9011 GB Notification: Performance of Templates: time 0.005997/0.1422, allocations: 4.056 MB / 0.9434 GB, free: 11.64 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.03888482786715]