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.00179/0.00179, allocations: 83.69 kB / 20.23 MB, free: 4.184 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.00187/0.00187, allocations: 161.3 kB / 23.55 MB, free: 0.875 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.585/1.585, allocations: 177.1 MB / 203.9 MB, free: 5.582 MB / 186.7 MB " [Timeout remaining time 178] 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 2.935/2.935, allocations: 359 MB / 0.6048 GB, free: 10.93 MB / 0.573 GB " [Timeout remaining time 176] 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.613e-06/1.613e-06, allocations: 0 / 0.7864 GB, free: 12.61 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.35e-05/3.512e-05, allocations: 6.312 kB / 0.7864 GB, free: 12.61 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate): time 0.2354/0.2354, allocations: 163.7 MB / 0.9463 GB, free: 8.34 MB / 0.9011 GB Notification: Performance of NFInst.instExpressions: time 0.01013/0.2456, allocations: 6.727 MB / 0.9529 GB, free: 1.594 MB / 0.9011 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004686/0.246, allocations: 19.81 kB / 0.9529 GB, free: 1.574 MB / 0.9011 GB Notification: Performance of NFTyping.typeComponents: time 0.0006147/0.2467, allocations: 182.6 kB / 0.9531 GB, free: 1.395 MB / 0.9011 GB Notification: Performance of NFTyping.typeBindings: time 0.002403/0.2491, allocations: 0.8667 MB / 0.9539 GB, free: 0.5234 MB / 0.9011 GB Notification: Performance of NFTyping.typeClassSections: time 0.001069/0.2501, allocations: 375 kB / 0.9543 GB, free: 160 kB / 0.9011 GB Notification: Performance of NFFlatten.flatten: time 0.001013/0.2511, allocations: 0.7211 MB / 0.955 GB, free: 15.43 MB / 0.9167 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004404/0.2516, allocations: 227.2 kB / 0.9552 GB, free: 15.21 MB / 0.9167 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001431/0.253, allocations: 0.6657 MB / 0.9558 GB, free: 14.54 MB / 0.9167 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004496/0.2535, allocations: 243.3 kB / 0.9561 GB, free: 14.3 MB / 0.9167 GB Notification: Performance of NFPackage.collectConstants: time 5.452e-05/0.2535, allocations: 20 kB / 0.9561 GB, free: 14.28 MB / 0.9167 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000679/0.2542, allocations: 303 kB / 0.9564 GB, free: 13.98 MB / 0.9167 GB Notification: Performance of NFScalarize.scalarize: time 0.0001753/0.2544, allocations: 123.6 kB / 0.9565 GB, free: 13.86 MB / 0.9167 GB Notification: Performance of NFVerifyModel.verify: time 0.0001739/0.2545, allocations: 111.8 kB / 0.9566 GB, free: 13.75 MB / 0.9167 GB Notification: Performance of NFConvertDAE.convert: time 0.0009166/0.2555, allocations: 486.4 kB / 0.9571 GB, free: 13.28 MB / 0.9167 GB Notification: Performance of FrontEnd - DAE generated: time 2.585e-06/0.2555, allocations: 0 / 0.9571 GB, free: 13.28 MB / 0.9167 GB Notification: Performance of FrontEnd: time 8.01e-07/0.2555, allocations: 0 / 0.9571 GB, free: 13.28 MB / 0.9167 GB Notification: Performance of Transformations before backend: time 6.953e-06/0.2555, allocations: 4 kB / 0.9571 GB, free: 13.27 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: 63 * Number of variables: 63 Notification: Performance of Generate backend data structure: time 0.001009/0.2565, allocations: 0.6628 MB / 0.9577 GB, free: 12.57 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 3.985e-05/0.2565, allocations: 8.031 kB / 0.9577 GB, free: 12.57 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003769/0.2569, allocations: 91.61 kB / 0.9578 GB, free: 12.48 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004875/0.2574, allocations: 274.9 kB / 0.9581 GB, free: 12.18 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.078e-05/0.2574, allocations: 20.66 kB / 0.9581 GB, free: 12.16 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.59e-05/0.2575, allocations: 27.94 kB / 0.9581 GB, free: 12.13 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005465/0.258, allocations: 304.9 kB / 0.9584 GB, free: 11.8 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.557e-05/0.258, allocations: 3.938 kB / 0.9584 GB, free: 11.8 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.872e-05/0.2581, allocations: 12 kB / 0.9584 GB, free: 11.79 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.285e-06/0.2581, allocations: 4 kB / 0.9584 GB, free: 11.78 MB / 0.9167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003448/0.2584, allocations: 149.9 kB / 0.9586 GB, free: 11.63 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.001798/0.2602, allocations: 1.5 MB / 0.96 GB, free: 10.07 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002465/0.2605, allocations: 98.95 kB / 0.9601 GB, free: 9.961 MB / 0.9167 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001381/0.2606, allocations: 59.66 kB / 0.9602 GB, free: 9.898 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004534/0.261, allocations: 67.92 kB / 0.9603 GB, free: 9.832 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.544e-05/0.2611, allocations: 37.39 kB / 0.9603 GB, free: 9.785 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=13): time 1.373e-06/0.2611, allocations: 0 / 0.9603 GB, free: 9.785 MB / 0.9167 GB Notification: Performance of matching and sorting (n=13): time 0.0006796/0.2618, allocations: 221.5 kB / 0.9605 GB, free: 9.562 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.897e-05/0.2618, allocations: 59.41 kB / 0.9606 GB, free: 9.492 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003206/0.2621, allocations: 308.3 kB / 0.9609 GB, free: 9.172 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 2.914e-05/0.2622, allocations: 25.7 kB / 0.9609 GB, free: 9.141 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002095/0.2624, allocations: 250.9 kB / 0.9611 GB, free: 8.891 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 5.228e-05/0.2624, allocations: 47.62 kB / 0.9612 GB, free: 8.844 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.747e-05/0.2625, allocations: 51.31 kB / 0.9612 GB, free: 8.785 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 0.0002893/0.2628, allocations: 0.5079 MB / 0.9617 GB, free: 8.266 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001199/0.2629, allocations: 39.98 kB / 0.9618 GB, free: 8.227 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000244/0.2632, allocations: 187.2 kB / 0.9619 GB, free: 8 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003024/0.2635, allocations: 154 kB / 0.9621 GB, free: 7.824 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/0.2635, allocations: 0 / 0.9621 GB, free: 7.824 MB / 0.9167 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0003824/0.2639, allocations: 185.3 kB / 0.9623 GB, free: 7.637 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 1.779e-05/0.2639, allocations: 7.938 kB / 0.9623 GB, free: 7.629 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.881e-06/0.2639, allocations: 4.156 kB / 0.9623 GB, free: 7.625 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.794e-05/0.2639, allocations: 4 kB / 0.9623 GB, free: 7.621 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001674/0.2641, allocations: 31.98 kB / 0.9623 GB, free: 7.59 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.113e-05/0.2641, allocations: 7.984 kB / 0.9623 GB, free: 7.582 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000123/0.2642, allocations: 11.89 kB / 0.9623 GB, free: 7.57 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.381e-05/0.2642, allocations: 12 kB / 0.9623 GB, free: 7.559 MB / 0.9167 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 0.0001917/0.2644, allocations: 184.5 kB / 0.9625 GB, free: 7.367 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.795e-05/0.2645, allocations: 23.86 kB / 0.9625 GB, free: 7.344 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004084/0.2649, allocations: 174 kB / 0.9627 GB, free: 7.172 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.651e-06/0.2649, allocations: 11.94 kB / 0.9627 GB, free: 7.16 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.266e-06/0.2649, allocations: 0 / 0.9627 GB, free: 7.16 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.326e-06/0.2649, allocations: 0 / 0.9627 GB, free: 7.16 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001176/0.2661, allocations: 0.6511 MB / 0.9633 GB, free: 6.438 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.312e-06/0.2661, allocations: 4 kB / 0.9633 GB, free: 6.434 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001339/0.2662, allocations: 24.2 kB / 0.9634 GB, free: 6.41 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.819e-06/0.2662, allocations: 4 kB / 0.9634 GB, free: 6.406 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.883e-05/0.2662, allocations: 7.938 kB / 0.9634 GB, free: 6.398 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.02e-06/0.2662, allocations: 4 kB / 0.9634 GB, free: 6.395 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.334e-06/0.2662, allocations: 0 / 0.9634 GB, free: 6.395 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008114/0.2671, allocations: 369.4 kB / 0.9637 GB, free: 5.984 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001121/0.2672, allocations: 43.77 kB / 0.9638 GB, free: 5.941 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.196e-05/0.2672, allocations: 3.938 kB / 0.9638 GB, free: 5.938 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001255/0.2673, allocations: 8 kB / 0.9638 GB, free: 5.93 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.621e-05/0.2674, allocations: 23.91 kB / 0.9638 GB, free: 5.906 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.107e-05/0.2674, allocations: 4 kB / 0.9638 GB, free: 5.902 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 0.0002105/0.2676, allocations: 213.1 kB / 0.964 GB, free: 5.695 MB / 0.9167 GB Notification: Performance of sort global known variables: time 5e-08/0.2676, allocations: 0 / 0.964 GB, free: 5.695 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.0004277/0.268, allocations: 83.78 kB / 0.9641 GB, free: 5.613 MB / 0.9167 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.0003139/0.2684, allocations: 135.1 kB / 0.9642 GB, free: 5.473 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.0003631/0.2687, allocations: 135.5 kB / 0.9644 GB, free: 5.336 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.2687, allocations: 0 / 0.9644 GB, free: 5.336 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 0.0001512/0.2689, allocations: 71.59 kB / 0.9644 GB, free: 5.262 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006434/0.2695, allocations: 97.56 kB / 0.9645 GB, free: 5.168 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009924/0.2705, allocations: 0.5329 MB / 0.965 GB, free: 4.57 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001942/0.2707, allocations: 171.5 kB / 0.9652 GB, free: 4.387 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 0.0001451/0.2709, allocations: 41.92 kB / 0.9652 GB, free: 4.34 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.875e-05/0.2709, allocations: 20.5 kB / 0.9653 GB, free: 4.32 MB / 0.9167 GB Notification: Performance of SimCode: time 5.82e-07/0.2709, allocations: 0 / 0.9653 GB, free: 4.32 MB / 0.9167 GB Notification: Performance of Templates: time 0.009409/0.2803, allocations: 3.754 MB / 0.9689 GB, free: 0.6758 MB / 0.9167 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 8.446552289067768]