Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.0007447/0.0007447, allocations: 81.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001024/0.001769, allocations: 449.8 kB / 10.44 MB, free: 252 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.001084/0.001084, allocations: 161.1 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001426/0.00251, allocations: 479.5 kB / 11.82 MB, free: 2.344 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.9311/0.9311, allocations: 177.2 MB / 189.8 MB, free: 5.258 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09249/1.024, allocations: 53.67 MB / 243.4 MB, free: 15.51 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo): time 1.79/1.79, allocations: 378.4 MB / 0.6079 GB, free: 7.695 MB / 0.5886 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.4914/2.282, allocations: 123.3 MB / 0.7283 GB, free: 5.711 MB / 0.698 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-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.EnthalpyFlowRate,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|senMasFlo.m_flow|senH.h_out|senH_flow.H_flow|cheEqu.y",fileNamePrefix="Buildings_12_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_12_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.213e-06/1.213e-06, allocations: 0.5469 kB / 0.7297 GB, free: 4.359 MB / 0.698 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.858e-05/1.979e-05, allocations: 7.438 kB / 0.7297 GB, free: 4.352 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate): time 0.1309/0.131, allocations: 146.5 MB / 0.8728 GB, free: 1.492 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.001375/0.1323, allocations: 1.023 MB / 0.8738 GB, free: 480 kB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001593/0.1325, allocations: 19.81 kB / 0.8738 GB, free: 460 kB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 0.0002165/0.1327, allocations: 91.27 kB / 0.8739 GB, free: 368 kB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 0.0006535/0.1334, allocations: 401.7 kB / 0.8743 GB, free: 15.96 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004967/0.1339, allocations: 347.2 kB / 0.8746 GB, free: 15.62 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 0.0007731/0.1346, allocations: 0.6899 MB / 0.8753 GB, free: 14.93 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002575/0.1349, allocations: 214.2 kB / 0.8755 GB, free: 14.73 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000398/0.1353, allocations: 398.9 kB / 0.8759 GB, free: 14.34 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002313/0.1355, allocations: 219.4 kB / 0.8761 GB, free: 14.12 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 2.968e-05/0.1355, allocations: 24 kB / 0.8761 GB, free: 14.1 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002771/0.1358, allocations: 195.5 kB / 0.8763 GB, free: 13.91 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 8.126e-05/0.1359, allocations: 99.69 kB / 0.8764 GB, free: 13.81 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 7.252e-05/0.136, allocations: 91.81 kB / 0.8765 GB, free: 13.72 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 0.000335/0.1363, allocations: 306.9 kB / 0.8768 GB, free: 13.42 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 1.305e-05/0.1363, allocations: 3.938 kB / 0.8768 GB, free: 13.41 MB / 0.8542 GB Notification: Performance of FrontEnd: time 1.543e-06/0.1363, allocations: 0 / 0.8768 GB, free: 13.41 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 1.111e-05/0.1363, allocations: 0 / 0.8768 GB, free: 13.41 MB / 0.8542 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.0005467/0.1369, allocations: 0.5891 MB / 0.8773 GB, free: 12.8 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 3.133e-05/0.1369, allocations: 12.02 kB / 0.8774 GB, free: 12.79 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002739/0.1372, allocations: 157.9 kB / 0.8775 GB, free: 12.62 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002638/0.1375, allocations: 244.7 kB / 0.8777 GB, free: 12.36 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.973e-05/0.1375, allocations: 36.95 kB / 0.8778 GB, free: 12.32 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.51e-05/0.1375, allocations: 28.12 kB / 0.8778 GB, free: 12.29 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002364/0.1377, allocations: 244.6 kB / 0.878 GB, free: 12.02 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.041e-05/0.1377, allocations: 7.922 kB / 0.878 GB, free: 12.02 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.384e-05/0.1378, allocations: 8 kB / 0.878 GB, free: 12.01 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.146e-06/0.1378, allocations: 8 kB / 0.8781 GB, free: 12 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.195e-05/0.1378, allocations: 79.89 kB / 0.8781 GB, free: 11.92 MB / 0.8542 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.0006742/0.1385, allocations: 0.9841 MB / 0.8791 GB, free: 10.89 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 9.633e-05/0.1386, allocations: 105.2 kB / 0.8792 GB, free: 10.78 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.148e-05/0.1386, allocations: 27.69 kB / 0.8792 GB, free: 10.75 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000176/0.1388, allocations: 51.94 kB / 0.8793 GB, free: 10.7 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.741e-05/0.1388, allocations: 30.56 kB / 0.8793 GB, free: 10.66 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=13): time 1.683e-06/0.1388, allocations: 4 kB / 0.8793 GB, free: 10.65 MB / 0.8542 GB Notification: Performance of matching and sorting (n=13): time 0.000228/0.1391, allocations: 117.8 kB / 0.8794 GB, free: 10.53 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.532e-05/0.1391, allocations: 51.41 kB / 0.8795 GB, free: 10.47 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000114/0.1392, allocations: 221 kB / 0.8797 GB, free: 10.24 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 1.838e-05/0.1392, allocations: 33.64 kB / 0.8797 GB, free: 10.2 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 7.031e-05/0.1393, allocations: 172.6 kB / 0.8799 GB, free: 10.03 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 2.47e-05/0.1393, allocations: 47.58 kB / 0.8799 GB, free: 9.98 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.245e-05/0.1394, allocations: 41.64 kB / 0.88 GB, free: 9.934 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 7.59e-05/0.1394, allocations: 334.7 kB / 0.8803 GB, free: 9.598 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.451e-05/0.1395, allocations: 14.83 kB / 0.8803 GB, free: 9.582 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.969e-05/0.1395, allocations: 142.2 kB / 0.8804 GB, free: 9.406 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.497e-05/0.1396, allocations: 86.7 kB / 0.8805 GB, free: 9.301 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.835e-06/0.1396, allocations: 7.938 kB / 0.8805 GB, free: 9.293 MB / 0.8542 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0001112/0.1397, allocations: 100.4 kB / 0.8806 GB, free: 9.188 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.094e-05/0.1397, allocations: 8.156 kB / 0.8806 GB, free: 9.18 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.32e-06/0.1397, allocations: 4 kB / 0.8806 GB, free: 9.176 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.538e-06/0.1398, allocations: 3.984 kB / 0.8806 GB, free: 9.172 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.39e-05/0.1398, allocations: 31.98 kB / 0.8807 GB, free: 9.141 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.018e-06/0.1399, allocations: 7.938 kB / 0.8807 GB, free: 9.133 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.9e-05/0.1399, allocations: 19.83 kB / 0.8807 GB, free: 9.113 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.871e-05/0.1399, allocations: 11.94 kB / 0.8807 GB, free: 9.102 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 6.789e-05/0.14, allocations: 116.7 kB / 0.8808 GB, free: 8.977 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.403e-05/0.14, allocations: 19.97 kB / 0.8808 GB, free: 8.957 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000126/0.1401, allocations: 107.4 kB / 0.8809 GB, free: 8.848 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.95e-06/0.1402, allocations: 4 kB / 0.8809 GB, free: 8.844 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.172e-06/0.1402, allocations: 0 / 0.8809 GB, free: 8.844 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.262e-06/0.1402, allocations: 0 / 0.8809 GB, free: 8.844 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003822/0.1405, allocations: 495.9 kB / 0.8814 GB, free: 8.305 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.295e-06/0.1405, allocations: 0 / 0.8814 GB, free: 8.305 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.631e-05/0.1406, allocations: 32.14 kB / 0.8814 GB, free: 8.273 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 3.28e-05/0.1406, allocations: 27.84 kB / 0.8815 GB, free: 8.246 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.72e-06/0.1406, allocations: 11.97 kB / 0.8815 GB, free: 8.234 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.654e-06/0.1407, allocations: 4 kB / 0.8815 GB, free: 8.23 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.924e-06/0.1407, allocations: 0 / 0.8815 GB, free: 8.23 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.873e-06/0.1407, allocations: 4 kB / 0.8815 GB, free: 8.227 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001445/0.1408, allocations: 294.1 kB / 0.8818 GB, free: 7.895 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.664e-05/0.1408, allocations: 7.938 kB / 0.8818 GB, free: 7.887 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.075e-05/0.1409, allocations: 11.98 kB / 0.8818 GB, free: 7.875 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.061e-05/0.1409, allocations: 7.984 kB / 0.8818 GB, free: 7.867 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.743e-06/0.1409, allocations: 8 kB / 0.8818 GB, free: 7.859 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 5.11e-05/0.141, allocations: 74.78 kB / 0.8819 GB, free: 7.785 MB / 0.8542 GB Notification: Performance of sort global known variables: time 5e-08/0.141, allocations: 0 / 0.8819 GB, free: 7.785 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0002019/0.1412, allocations: 83.72 kB / 0.8819 GB, free: 7.703 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.0001819/0.1414, allocations: 124.2 kB / 0.8821 GB, free: 7.574 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0001128/0.1415, allocations: 65.09 kB / 0.8821 GB, free: 7.508 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 6.141e-06/0.1415, allocations: 4 kB / 0.8821 GB, free: 7.504 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 5.411e-05/0.1415, allocations: 52.7 kB / 0.8822 GB, free: 7.449 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004768/0.142, allocations: 0.644 MB / 0.8828 GB, free: 6.68 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001901/0.1439, allocations: 0.5351 MB / 0.8833 GB, free: 6.09 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.517e-05/0.144, allocations: 96.3 kB / 0.8834 GB, free: 5.977 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 6.65e-05/0.144, allocations: 21.95 kB / 0.8834 GB, free: 5.957 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001431/0.1442, allocations: 115.3 kB / 0.8836 GB, free: 5.844 MB / 0.8542 GB Notification: Performance of SimCode: time 9.82e-07/0.1442, allocations: 0 / 0.8836 GB, free: 5.844 MB / 0.8542 GB Notification: Performance of Templates: time 0.005816/0.15, allocations: 4.133 MB / 0.8876 GB, free: 1.809 MB / 0.8542 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe ; mkfifo Buildings_12_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe >> ../files/Buildings_12_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate.sim & ./Buildings_12_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Buildings_12_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_12_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate/Buildings_12_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate.ref.csv","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 4.850714351050556]