Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001088/0.001088, allocations: 76.17 kB / 9.906 MB, free: 0.7812 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001452/0.002539, allocations: 439.8 kB / 10.34 MB, free: 360 kB / 10.45 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.0009984/0.0009984, allocations: 157.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001234/0.002233, allocations: 463.6 kB / 11.68 MB, free: 2.484 MB / 13.93 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.9458/0.9458, allocations: 177.1 MB / 189.6 MB, free: 5.328 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0975/1.043, allocations: 53.67 MB / 243.2 MB, free: 15.59 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/package.mo): time 2.432/2.432, allocations: 446.7 MB / 0.6745 GB, free: 6.234 MB / 0.6511 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.2448/2.677, allocations: 145.9 MB / 0.817 GB, free: 4.219 MB / 0.7917 GB " [Timeout remaining time 177] Using package Buildings with version 15.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/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|senMasFlo.m_flow|senH.h_out|senH_flow.H_flow|cheEqu.y",fileNamePrefix="Buildings_latest_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate") translateModel(Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|senMasFlo.m_flow|senH.h_out|senH_flow.H_flow|cheEqu.y",fileNamePrefix="Buildings_latest_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.192e-06/1.192e-06, allocations: 0 / 0.8183 GB, free: 2.883 MB / 0.7917 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.073e-05/1.192e-05, allocations: 2.312 kB / 0.8183 GB, free: 2.879 MB / 0.7917 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate): time 0.1311/0.1312, allocations: 146.5 MB / 0.9614 GB, free: 15.79 MB / 0.948 GB Notification: Performance of NFInst.instExpressions: time 0.001858/0.133, allocations: 0.9968 MB / 0.9624 GB, free: 14.79 MB / 0.948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000214/0.1332, allocations: 19.81 kB / 0.9624 GB, free: 14.77 MB / 0.948 GB Notification: Performance of NFTyping.typeComponents: time 0.0002517/0.1335, allocations: 91.27 kB / 0.9625 GB, free: 14.68 MB / 0.948 GB Notification: Performance of NFTyping.typeBindings: time 0.0007886/0.1343, allocations: 405.7 kB / 0.9629 GB, free: 14.29 MB / 0.948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006481/0.1349, allocations: 335.2 kB / 0.9632 GB, free: 13.96 MB / 0.948 GB Notification: Performance of NFFlatten.flatten: time 0.0007237/0.1356, allocations: 0.6821 MB / 0.9639 GB, free: 13.27 MB / 0.948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003212/0.136, allocations: 214.2 kB / 0.9641 GB, free: 13.06 MB / 0.948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005094/0.1365, allocations: 379 kB / 0.9644 GB, free: 12.69 MB / 0.948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002533/0.1367, allocations: 227.4 kB / 0.9646 GB, free: 12.47 MB / 0.948 GB Notification: Performance of NFPackage.collectConstants: time 3.372e-05/0.1368, allocations: 20 kB / 0.9647 GB, free: 12.45 MB / 0.948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003223/0.1371, allocations: 195.5 kB / 0.9649 GB, free: 12.26 MB / 0.948 GB Notification: Performance of NFScalarize.scalarize: time 8.609e-05/0.1372, allocations: 99.69 kB / 0.9649 GB, free: 12.16 MB / 0.948 GB Notification: Performance of NFVerifyModel.verify: time 8.693e-05/0.1372, allocations: 95.81 kB / 0.965 GB, free: 12.07 MB / 0.948 GB Notification: Performance of NFConvertDAE.convert: time 0.0003675/0.1376, allocations: 306.9 kB / 0.9653 GB, free: 11.77 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 1.704e-05/0.1376, allocations: 0 / 0.9653 GB, free: 11.77 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.182e-06/0.1376, allocations: 0 / 0.9653 GB, free: 11.77 MB / 0.948 GB Notification: Performance of Transformations before backend: time 1.816e-05/0.1377, allocations: 0 / 0.9653 GB, free: 11.77 MB / 0.948 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.0006376/0.1383, allocations: 0.5736 MB / 0.9659 GB, free: 11.17 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 3.053e-05/0.1383, allocations: 12.03 kB / 0.9659 GB, free: 11.16 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002825/0.1386, allocations: 165.8 kB / 0.9661 GB, free: 10.98 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002775/0.1389, allocations: 244.6 kB / 0.9663 GB, free: 10.71 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.909e-05/0.1389, allocations: 21.03 kB / 0.9663 GB, free: 10.69 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.364e-05/0.1389, allocations: 32.12 kB / 0.9663 GB, free: 10.66 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002661/0.1392, allocations: 248.5 kB / 0.9666 GB, free: 10.39 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.035e-05/0.1392, allocations: 0 / 0.9666 GB, free: 10.39 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.799e-05/0.1392, allocations: 12 kB / 0.9666 GB, free: 10.38 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.213e-06/0.1392, allocations: 8 kB / 0.9666 GB, free: 10.37 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.028e-05/0.1393, allocations: 79.89 kB / 0.9667 GB, free: 10.29 MB / 0.948 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.0008668/0.1402, allocations: 0.9919 MB / 0.9676 GB, free: 9.246 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001169/0.1403, allocations: 101.3 kB / 0.9677 GB, free: 9.137 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.579e-05/0.1403, allocations: 35.69 kB / 0.9678 GB, free: 9.098 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001834/0.1405, allocations: 47.94 kB / 0.9678 GB, free: 9.051 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.551e-05/0.1405, allocations: 38.56 kB / 0.9679 GB, free: 9.004 MB / 0.948 GB Notification: Performance of pre-optimization done (n=13): time 1.422e-06/0.1405, allocations: 0 / 0.9679 GB, free: 9.004 MB / 0.948 GB Notification: Performance of matching and sorting (n=13): time 0.0002504/0.1408, allocations: 113.5 kB / 0.968 GB, free: 8.887 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.26e-05/0.1408, allocations: 59.41 kB / 0.968 GB, free: 8.816 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001214/0.141, allocations: 217 kB / 0.9682 GB, free: 8.594 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 1.473e-05/0.141, allocations: 25.7 kB / 0.9683 GB, free: 8.562 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 7.744e-05/0.141, allocations: 176.6 kB / 0.9684 GB, free: 8.387 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 2.36e-05/0.1411, allocations: 43.58 kB / 0.9685 GB, free: 8.344 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.484e-05/0.1411, allocations: 37.69 kB / 0.9685 GB, free: 8.301 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 8.504e-05/0.1412, allocations: 338.7 kB / 0.9688 GB, free: 7.961 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.55e-05/0.1412, allocations: 14.81 kB / 0.9688 GB, free: 7.945 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.758e-05/0.1413, allocations: 134.2 kB / 0.969 GB, free: 7.777 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.311e-05/0.1414, allocations: 90.66 kB / 0.9691 GB, free: 7.668 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.745e-06/0.1414, allocations: 4 kB / 0.9691 GB, free: 7.664 MB / 0.948 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0001162/0.1415, allocations: 108.3 kB / 0.9692 GB, free: 7.551 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.163e-05/0.1415, allocations: 4 kB / 0.9692 GB, free: 7.547 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.771e-06/0.1415, allocations: 4 kB / 0.9692 GB, free: 7.543 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.426e-06/0.1415, allocations: 0 / 0.9692 GB, free: 7.543 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001004/0.1416, allocations: 40.08 kB / 0.9692 GB, free: 7.504 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.089e-06/0.1416, allocations: 4 kB / 0.9692 GB, free: 7.5 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.451e-05/0.1417, allocations: 11.95 kB / 0.9692 GB, free: 7.488 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.096e-05/0.1417, allocations: 11.94 kB / 0.9692 GB, free: 7.477 MB / 0.948 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.547e-05/0.1418, allocations: 128.6 kB / 0.9694 GB, free: 7.34 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.431e-05/0.1418, allocations: 15.98 kB / 0.9694 GB, free: 7.324 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00013/0.142, allocations: 111 kB / 0.9695 GB, free: 7.211 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.603e-06/0.142, allocations: 0 / 0.9695 GB, free: 7.211 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.934e-06/0.142, allocations: 0 / 0.9695 GB, free: 7.211 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.955e-06/0.142, allocations: 0 / 0.9695 GB, free: 7.211 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004107/0.1424, allocations: 492 kB / 0.9699 GB, free: 6.676 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.296e-06/0.1424, allocations: 4 kB / 0.9699 GB, free: 6.672 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.736e-05/0.1424, allocations: 31.92 kB / 0.97 GB, free: 6.641 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 3.457e-05/0.1425, allocations: 31.78 kB / 0.97 GB, free: 6.609 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.159e-06/0.1425, allocations: 7.938 kB / 0.97 GB, free: 6.602 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.402e-06/0.1425, allocations: 224 / 0.97 GB, free: 6.602 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.94e-06/0.1425, allocations: 16.05 kB / 0.97 GB, free: 6.586 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.535e-06/0.1425, allocations: 4 kB / 0.97 GB, free: 6.582 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001618/0.1427, allocations: 291.9 kB / 0.9703 GB, free: 6.25 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.008e-05/0.1427, allocations: 11.92 kB / 0.9703 GB, free: 6.238 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.34e-05/0.1427, allocations: 4 kB / 0.9703 GB, free: 6.234 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.477e-05/0.1428, allocations: 15.92 kB / 0.9703 GB, free: 6.219 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.803e-06/0.1428, allocations: 4 kB / 0.9703 GB, free: 6.215 MB / 0.948 GB Notification: Performance of sorting global known variables: time 5.187e-05/0.1428, allocations: 70.78 kB / 0.9704 GB, free: 6.145 MB / 0.948 GB Notification: Performance of sort global known variables: time 5e-08/0.1428, allocations: 0 / 0.9704 GB, free: 6.145 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.0002265/0.1431, allocations: 91.77 kB / 0.9705 GB, free: 6.055 MB / 0.948 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.0001861/0.1433, allocations: 108.3 kB / 0.9706 GB, free: 5.941 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.0001267/0.1434, allocations: 75.52 kB / 0.9707 GB, free: 5.867 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 7.214e-06/0.1434, allocations: 4 kB / 0.9707 GB, free: 5.863 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 4.234e-05/0.1434, allocations: 45.41 kB / 0.9707 GB, free: 5.816 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003175/0.1437, allocations: 92.42 kB / 0.9708 GB, free: 5.727 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001975/0.1457, allocations: 0.5188 MB / 0.9713 GB, free: 5.16 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.629e-05/0.1458, allocations: 92.3 kB / 0.9714 GB, free: 5.051 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 9.293e-05/0.1459, allocations: 33.97 kB / 0.9714 GB, free: 5.016 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001548/0.146, allocations: 119.3 kB / 0.9716 GB, free: 4.898 MB / 0.948 GB Notification: Performance of SimCode: time 6.71e-07/0.146, allocations: 0 / 0.9716 GB, free: 4.898 MB / 0.948 GB Notification: Performance of Templates: time 0.005945/0.152, allocations: 4.025 MB / 0.9755 GB, free: 0.9648 MB / 0.948 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe >> ../files/Buildings_latest_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate.sim & ./Buildings_latest_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_latest_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate/Buildings_latest_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate.ref.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.378059762530029]