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.001394/0.001394, allocations: 87.58 kB / 20.45 MB, free: 4.117 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.001478/0.001478, allocations: 161 kB / 23.82 MB, free: 0.75 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.9187/0.9187, allocations: 177.1 MB / 204.2 MB, free: 5.598 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.772/1.772, allocations: 359 MB / 0.6052 GB, free: 10.98 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.903e-06/1.903e-06, allocations: 0.7656 kB / 0.7871 GB, free: 11.36 MB / 0.698 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.797e-05/1.988e-05, allocations: 2.312 kB / 0.7871 GB, free: 11.35 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate): time 0.1338/0.1338, allocations: 146.7 MB / 0.9304 GB, free: 8.215 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.001686/0.1355, allocations: 0.9933 MB / 0.9313 GB, free: 7.219 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002189/0.1357, allocations: 19.81 kB / 0.9313 GB, free: 7.199 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 0.0003354/0.136, allocations: 95.2 kB / 0.9314 GB, free: 7.105 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 0.0008371/0.1369, allocations: 405.8 kB / 0.9318 GB, free: 6.707 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006668/0.1376, allocations: 355.1 kB / 0.9322 GB, free: 6.359 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.0006675/0.1382, allocations: 0.7016 MB / 0.9328 GB, free: 5.656 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003259/0.1385, allocations: 235.4 kB / 0.9331 GB, free: 5.43 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004887/0.139, allocations: 379 kB / 0.9334 GB, free: 5.059 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002576/0.1393, allocations: 251.2 kB / 0.9337 GB, free: 4.812 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 3.518e-05/0.1393, allocations: 20 kB / 0.9337 GB, free: 4.793 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002771/0.1396, allocations: 187.6 kB / 0.9339 GB, free: 4.609 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 9.329e-05/0.1397, allocations: 123.6 kB / 0.934 GB, free: 4.488 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 9.194e-05/0.1398, allocations: 111.7 kB / 0.9341 GB, free: 4.379 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0004064/0.1402, allocations: 342.8 kB / 0.9344 GB, free: 4.043 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 2.715e-06/0.1402, allocations: 0 / 0.9344 GB, free: 4.043 MB / 0.8386 GB Notification: Performance of FrontEnd: time 9.82e-07/0.1402, allocations: 0 / 0.9344 GB, free: 4.043 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 6.242e-06/0.1402, allocations: 0 / 0.9344 GB, free: 4.043 MB / 0.8386 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.00087/0.1411, allocations: 0.6435 MB / 0.935 GB, free: 3.363 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.724e-05/0.1411, allocations: 12.03 kB / 0.9351 GB, free: 3.352 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002589/0.1414, allocations: 92.56 kB / 0.9351 GB, free: 3.262 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002912/0.1417, allocations: 271.4 kB / 0.9354 GB, free: 2.969 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.768e-05/0.1417, allocations: 21.03 kB / 0.9354 GB, free: 2.945 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.749e-05/0.1417, allocations: 32.11 kB / 0.9355 GB, free: 2.914 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003086/0.142, allocations: 273.5 kB / 0.9357 GB, free: 2.609 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.069e-05/0.142, allocations: 8 kB / 0.9357 GB, free: 2.602 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.71e-05/0.142, allocations: 8 kB / 0.9357 GB, free: 2.594 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.06e-05/0.1421, allocations: 12 kB / 0.9357 GB, free: 2.582 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001284/0.1422, allocations: 94.81 kB / 0.9358 GB, free: 2.492 MB / 0.8386 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.0009478/0.1431, allocations: 1.433 MB / 0.9372 GB, free: 0.9922 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001156/0.1432, allocations: 74.98 kB / 0.9373 GB, free: 0.9062 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.986e-05/0.1433, allocations: 35.67 kB / 0.9373 GB, free: 0.8672 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002031/0.1435, allocations: 51.94 kB / 0.9374 GB, free: 0.8164 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.807e-05/0.1435, allocations: 33.39 kB / 0.9374 GB, free: 0.7734 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=13): time 1.643e-06/0.1435, allocations: 0 / 0.9374 GB, free: 0.7734 MB / 0.8386 GB Notification: Performance of matching and sorting (n=13): time 0.0003097/0.1438, allocations: 153.5 kB / 0.9376 GB, free: 0.6211 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.734e-05/0.1439, allocations: 59.34 kB / 0.9376 GB, free: 0.5508 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001639/0.144, allocations: 284.2 kB / 0.9379 GB, free: 264 kB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 1.377e-05/0.144, allocations: 25.7 kB / 0.9379 GB, free: 232 kB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001149/0.1441, allocations: 243 kB / 0.9382 GB, free: 15.98 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 2.475e-05/0.1442, allocations: 43.53 kB / 0.9382 GB, free: 15.94 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.908e-05/0.1442, allocations: 43.36 kB / 0.9382 GB, free: 15.89 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0001133/0.1443, allocations: 0.504 MB / 0.9387 GB, free: 15.38 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.793e-05/0.1444, allocations: 23.83 kB / 0.9388 GB, free: 15.35 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.5e-05/0.1445, allocations: 161.6 kB / 0.9389 GB, free: 15.15 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001038/0.1446, allocations: 114 kB / 0.939 GB, free: 15.02 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.044e-06/0.1446, allocations: 0 / 0.939 GB, free: 15.02 MB / 0.8542 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0001655/0.1447, allocations: 137.3 kB / 0.9391 GB, free: 14.88 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.364e-05/0.1448, allocations: 4 kB / 0.9391 GB, free: 14.87 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.153e-06/0.1448, allocations: 8.156 kB / 0.9392 GB, free: 14.86 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.279e-05/0.1448, allocations: 0 / 0.9392 GB, free: 14.86 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001005/0.1449, allocations: 31.92 kB / 0.9392 GB, free: 14.83 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.202e-06/0.1449, allocations: 7.938 kB / 0.9392 GB, free: 14.82 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.545e-05/0.1449, allocations: 23.88 kB / 0.9392 GB, free: 14.8 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.873e-05/0.145, allocations: 4 kB / 0.9392 GB, free: 14.8 MB / 0.8542 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.311e-05/0.145, allocations: 168.5 kB / 0.9394 GB, free: 14.62 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.856e-05/0.1451, allocations: 23.86 kB / 0.9394 GB, free: 14.6 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001597/0.1452, allocations: 123.5 kB / 0.9395 GB, free: 14.47 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.473e-06/0.1452, allocations: 4 kB / 0.9395 GB, free: 14.46 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.566e-06/0.1452, allocations: 0 / 0.9395 GB, free: 14.46 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.737e-06/0.1452, allocations: 3.938 kB / 0.9395 GB, free: 14.46 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000457/0.1457, allocations: 0.5652 MB / 0.9401 GB, free: 13.82 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.056e-06/0.1457, allocations: 3.938 kB / 0.9401 GB, free: 13.82 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.859e-05/0.1458, allocations: 27.98 kB / 0.9401 GB, free: 13.79 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.236e-06/0.1458, allocations: 4.219 kB / 0.9401 GB, free: 13.79 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.919e-06/0.1458, allocations: 4 kB / 0.9401 GB, free: 13.79 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.156e-06/0.1458, allocations: 7.938 kB / 0.9401 GB, free: 13.78 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.744e-06/0.1458, allocations: 0 / 0.9401 GB, free: 13.78 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001929/0.146, allocations: 321.5 kB / 0.9404 GB, free: 13.41 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 4.182e-05/0.146, allocations: 39.78 kB / 0.9405 GB, free: 13.38 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.863e-05/0.146, allocations: 4 kB / 0.9405 GB, free: 13.37 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.009e-05/0.1461, allocations: 11.98 kB / 0.9405 GB, free: 13.36 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.851e-05/0.1461, allocations: 7.984 kB / 0.9405 GB, free: 13.35 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.534e-06/0.1461, allocations: 8 kB / 0.9405 GB, free: 13.34 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 8.633e-05/0.1462, allocations: 197.1 kB / 0.9407 GB, free: 13.15 MB / 0.8542 GB Notification: Performance of sort global known variables: time 5e-08/0.1462, allocations: 0 / 0.9407 GB, free: 13.15 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0002394/0.1465, allocations: 83.78 kB / 0.9408 GB, free: 13.07 MB / 0.8542 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.0001822/0.1466, allocations: 135 kB / 0.9409 GB, free: 12.93 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0001686/0.1468, allocations: 83.52 kB / 0.941 GB, free: 12.84 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 1.513e-06/0.1468, allocations: 4.25 kB / 0.941 GB, free: 12.84 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 5.073e-05/0.1469, allocations: 55.59 kB / 0.941 GB, free: 12.78 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003646/0.1472, allocations: 82.41 kB / 0.9411 GB, free: 12.7 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001058/0.1483, allocations: 0.5239 MB / 0.9416 GB, free: 12.11 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.691e-05/0.1483, allocations: 96.3 kB / 0.9417 GB, free: 12 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.0001009/0.1484, allocations: 45.92 kB / 0.9418 GB, free: 11.95 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.332e-05/0.1485, allocations: 20.5 kB / 0.9418 GB, free: 11.93 MB / 0.8542 GB Notification: Performance of SimCode: time 6.22e-07/0.1485, allocations: 0 / 0.9418 GB, free: 11.93 MB / 0.8542 GB Notification: Performance of Templates: time 0.006165/0.1547, allocations: 4.005 MB / 0.9457 GB, free: 8.035 MB / 0.8542 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.115979662165046]