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.0008191/0.0008191, allocations: 81.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001055/0.001874, 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.0007185/0.0007185, allocations: 161.1 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009437/0.001662, 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.9623/0.9623, allocations: 177.2 MB / 189.8 MB, free: 5.254 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08309/1.045, allocations: 53.67 MB / 243.4 MB, free: 15.5 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.824/1.824, allocations: 378.4 MB / 0.6079 GB, free: 7.707 MB / 0.5886 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.4849/2.309, allocations: 123.3 MB / 0.7283 GB, free: 5.75 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.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.933e-06/1.933e-06, allocations: 0.5469 kB / 0.7297 GB, free: 4.402 MB / 0.698 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.94e-05/2.133e-05, allocations: 2.312 kB / 0.7297 GB, free: 4.398 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate): time 0.1395/0.1395, allocations: 147.3 MB / 0.8735 GB, free: 0.8086 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.002753/0.1423, allocations: 1.853 MB / 0.8753 GB, free: 14.95 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003132/0.1426, allocations: 23.81 kB / 0.8753 GB, free: 14.93 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 0.0003151/0.1429, allocations: 119 kB / 0.8754 GB, free: 14.81 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 0.001101/0.144, allocations: 0.5515 MB / 0.876 GB, free: 14.26 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 0.001058/0.1451, allocations: 0.5299 MB / 0.8765 GB, free: 13.73 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 0.001003/0.1461, allocations: 1.033 MB / 0.8775 GB, free: 12.69 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000879/0.147, allocations: 374.9 kB / 0.8779 GB, free: 12.34 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009379/0.1479, allocations: 0.6659 MB / 0.8785 GB, free: 11.71 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003894/0.1483, allocations: 375 kB / 0.8789 GB, free: 11.35 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 4.503e-05/0.1483, allocations: 36 kB / 0.8789 GB, free: 11.31 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006035/0.1489, allocations: 359.1 kB / 0.8792 GB, free: 10.96 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 0.0001242/0.1491, allocations: 151.5 kB / 0.8794 GB, free: 10.81 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 0.0001308/0.1492, allocations: 143.7 kB / 0.8795 GB, free: 10.67 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 0.0006987/0.1499, allocations: 0.5061 MB / 0.88 GB, free: 10.16 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 1.458e-05/0.1499, allocations: 0 / 0.88 GB, free: 10.16 MB / 0.8542 GB Notification: Performance of FrontEnd: time 3.326e-06/0.1499, allocations: 0 / 0.88 GB, free: 10.16 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 1.753e-05/0.1499, allocations: 0 / 0.88 GB, free: 10.16 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: 93 * Number of variables: 93 Notification: Performance of Generate backend data structure: time 0.0009057/0.1508, allocations: 0.7914 MB / 0.8808 GB, free: 9.344 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 4.544e-05/0.1509, allocations: 12.03 kB / 0.8808 GB, free: 9.332 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006817/0.1516, allocations: 269.6 kB / 0.8811 GB, free: 9.051 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003648/0.1519, allocations: 317.4 kB / 0.8814 GB, free: 8.715 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.362e-05/0.1519, allocations: 33.12 kB / 0.8814 GB, free: 8.684 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.542e-05/0.152, allocations: 40 kB / 0.8814 GB, free: 8.645 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003379/0.1523, allocations: 333.9 kB / 0.8818 GB, free: 8.289 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.079e-05/0.1523, allocations: 0 / 0.8818 GB, free: 8.289 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.305e-05/0.1524, allocations: 16 kB / 0.8818 GB, free: 8.273 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.689e-06/0.1524, allocations: 12 kB / 0.8818 GB, free: 8.262 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001326/0.1525, allocations: 105.7 kB / 0.8819 GB, free: 8.156 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.001028/0.1535, allocations: 1.172 MB / 0.883 GB, free: 6.941 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001638/0.1537, allocations: 160.1 kB / 0.8832 GB, free: 6.773 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.268e-05/0.1538, allocations: 47.67 kB / 0.8832 GB, free: 6.723 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001938/0.1539, allocations: 55.94 kB / 0.8833 GB, free: 6.668 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.183e-05/0.154, allocations: 34.56 kB / 0.8833 GB, free: 6.625 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=24): time 2.054e-06/0.154, allocations: 0 / 0.8833 GB, free: 6.625 MB / 0.8542 GB Notification: Performance of matching and sorting (n=24): time 0.0003318/0.1543, allocations: 171.8 kB / 0.8835 GB, free: 6.453 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.051e-05/0.1543, allocations: 55.41 kB / 0.8835 GB, free: 6.387 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001459/0.1545, allocations: 274.9 kB / 0.8838 GB, free: 6.109 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 2.15e-05/0.1545, allocations: 33.69 kB / 0.8838 GB, free: 6.07 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 9.272e-05/0.1546, allocations: 216.8 kB / 0.884 GB, free: 5.852 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 4.567e-05/0.1546, allocations: 83.22 kB / 0.8841 GB, free: 5.77 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.11e-05/0.1547, allocations: 57.66 kB / 0.8842 GB, free: 5.707 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 9.279e-05/0.1548, allocations: 350.7 kB / 0.8845 GB, free: 5.355 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.483e-05/0.1548, allocations: 30.81 kB / 0.8845 GB, free: 5.324 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.904e-05/0.1549, allocations: 163.9 kB / 0.8847 GB, free: 5.121 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001485/0.1551, allocations: 158.4 kB / 0.8848 GB, free: 4.941 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.836e-06/0.1551, allocations: 0 / 0.8848 GB, free: 4.941 MB / 0.8542 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0001795/0.1553, allocations: 160.3 kB / 0.885 GB, free: 4.777 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.465e-05/0.1553, allocations: 4 kB / 0.885 GB, free: 4.773 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.141e-06/0.1553, allocations: 8 kB / 0.885 GB, free: 4.766 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.356e-05/0.1553, allocations: 7.984 kB / 0.885 GB, free: 4.758 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001591/0.1555, allocations: 64.14 kB / 0.8851 GB, free: 4.695 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.771e-06/0.1555, allocations: 4 kB / 0.8851 GB, free: 4.691 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.6e-05/0.1556, allocations: 27.83 kB / 0.8851 GB, free: 4.664 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.115e-05/0.1556, allocations: 11.98 kB / 0.8851 GB, free: 4.652 MB / 0.8542 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 9.22e-05/0.1557, allocations: 132.5 kB / 0.8852 GB, free: 4.512 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.606e-05/0.1557, allocations: 31.95 kB / 0.8853 GB, free: 4.48 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002171/0.1559, allocations: 171.5 kB / 0.8854 GB, free: 4.309 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.357e-06/0.1559, allocations: 4 kB / 0.8854 GB, free: 4.305 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.824e-06/0.1559, allocations: 0 / 0.8854 GB, free: 4.305 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.047e-06/0.1559, allocations: 0 / 0.8854 GB, free: 4.305 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005364/0.1565, allocations: 0.5857 MB / 0.886 GB, free: 3.664 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.705e-06/0.1565, allocations: 4 kB / 0.886 GB, free: 3.66 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001338/0.1566, allocations: 47.92 kB / 0.8861 GB, free: 3.613 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 5.501e-05/0.1567, allocations: 47.72 kB / 0.8861 GB, free: 3.566 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.821e-06/0.1567, allocations: 7.938 kB / 0.8861 GB, free: 3.559 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.679e-05/0.1567, allocations: 12.2 kB / 0.8861 GB, free: 3.547 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.038e-06/0.1567, allocations: 8 kB / 0.8861 GB, free: 3.539 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.064e-06/0.1567, allocations: 0 / 0.8861 GB, free: 3.539 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002931/0.157, allocations: 383.6 kB / 0.8865 GB, free: 3.117 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.249e-05/0.157, allocations: 11.94 kB / 0.8865 GB, free: 3.105 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.346e-05/0.1571, allocations: 11.98 kB / 0.8865 GB, free: 3.094 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.698e-05/0.1571, allocations: 19.91 kB / 0.8865 GB, free: 3.074 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.073e-05/0.1572, allocations: 8 kB / 0.8865 GB, free: 3.066 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 6.95e-05/0.1572, allocations: 96.62 kB / 0.8866 GB, free: 2.973 MB / 0.8542 GB Notification: Performance of sort global known variables: time 1.3e-07/0.1572, allocations: 0 / 0.8866 GB, free: 2.973 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.000259/0.1575, allocations: 131.7 kB / 0.8868 GB, free: 2.844 MB / 0.8542 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.0002319/0.1577, allocations: 116.2 kB / 0.8869 GB, free: 2.719 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0001785/0.1579, allocations: 115.3 kB / 0.887 GB, free: 2.605 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 9.458e-06/0.1579, allocations: 8.656 kB / 0.887 GB, free: 2.598 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 9.609e-05/0.158, allocations: 86.66 kB / 0.8871 GB, free: 2.512 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006899/0.1587, allocations: 0.8988 MB / 0.888 GB, free: 1.445 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002575/0.1613, allocations: 0.7184 MB / 0.8887 GB, free: 0.6719 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.986e-05/0.1613, allocations: 120.5 kB / 0.8888 GB, free: 0.5352 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.0001362/0.1615, allocations: 46.97 kB / 0.8888 GB, free: 500 kB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002165/0.1617, allocations: 141.3 kB / 0.8889 GB, free: 356 kB / 0.8542 GB Notification: Performance of SimCode: time 1.092e-06/0.1617, allocations: 0 / 0.8889 GB, free: 356 kB / 0.8542 GB Notification: Performance of Templates: time 0.00842/0.1701, allocations: 6.07 MB / 0.8949 GB, free: 10.44 MB / 0.8699 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 -ignoreHideResult -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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_12_Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate/Buildings_12_Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.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: 5.078707848675549]