Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.0008019/0.0008019, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001164/0.001966, allocations: 440 kB / 10.41 MB, free: 284 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.000726/0.000726, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009818/0.001708, allocations: 475.6 kB / 11.79 MB, free: 2.375 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.9047/0.9047, allocations: 177.2 MB / 189.7 MB, free: 5.23 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.07607/0.9808, allocations: 53.67 MB / 243.4 MB, free: 15.49 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.293/2.293, allocations: 447.1 MB / 0.675 GB, free: 5.879 MB / 0.6511 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.2482/2.542, allocations: 146 MB / 0.8176 GB, free: 3.797 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.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_latest_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_latest_Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.334e-06/2.334e-06, allocations: 4 kB / 0.819 GB, free: 2.43 MB / 0.7917 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.36e-05/1.593e-05, allocations: 6.312 kB / 0.819 GB, free: 2.422 MB / 0.7917 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate): time 0.1311/0.1311, allocations: 147.2 MB / 0.9627 GB, free: 14.62 MB / 0.948 GB Notification: Performance of NFInst.instExpressions: time 0.002536/0.1336, allocations: 1.841 MB / 0.9645 GB, free: 12.77 MB / 0.948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002717/0.1339, allocations: 27.75 kB / 0.9646 GB, free: 12.75 MB / 0.948 GB Notification: Performance of NFTyping.typeComponents: time 0.0002463/0.1341, allocations: 115 kB / 0.9647 GB, free: 12.63 MB / 0.948 GB Notification: Performance of NFTyping.typeBindings: time 0.0009792/0.1351, allocations: 0.5593 MB / 0.9652 GB, free: 12.07 MB / 0.948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008408/0.136, allocations: 0.5172 MB / 0.9657 GB, free: 11.55 MB / 0.948 GB Notification: Performance of NFFlatten.flatten: time 0.0008803/0.1368, allocations: 1.032 MB / 0.9667 GB, free: 10.52 MB / 0.948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006575/0.1375, allocations: 367.8 kB / 0.9671 GB, free: 10.17 MB / 0.948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008804/0.1384, allocations: 0.6552 MB / 0.9677 GB, free: 9.555 MB / 0.948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003665/0.1388, allocations: 371.1 kB / 0.9681 GB, free: 9.191 MB / 0.948 GB Notification: Performance of NFPackage.collectConstants: time 4.314e-05/0.1388, allocations: 36 kB / 0.9681 GB, free: 9.156 MB / 0.948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004662/0.1393, allocations: 355.1 kB / 0.9685 GB, free: 8.809 MB / 0.948 GB Notification: Performance of NFScalarize.scalarize: time 0.0001109/0.1394, allocations: 147.5 kB / 0.9686 GB, free: 8.664 MB / 0.948 GB Notification: Performance of NFVerifyModel.verify: time 0.000111/0.1395, allocations: 143.8 kB / 0.9687 GB, free: 8.523 MB / 0.948 GB Notification: Performance of NFConvertDAE.convert: time 0.0005402/0.14, allocations: 0.5139 MB / 0.9692 GB, free: 8.008 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 8.496e-06/0.14, allocations: 0 / 0.9692 GB, free: 8.008 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.152e-06/0.14, allocations: 0 / 0.9692 GB, free: 8.008 MB / 0.948 GB Notification: Performance of Transformations before backend: time 1.364e-05/0.14, allocations: 3.938 kB / 0.9692 GB, free: 8.004 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: 93 * Number of variables: 93 Notification: Performance of Generate backend data structure: time 0.0007103/0.1408, allocations: 0.7838 MB / 0.97 GB, free: 7.195 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 2.681e-05/0.1408, allocations: 8.031 kB / 0.97 GB, free: 7.188 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005899/0.1414, allocations: 277.6 kB / 0.9703 GB, free: 6.898 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003232/0.1417, allocations: 309.4 kB / 0.9706 GB, free: 6.566 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.182e-05/0.1417, allocations: 37.12 kB / 0.9706 GB, free: 6.531 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.921e-05/0.1418, allocations: 36 kB / 0.9706 GB, free: 6.496 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003065/0.1421, allocations: 333.9 kB / 0.971 GB, free: 6.133 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.021e-05/0.1421, allocations: 4 kB / 0.971 GB, free: 6.129 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.953e-05/0.1421, allocations: 16 kB / 0.971 GB, free: 6.113 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.576e-06/0.1421, allocations: 11.94 kB / 0.971 GB, free: 6.102 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001269/0.1422, allocations: 109.7 kB / 0.9711 GB, free: 5.996 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.0009187/0.1431, allocations: 1.176 MB / 0.9722 GB, free: 4.773 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001426/0.1433, allocations: 160.1 kB / 0.9724 GB, free: 4.605 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.979e-05/0.1433, allocations: 47.67 kB / 0.9724 GB, free: 4.555 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001573/0.1435, allocations: 51.94 kB / 0.9725 GB, free: 4.504 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.096e-05/0.1435, allocations: 38.56 kB / 0.9725 GB, free: 4.457 MB / 0.948 GB Notification: Performance of pre-optimization done (n=24): time 1.423e-06/0.1435, allocations: 0 / 0.9725 GB, free: 4.457 MB / 0.948 GB Notification: Performance of matching and sorting (n=24): time 0.0003057/0.1438, allocations: 176.4 kB / 0.9727 GB, free: 4.281 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.383e-05/0.1439, allocations: 51.41 kB / 0.9727 GB, free: 4.219 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001392/0.144, allocations: 259 kB / 0.973 GB, free: 3.957 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 2.044e-05/0.144, allocations: 29.7 kB / 0.973 GB, free: 3.922 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 8.623e-05/0.1441, allocations: 220.8 kB / 0.9732 GB, free: 3.703 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 4.567e-05/0.1441, allocations: 95.19 kB / 0.9733 GB, free: 3.609 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.971e-05/0.1442, allocations: 49.69 kB / 0.9734 GB, free: 3.555 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 8.941e-05/0.1443, allocations: 346.7 kB / 0.9737 GB, free: 3.207 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.294e-05/0.1443, allocations: 30.81 kB / 0.9737 GB, free: 3.176 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.817e-05/0.1444, allocations: 168.7 kB / 0.9739 GB, free: 2.969 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001305/0.1446, allocations: 155.2 kB / 0.974 GB, free: 2.793 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.723e-06/0.1446, allocations: 0 / 0.974 GB, free: 2.793 MB / 0.948 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0001787/0.1447, allocations: 168.1 kB / 0.9742 GB, free: 2.621 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.084e-05/0.1448, allocations: 8 kB / 0.9742 GB, free: 2.613 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.907e-06/0.1448, allocations: 0 / 0.9742 GB, free: 2.613 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.156e-05/0.1448, allocations: 4 kB / 0.9742 GB, free: 2.609 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001469/0.1449, allocations: 60.12 kB / 0.9743 GB, free: 2.551 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.158e-06/0.1449, allocations: 8 kB / 0.9743 GB, free: 2.543 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.686e-05/0.145, allocations: 27.83 kB / 0.9743 GB, free: 2.516 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.028e-05/0.145, allocations: 15.94 kB / 0.9743 GB, free: 2.5 MB / 0.948 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 8.208e-05/0.1451, allocations: 124.6 kB / 0.9744 GB, free: 2.367 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.387e-05/0.1451, allocations: 27.97 kB / 0.9745 GB, free: 2.34 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001944/0.1453, allocations: 172.6 kB / 0.9746 GB, free: 2.168 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.777e-06/0.1453, allocations: 7.984 kB / 0.9746 GB, free: 2.16 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.252e-06/0.1453, allocations: 0 / 0.9746 GB, free: 2.16 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.136e-06/0.1453, allocations: 0 / 0.9746 GB, free: 2.16 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000507/0.1459, allocations: 0.5839 MB / 0.9752 GB, free: 1.523 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.855e-06/0.1459, allocations: 7.938 kB / 0.9752 GB, free: 1.516 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001288/0.146, allocations: 51.92 kB / 0.9753 GB, free: 1.465 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 5.215e-05/0.146, allocations: 43.69 kB / 0.9753 GB, free: 1.422 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.597e-06/0.146, allocations: 7.938 kB / 0.9753 GB, free: 1.414 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.35e-05/0.1461, allocations: 4 kB / 0.9753 GB, free: 1.41 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.637e-06/0.1461, allocations: 8.203 kB / 0.9753 GB, free: 1.402 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.414e-06/0.1461, allocations: 7.938 kB / 0.9753 GB, free: 1.395 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002582/0.1463, allocations: 374.7 kB / 0.9757 GB, free: 0.9844 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.466e-05/0.1463, allocations: 7.938 kB / 0.9757 GB, free: 0.9766 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.194e-05/0.1464, allocations: 8 kB / 0.9757 GB, free: 0.9688 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.904e-05/0.1465, allocations: 23.91 kB / 0.9757 GB, free: 0.9453 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.779e-06/0.1465, allocations: 7.984 kB / 0.9757 GB, free: 0.9375 MB / 0.948 GB Notification: Performance of sorting global known variables: time 6.498e-05/0.1465, allocations: 96.62 kB / 0.9758 GB, free: 0.8398 MB / 0.948 GB Notification: Performance of sort global known variables: time 6e-08/0.1465, allocations: 0 / 0.9758 GB, free: 0.8398 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.000261/0.1468, allocations: 127.7 kB / 0.9759 GB, free: 0.7148 MB / 0.948 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.0001814/0.147, allocations: 128.3 kB / 0.9761 GB, free: 0.5781 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.0001664/0.1471, allocations: 116.6 kB / 0.9762 GB, free: 472 kB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 8.596e-06/0.1472, allocations: 7.984 kB / 0.9762 GB, free: 464 kB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 8.571e-05/0.1472, allocations: 81.67 kB / 0.9763 GB, free: 380 kB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005848/0.1478, allocations: 0.8507 MB / 0.9771 GB, free: 15.36 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00251/0.1503, allocations: 0.7164 MB / 0.9778 GB, free: 14.59 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.421e-05/0.1504, allocations: 116.6 kB / 0.9779 GB, free: 14.45 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 0.0001209/0.1505, allocations: 46.97 kB / 0.9779 GB, free: 14.41 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002083/0.1507, allocations: 141.3 kB / 0.9781 GB, free: 14.27 MB / 0.9636 GB Notification: Performance of SimCode: time 7.72e-07/0.1507, allocations: 0 / 0.9781 GB, free: 14.27 MB / 0.9636 GB Notification: Performance of Templates: time 0.00743/0.1582, allocations: 5.995 MB / 0.9839 GB, free: 8.422 MB / 0.9636 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.pipe >> ../files/Buildings_latest_Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.sim & ./Buildings_latest_Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_latest_Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate/Buildings_latest_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.280828182585537]