Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001031/0.001031, allocations: 83.59 kB / 20.45 MB, free: 4.109 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.0009347/0.0009347, allocations: 169 kB / 23.83 MB, free: 0.7344 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.9534/0.9534, allocations: 177.1 MB / 204.2 MB, free: 5.637 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.771/1.771, allocations: 359 MB / 0.6052 GB, free: 11 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.MoistAirEnthalpyFlowRate,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|senM_flow.m_flow|senH.h_out|senH_flow.H_flow|senHSen_flow.H_flow|senHLat_flow.H_flow|pro.y|add.y",fileNamePrefix="Buildings_11_Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate") translateModel(Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|senM_flow.m_flow|senH.h_out|senH_flow.H_flow|senHSen_flow.H_flow|senHLat_flow.H_flow|pro.y|add.y",fileNamePrefix="Buildings_11_Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.043e-06/2.043e-06, allocations: 0 / 0.7871 GB, free: 12.46 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.995e-05/3.199e-05, allocations: 10.17 kB / 0.7871 GB, free: 12.45 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate): time 0.1524/0.1524, allocations: 147.4 MB / 0.9311 GB, free: 8.594 MB / 0.8855 GB Notification: Performance of NFInst.instExpressions: time 0.002798/0.1552, allocations: 1.804 MB / 0.9328 GB, free: 6.785 MB / 0.8855 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003757/0.1556, allocations: 27.81 kB / 0.9329 GB, free: 6.758 MB / 0.8855 GB Notification: Performance of NFTyping.typeComponents: time 0.0003687/0.156, allocations: 115 kB / 0.933 GB, free: 6.645 MB / 0.8855 GB Notification: Performance of NFTyping.typeBindings: time 0.001234/0.1572, allocations: 0.5826 MB / 0.9335 GB, free: 6.059 MB / 0.8855 GB Notification: Performance of NFTyping.typeClassSections: time 0.001067/0.1583, allocations: 0.5222 MB / 0.934 GB, free: 5.535 MB / 0.8855 GB Notification: Performance of NFFlatten.flatten: time 0.001038/0.1593, allocations: 1.071 MB / 0.9351 GB, free: 4.457 MB / 0.8855 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004863/0.1598, allocations: 337.9 kB / 0.9354 GB, free: 4.125 MB / 0.8855 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001312/0.1611, allocations: 0.6667 MB / 0.9361 GB, free: 3.492 MB / 0.8855 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004875/0.1616, allocations: 402.9 kB / 0.9364 GB, free: 3.098 MB / 0.8855 GB Notification: Performance of NFPackage.collectConstants: time 5.242e-05/0.1616, allocations: 36 kB / 0.9365 GB, free: 3.062 MB / 0.8855 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006139/0.1622, allocations: 351 kB / 0.9368 GB, free: 2.719 MB / 0.8855 GB Notification: Performance of NFScalarize.scalarize: time 0.0001489/0.1624, allocations: 175.4 kB / 0.937 GB, free: 2.547 MB / 0.8855 GB Notification: Performance of NFVerifyModel.verify: time 0.0001505/0.1625, allocations: 171.6 kB / 0.9371 GB, free: 2.379 MB / 0.8855 GB Notification: Performance of NFConvertDAE.convert: time 0.0008647/0.1634, allocations: 0.5684 MB / 0.9377 GB, free: 1.809 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 5.17e-06/0.1634, allocations: 0 / 0.9377 GB, free: 1.809 MB / 0.8855 GB Notification: Performance of FrontEnd: time 1.713e-06/0.1634, allocations: 0 / 0.9377 GB, free: 1.809 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 8.365e-06/0.1634, allocations: 0 / 0.9377 GB, free: 1.809 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: 93 * Number of variables: 93 Notification: Performance of Generate backend data structure: time 0.0009022/0.1643, allocations: 0.7955 MB / 0.9385 GB, free: 0.9727 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 4.206e-05/0.1644, allocations: 15.97 kB / 0.9385 GB, free: 0.957 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006439/0.165, allocations: 208.3 kB / 0.9387 GB, free: 0.7539 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000427/0.1654, allocations: 342.9 kB / 0.939 GB, free: 404 kB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.818e-05/0.1655, allocations: 33.12 kB / 0.939 GB, free: 372 kB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.661e-05/0.1655, allocations: 36 kB / 0.9391 GB, free: 336 kB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004691/0.166, allocations: 362.9 kB / 0.9394 GB, free: 15.94 MB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.476e-05/0.166, allocations: 4 kB / 0.9394 GB, free: 15.93 MB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.763e-05/0.166, allocations: 16 kB / 0.9394 GB, free: 15.92 MB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.33e-05/0.166, allocations: 8 kB / 0.9395 GB, free: 15.91 MB / 0.9011 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002224/0.1663, allocations: 153.8 kB / 0.9396 GB, free: 15.76 MB / 0.9011 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.001449/0.1677, allocations: 1.684 MB / 0.9412 GB, free: 14 MB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002259/0.1679, allocations: 139 kB / 0.9414 GB, free: 13.86 MB / 0.9011 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.346e-05/0.168, allocations: 67.66 kB / 0.9414 GB, free: 13.79 MB / 0.9011 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002245/0.1682, allocations: 47.94 kB / 0.9415 GB, free: 13.74 MB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.591e-05/0.1683, allocations: 41.39 kB / 0.9415 GB, free: 13.69 MB / 0.9011 GB Notification: Performance of pre-optimization done (n=24): time 1.904e-06/0.1683, allocations: 3.938 kB / 0.9415 GB, free: 13.68 MB / 0.9011 GB Notification: Performance of matching and sorting (n=24): time 0.0004799/0.1688, allocations: 253.6 kB / 0.9418 GB, free: 13.43 MB / 0.9011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.287e-05/0.1688, allocations: 55.41 kB / 0.9418 GB, free: 13.36 MB / 0.9011 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002339/0.169, allocations: 330.2 kB / 0.9421 GB, free: 13.02 MB / 0.9011 GB Notification: Performance of collectPreVariables (initialization): time 2.291e-05/0.169, allocations: 29.7 kB / 0.9422 GB, free: 12.99 MB / 0.9011 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001383/0.1692, allocations: 290.9 kB / 0.9424 GB, free: 12.7 MB / 0.9011 GB Notification: Performance of collectInitialBindings (initialization): time 5.223e-05/0.1692, allocations: 83.28 kB / 0.9425 GB, free: 12.62 MB / 0.9011 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.729e-05/0.1693, allocations: 71.23 kB / 0.9426 GB, free: 12.54 MB / 0.9011 GB Notification: Performance of setup shared object (initialization): time 0.0001322/0.1694, allocations: 0.5118 MB / 0.9431 GB, free: 12.02 MB / 0.9011 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.977e-05/0.1695, allocations: 39.97 kB / 0.9431 GB, free: 11.98 MB / 0.9011 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001447/0.1697, allocations: 214.4 kB / 0.9433 GB, free: 11.71 MB / 0.9011 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00019/0.1698, allocations: 184 kB / 0.9435 GB, free: 11.5 MB / 0.9011 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.956e-06/0.1699, allocations: 0 / 0.9435 GB, free: 11.5 MB / 0.9011 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0002734/0.1701, allocations: 235.9 kB / 0.9437 GB, free: 11.27 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 1.938e-05/0.1701, allocations: 4 kB / 0.9437 GB, free: 11.27 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.326e-06/0.1702, allocations: 4 kB / 0.9437 GB, free: 11.26 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.676e-05/0.1702, allocations: 4 kB / 0.9437 GB, free: 11.26 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001644/0.1703, allocations: 59.91 kB / 0.9438 GB, free: 11.2 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.904e-06/0.1703, allocations: 3.938 kB / 0.9438 GB, free: 11.2 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.465e-05/0.1704, allocations: 31.77 kB / 0.9438 GB, free: 11.16 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.633e-05/0.1705, allocations: 16 kB / 0.9439 GB, free: 11.15 MB / 0.9011 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.0001097/0.1706, allocations: 168.5 kB / 0.944 GB, free: 10.97 MB / 0.9011 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.549e-05/0.1706, allocations: 43.94 kB / 0.9441 GB, free: 10.93 MB / 0.9011 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003178/0.1709, allocations: 212.7 kB / 0.9443 GB, free: 10.71 MB / 0.9011 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.649e-06/0.1709, allocations: 4 kB / 0.9443 GB, free: 10.71 MB / 0.9011 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.599e-06/0.1709, allocations: 0 / 0.9443 GB, free: 10.71 MB / 0.9011 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.093e-06/0.171, allocations: 3.938 kB / 0.9443 GB, free: 10.71 MB / 0.9011 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007122/0.1717, allocations: 0.7017 MB / 0.945 GB, free: 9.934 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.759e-06/0.1717, allocations: 12.14 kB / 0.945 GB, free: 9.922 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001318/0.1718, allocations: 39.98 kB / 0.945 GB, free: 9.883 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.45e-06/0.1718, allocations: 4 kB / 0.945 GB, free: 9.879 MB / 0.9011 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.914e-05/0.1718, allocations: 11.94 kB / 0.945 GB, free: 9.867 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.909e-06/0.1718, allocations: 8 kB / 0.945 GB, free: 9.859 MB / 0.9011 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.974e-06/0.1718, allocations: 0 / 0.945 GB, free: 9.859 MB / 0.9011 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004722/0.1723, allocations: 455.6 kB / 0.9455 GB, free: 9.367 MB / 0.9011 GB Notification: Performance of postOpt removeConstants (simulation): time 7.473e-05/0.1724, allocations: 59.72 kB / 0.9455 GB, free: 9.309 MB / 0.9011 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.064e-05/0.1724, allocations: 11.98 kB / 0.9455 GB, free: 9.297 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.996e-05/0.1725, allocations: 8.031 kB / 0.9455 GB, free: 9.289 MB / 0.9011 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.403e-05/0.1726, allocations: 19.97 kB / 0.9456 GB, free: 9.27 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.366e-05/0.1726, allocations: 12 kB / 0.9456 GB, free: 9.258 MB / 0.9011 GB Notification: Performance of sorting global known variables: time 0.0001287/0.1727, allocations: 226.9 kB / 0.9458 GB, free: 9.035 MB / 0.9011 GB Notification: Performance of sort global known variables: time 6e-08/0.1727, allocations: 0 / 0.9458 GB, free: 9.035 MB / 0.9011 GB Notification: Performance of remove unused functions: time 0.0003288/0.173, allocations: 123.7 kB / 0.9459 GB, free: 8.914 MB / 0.9011 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.0002443/0.1733, allocations: 139.1 kB / 0.946 GB, free: 8.77 MB / 0.9011 GB Notification: Performance of simCode: created initialization part: time 0.0002613/0.1735, allocations: 159.2 kB / 0.9462 GB, free: 8.609 MB / 0.9011 GB Notification: Performance of simCode: created event and clocks part: time 2.505e-06/0.1735, allocations: 0 / 0.9462 GB, free: 8.609 MB / 0.9011 GB Notification: Performance of simCode: created simulation system equations: time 0.0001037/0.1736, allocations: 79.53 kB / 0.9463 GB, free: 8.527 MB / 0.9011 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006069/0.1742, allocations: 137.7 kB / 0.9464 GB, free: 8.398 MB / 0.9011 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00159/0.1758, allocations: 0.7343 MB / 0.9471 GB, free: 7.598 MB / 0.9011 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001092/0.1759, allocations: 120.6 kB / 0.9472 GB, free: 7.461 MB / 0.9011 GB Notification: Performance of simCode: alias equations: time 0.000254/0.1762, allocations: 70.92 kB / 0.9473 GB, free: 7.391 MB / 0.9011 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001006/0.1763, allocations: 28.5 kB / 0.9473 GB, free: 7.363 MB / 0.9011 GB Notification: Performance of SimCode: time 1.092e-06/0.1763, allocations: 0 / 0.9473 GB, free: 7.363 MB / 0.9011 GB Notification: Performance of Templates: time 0.01202/0.1883, allocations: 5.766 MB / 0.953 GB, free: 1.754 MB / 0.9011 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.pipe ; mkfifo Buildings_11_Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.pipe >> ../files/Buildings_11_Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.sim & ./Buildings_11_Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.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.4616639679297805]