Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.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.00134/0.00134, allocations: 80.3 kB / 21.47 MB, free: 3.031 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.00156/0.00156, allocations: 168 kB / 24.86 MB, free: 9.207 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.9602/0.9602, allocations: 177.1 MB / 205.3 MB, free: 5.516 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.907/1.907, allocations: 377.9 MB / 0.6247 GB, free: 8.434 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-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.MoistAirEnthalpyFlowRate,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|senMasFlo.m_flow|senH.h_out|senH_flow.H_flow|senHSen_flow.H_flow|senHLat_flow.H_flow|pro.y|add.y",fileNamePrefix="Buildings_12_Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate") translateModel(Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|senMasFlo.m_flow|senH.h_out|senH_flow.H_flow|senHSen_flow.H_flow|senHLat_flow.H_flow|pro.y|add.y",fileNamePrefix="Buildings_12_Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.363e-06/1.363e-06, allocations: 0 / 0.8128 GB, free: 1.441 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.27e-05/2.407e-05, allocations: 13.84 kB / 0.8128 GB, free: 1.43 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate): time 0.1248/0.1248, allocations: 144.7 MB / 0.9541 GB, free: 304 kB / 0.9011 GB Notification: Performance of NFInst.instExpressions: time 0.002988/0.1278, allocations: 1.822 MB / 0.9558 GB, free: 14.47 MB / 0.9167 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003886/0.1282, allocations: 27.75 kB / 0.9559 GB, free: 14.45 MB / 0.9167 GB Notification: Performance of NFTyping.typeComponents: time 0.0004202/0.1286, allocations: 111 kB / 0.956 GB, free: 14.34 MB / 0.9167 GB Notification: Performance of NFTyping.typeBindings: time 0.001633/0.1303, allocations: 0.5671 MB / 0.9565 GB, free: 13.77 MB / 0.9167 GB Notification: Performance of NFTyping.typeClassSections: time 0.001103/0.1314, allocations: 0.526 MB / 0.957 GB, free: 13.24 MB / 0.9167 GB Notification: Performance of NFFlatten.flatten: time 0.001139/0.1325, allocations: 1.064 MB / 0.9581 GB, free: 12.17 MB / 0.9167 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005679/0.1331, allocations: 338.1 kB / 0.9584 GB, free: 11.84 MB / 0.9167 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001574/0.1346, allocations: 0.6529 MB / 0.959 GB, free: 11.23 MB / 0.9167 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000617/0.1353, allocations: 394.9 kB / 0.9594 GB, free: 10.84 MB / 0.9167 GB Notification: Performance of NFPackage.collectConstants: time 6.375e-05/0.1353, allocations: 36 kB / 0.9595 GB, free: 10.8 MB / 0.9167 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007158/0.136, allocations: 347.2 kB / 0.9598 GB, free: 10.46 MB / 0.9167 GB Notification: Performance of NFScalarize.scalarize: time 0.0001709/0.1362, allocations: 167.5 kB / 0.9599 GB, free: 10.3 MB / 0.9167 GB Notification: Performance of NFVerifyModel.verify: time 0.0002026/0.1364, allocations: 179.6 kB / 0.9601 GB, free: 10.12 MB / 0.9167 GB Notification: Performance of NFConvertDAE.convert: time 0.0009305/0.1373, allocations: 0.5722 MB / 0.9607 GB, free: 9.551 MB / 0.9167 GB Notification: Performance of FrontEnd - DAE generated: time 5.139e-06/0.1374, allocations: 0 / 0.9607 GB, free: 9.551 MB / 0.9167 GB Notification: Performance of FrontEnd: time 1.573e-06/0.1374, allocations: 0 / 0.9607 GB, free: 9.551 MB / 0.9167 GB Notification: Performance of Transformations before backend: time 7.564e-06/0.1374, allocations: 0 / 0.9607 GB, free: 9.551 MB / 0.9167 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 93 * Number of variables: 93 Notification: Performance of Generate backend data structure: time 0.001006/0.1384, allocations: 0.7955 MB / 0.9615 GB, free: 8.719 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 3.865e-05/0.1384, allocations: 8.031 kB / 0.9615 GB, free: 8.711 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008826/0.1393, allocations: 208.2 kB / 0.9617 GB, free: 8.508 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005622/0.1399, allocations: 350.7 kB / 0.962 GB, free: 8.137 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.585e-05/0.1399, allocations: 33.12 kB / 0.962 GB, free: 8.102 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.909e-05/0.1399, allocations: 40 kB / 0.9621 GB, free: 8.062 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005067/0.1405, allocations: 342.9 kB / 0.9624 GB, free: 7.691 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.481e-05/0.1405, allocations: 4 kB / 0.9624 GB, free: 7.688 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.715e-05/0.1405, allocations: 20 kB / 0.9624 GB, free: 7.668 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.326e-05/0.1405, allocations: 8 kB / 0.9624 GB, free: 7.66 MB / 0.9167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002368/0.1408, allocations: 118.8 kB / 0.9625 GB, free: 7.543 MB / 0.9167 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.001438/0.1422, allocations: 1.607 MB / 0.9641 GB, free: 5.875 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002367/0.1424, allocations: 126.9 kB / 0.9642 GB, free: 5.738 MB / 0.9167 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.97e-05/0.1425, allocations: 55.66 kB / 0.9643 GB, free: 5.68 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002755/0.1428, allocations: 55.94 kB / 0.9643 GB, free: 5.625 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.915e-05/0.1428, allocations: 41.33 kB / 0.9644 GB, free: 5.574 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=24): time 1.753e-06/0.1428, allocations: 0 / 0.9644 GB, free: 5.574 MB / 0.9167 GB Notification: Performance of matching and sorting (n=24): time 0.0005087/0.1433, allocations: 212.5 kB / 0.9646 GB, free: 5.363 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.762e-05/0.1434, allocations: 55.41 kB / 0.9646 GB, free: 5.297 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002584/0.1436, allocations: 330.1 kB / 0.9649 GB, free: 4.961 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 7.07e-05/0.1437, allocations: 33.7 kB / 0.965 GB, free: 4.922 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001685/0.1439, allocations: 290.9 kB / 0.9653 GB, free: 4.633 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 7.179e-05/0.1439, allocations: 91.25 kB / 0.9653 GB, free: 4.543 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.567e-05/0.144, allocations: 63.28 kB / 0.9654 GB, free: 4.473 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 0.0001489/0.1442, allocations: 0.5195 MB / 0.9659 GB, free: 3.941 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.149e-05/0.1442, allocations: 31.97 kB / 0.9659 GB, free: 3.91 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001212/0.1444, allocations: 199.5 kB / 0.9661 GB, free: 3.664 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001478/0.1445, allocations: 161.3 kB / 0.9663 GB, free: 3.473 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/0.1445, allocations: 0 / 0.9663 GB, free: 3.473 MB / 0.9167 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0002417/0.1447, allocations: 211.4 kB / 0.9665 GB, free: 3.258 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 1.485e-05/0.1448, allocations: 14.59 kB / 0.9665 GB, free: 3.246 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.7e-06/0.1448, allocations: 0 / 0.9665 GB, free: 3.246 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.678e-06/0.1448, allocations: 4 kB / 0.9665 GB, free: 3.242 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001542/0.1449, allocations: 60.12 kB / 0.9666 GB, free: 3.184 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.424e-06/0.1449, allocations: 15.92 kB / 0.9666 GB, free: 3.168 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.429e-05/0.145, allocations: 27.78 kB / 0.9666 GB, free: 3.141 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.209e-05/0.1451, allocations: 8 kB / 0.9666 GB, free: 3.133 MB / 0.9167 GB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (31): * Single equations (assignments): 31 * 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 0.0001701/0.1452, allocations: 172.5 kB / 0.9668 GB, free: 2.953 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.61e-05/0.1453, allocations: 39.81 kB / 0.9668 GB, free: 2.914 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002455/0.1455, allocations: 204.7 kB / 0.967 GB, free: 2.703 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.306e-06/0.1455, allocations: 4 kB / 0.967 GB, free: 2.699 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.372e-06/0.1455, allocations: 0 / 0.967 GB, free: 2.699 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.418e-06/0.1455, allocations: 3.984 kB / 0.967 GB, free: 2.695 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005966/0.1461, allocations: 0.6164 MB / 0.9676 GB, free: 2.016 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.68e-06/0.1461, allocations: 7.984 kB / 0.9676 GB, free: 2.008 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001549/0.1463, allocations: 47.92 kB / 0.9677 GB, free: 1.961 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.579e-06/0.1463, allocations: 0 / 0.9677 GB, free: 1.961 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.277e-05/0.1463, allocations: 7.938 kB / 0.9677 GB, free: 1.953 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.146e-06/0.1463, allocations: 4 kB / 0.9677 GB, free: 1.949 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.711e-06/0.1463, allocations: 8.156 kB / 0.9677 GB, free: 1.941 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004468/0.1468, allocations: 426.8 kB / 0.9681 GB, free: 1.477 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 9.066e-05/0.1469, allocations: 63.58 kB / 0.9682 GB, free: 1.414 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.627e-05/0.1469, allocations: 8 kB / 0.9682 GB, free: 1.406 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001423/0.147, allocations: 11.98 kB / 0.9682 GB, free: 1.395 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.134e-05/0.1471, allocations: 19.97 kB / 0.9682 GB, free: 1.375 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.575e-05/0.1471, allocations: 8 kB / 0.9682 GB, free: 1.367 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 0.0001237/0.1472, allocations: 214.9 kB / 0.9684 GB, free: 1.16 MB / 0.9167 GB Notification: Performance of sort global known variables: time 8e-08/0.1472, allocations: 0 / 0.9684 GB, free: 1.16 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.0004365/0.1477, allocations: 119.7 kB / 0.9685 GB, free: 1.043 MB / 0.9167 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 1 (senH.h_out) * 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 (24): * Single equations (assignments): 24 * 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.0002325/0.1479, allocations: 135.1 kB / 0.9686 GB, free: 0.8984 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.0002615/0.1482, allocations: 145.9 kB / 0.9688 GB, free: 0.7539 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 2.444e-06/0.1482, allocations: 3.938 kB / 0.9688 GB, free: 0.75 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 0.0001143/0.1483, allocations: 72.34 kB / 0.9689 GB, free: 0.6758 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006477/0.1489, allocations: 147.8 kB / 0.969 GB, free: 0.5352 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001031/0.15, allocations: 0.7301 MB / 0.9697 GB, free: 15.74 MB / 0.9323 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.267e-05/0.15, allocations: 124.5 kB / 0.9698 GB, free: 15.6 MB / 0.9323 GB Notification: Performance of simCode: alias equations: time 0.0001255/0.1502, allocations: 50.95 kB / 0.9699 GB, free: 15.55 MB / 0.9323 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00036/0.1505, allocations: 174.1 kB / 0.97 GB, free: 15.38 MB / 0.9323 GB Notification: Performance of SimCode: time 7.92e-07/0.1505, allocations: 0 / 0.97 GB, free: 15.38 MB / 0.9323 GB Notification: Performance of Templates: time 0.008163/0.1587, allocations: 5.952 MB / 0.9759 GB, free: 9.598 MB / 0.9323 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.pipe ; mkfifo Buildings_12_Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.pipe >> ../files/Buildings_12_Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.sim & ./Buildings_12_Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_Sensors_Examples_MoistAirEnthalpyFlowRate.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.497391257900745]