Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Fluid.Sensors.Examples.RelativeHumidity.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.0008145/0.0008145, allocations: 81.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001154/0.001969, 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.0008288/0.0008288, allocations: 161.1 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001001/0.00183, 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.8859/0.8859, allocations: 177.2 MB / 189.8 MB, free: 5.254 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.083/0.9689, allocations: 53.66 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.852/1.852, allocations: 378.3 MB / 0.6079 GB, free: 7.688 MB / 0.5886 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.5056/2.357, allocations: 123.3 MB / 0.7283 GB, free: 5.707 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.RelativeHumidity,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|relHum.port_a.m_flow|relHum.phi|senRelHum.phi",fileNamePrefix="Buildings_12_Buildings.Fluid.Sensors.Examples.RelativeHumidity") translateModel(Buildings.Fluid.Sensors.Examples.RelativeHumidity,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|relHum.port_a.m_flow|relHum.phi|senRelHum.phi",fileNamePrefix="Buildings_12_Buildings.Fluid.Sensors.Examples.RelativeHumidity") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.092e-06/1.092e-06, allocations: 0 / 0.7297 GB, free: 4.367 MB / 0.698 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.376e-05/1.485e-05, allocations: 7.016 kB / 0.7297 GB, free: 4.359 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.RelativeHumidity): time 0.1243/0.1244, allocations: 146.2 MB / 0.8724 GB, free: 1.879 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.002188/0.1265, allocations: 1.563 MB / 0.8739 GB, free: 320 kB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001842/0.1267, allocations: 15.88 kB / 0.874 GB, free: 304 kB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 0.0002289/0.127, allocations: 75.3 kB / 0.874 GB, free: 228 kB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 0.0008781/0.1278, allocations: 338.1 kB / 0.8744 GB, free: 15.89 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008707/0.1287, allocations: 482.3 kB / 0.8748 GB, free: 15.42 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 0.0006122/0.1293, allocations: 0.694 MB / 0.8755 GB, free: 14.72 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002879/0.1296, allocations: 209.8 kB / 0.8757 GB, free: 14.52 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004826/0.1301, allocations: 391 kB / 0.8761 GB, free: 14.13 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002035/0.1303, allocations: 195.4 kB / 0.8763 GB, free: 13.94 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 3.589e-05/0.1303, allocations: 28 kB / 0.8763 GB, free: 13.91 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005302/0.1309, allocations: 403.1 kB / 0.8767 GB, free: 13.52 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 9.537e-05/0.131, allocations: 111.7 kB / 0.8768 GB, free: 13.41 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 7.686e-05/0.131, allocations: 87.81 kB / 0.8769 GB, free: 13.32 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 0.0005086/0.1315, allocations: 450.6 kB / 0.8773 GB, free: 12.88 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 1.357e-05/0.1316, allocations: 0 / 0.8773 GB, free: 12.88 MB / 0.8542 GB Notification: Performance of FrontEnd: time 1.834e-06/0.1316, allocations: 0 / 0.8773 GB, free: 12.88 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 1.09e-05/0.1316, allocations: 0 / 0.8773 GB, free: 12.88 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: 56 * Number of variables: 56 Notification: Performance of Generate backend data structure: time 0.000716/0.1323, allocations: 0.6317 MB / 0.8779 GB, free: 12.23 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 3.587e-05/0.1323, allocations: 12.03 kB / 0.8779 GB, free: 12.21 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005016/0.1328, allocations: 201.5 kB / 0.8781 GB, free: 12 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002783/0.1331, allocations: 236.8 kB / 0.8783 GB, free: 11.75 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.692e-05/0.1331, allocations: 16.88 kB / 0.8783 GB, free: 11.73 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.637e-05/0.1332, allocations: 24.33 kB / 0.8784 GB, free: 11.71 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002979/0.1335, allocations: 268.7 kB / 0.8786 GB, free: 11.42 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.707e-06/0.1335, allocations: 0 / 0.8786 GB, free: 11.42 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.616e-05/0.1335, allocations: 4 kB / 0.8786 GB, free: 11.42 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.813e-06/0.1335, allocations: 8 kB / 0.8786 GB, free: 11.41 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001061/0.1336, allocations: 70.3 kB / 0.8787 GB, free: 11.34 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.0008176/0.1344, allocations: 0.7601 MB / 0.8794 GB, free: 10.54 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002902/0.1347, allocations: 160.1 kB / 0.8796 GB, free: 10.37 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.548e-05/0.1347, allocations: 43.67 kB / 0.8796 GB, free: 10.32 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001943/0.1349, allocations: 63.92 kB / 0.8797 GB, free: 10.26 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.179e-05/0.135, allocations: 42.5 kB / 0.8797 GB, free: 10.21 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=19): time 1.383e-06/0.135, allocations: 0 / 0.8797 GB, free: 10.21 MB / 0.8542 GB Notification: Performance of matching and sorting (n=19): time 0.000283/0.1352, allocations: 143.7 kB / 0.8799 GB, free: 10.07 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.343e-05/0.1353, allocations: 59.41 kB / 0.8799 GB, free: 9.996 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001193/0.1354, allocations: 212.9 kB / 0.8801 GB, free: 9.777 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 1.977e-05/0.1354, allocations: 29.7 kB / 0.8802 GB, free: 9.742 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 6.285e-05/0.1355, allocations: 148.8 kB / 0.8803 GB, free: 9.594 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 3.884e-05/0.1355, allocations: 79.28 kB / 0.8804 GB, free: 9.516 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.396e-05/0.1356, allocations: 49.67 kB / 0.8804 GB, free: 9.461 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 8.142e-05/0.1356, allocations: 330.8 kB / 0.8807 GB, free: 9.129 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.625e-05/0.1357, allocations: 22.81 kB / 0.8808 GB, free: 9.105 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.858e-05/0.1358, allocations: 164.3 kB / 0.8809 GB, free: 8.906 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003739/0.1361, allocations: 120.2 kB / 0.881 GB, free: 8.77 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.454e-06/0.1361, allocations: 0 / 0.881 GB, free: 8.77 MB / 0.8542 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0001529/0.1363, allocations: 126.6 kB / 0.8812 GB, free: 8.641 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.18e-05/0.1363, allocations: 11.94 kB / 0.8812 GB, free: 8.629 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.41e-06/0.1363, allocations: 3.984 kB / 0.8812 GB, free: 8.625 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.116e-05/0.1363, allocations: 8.156 kB / 0.8812 GB, free: 8.617 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001297/0.1365, allocations: 51.91 kB / 0.8812 GB, free: 8.566 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.588e-06/0.1365, allocations: 4 kB / 0.8812 GB, free: 8.562 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.755e-05/0.1365, allocations: 27.88 kB / 0.8813 GB, free: 8.535 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.935e-05/0.1366, allocations: 8 kB / 0.8813 GB, free: 8.527 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 (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 prepare postOptimizeDAE: time 7.784e-05/0.1366, allocations: 120.6 kB / 0.8814 GB, free: 8.398 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.146e-05/0.1367, allocations: 19.98 kB / 0.8814 GB, free: 8.379 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001717/0.1368, allocations: 135.6 kB / 0.8815 GB, free: 8.238 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.693e-06/0.1369, allocations: 4 kB / 0.8815 GB, free: 8.234 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.663e-06/0.1369, allocations: 4 kB / 0.8815 GB, free: 8.23 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.256e-06/0.1369, allocations: 0 / 0.8815 GB, free: 8.23 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005093/0.1374, allocations: 497.9 kB / 0.882 GB, free: 7.691 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.435e-06/0.1374, allocations: 0 / 0.882 GB, free: 7.691 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001174/0.1375, allocations: 47.92 kB / 0.8821 GB, free: 7.645 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 4.701e-05/0.1375, allocations: 43.97 kB / 0.8821 GB, free: 7.602 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.725e-06/0.1375, allocations: 0 / 0.8821 GB, free: 7.602 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.247e-05/0.1375, allocations: 7.984 kB / 0.8821 GB, free: 7.594 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.276e-06/0.1376, allocations: 4 kB / 0.8821 GB, free: 7.59 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.477e-06/0.1376, allocations: 3.938 kB / 0.8821 GB, free: 7.586 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002404/0.1378, allocations: 337.2 kB / 0.8824 GB, free: 7.215 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.061e-05/0.1378, allocations: 4 kB / 0.8824 GB, free: 7.211 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.017e-05/0.1379, allocations: 11.98 kB / 0.8825 GB, free: 7.199 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.308e-05/0.1379, allocations: 23.91 kB / 0.8825 GB, free: 7.176 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.413e-05/0.138, allocations: 15.97 kB / 0.8825 GB, free: 7.16 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 5.067e-05/0.138, allocations: 70.78 kB / 0.8826 GB, free: 7.086 MB / 0.8542 GB Notification: Performance of sort global known variables: time 7e-08/0.138, allocations: 3.938 kB / 0.8826 GB, free: 7.082 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0002741/0.1383, allocations: 123.6 kB / 0.8827 GB, free: 6.961 MB / 0.8542 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 1 (relHum.phi) * 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 (19): * Single equations (assignments): 19 * 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.0002492/0.1385, allocations: 156.1 kB / 0.8828 GB, free: 6.801 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0001534/0.1387, allocations: 111.8 kB / 0.8829 GB, free: 6.691 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 8.897e-06/0.1387, allocations: 4 kB / 0.8829 GB, free: 6.688 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 8.138e-05/0.1388, allocations: 64.7 kB / 0.883 GB, free: 6.621 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004957/0.1393, allocations: 0.5764 MB / 0.8836 GB, free: 5.945 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001974/0.1412, allocations: 0.535 MB / 0.8841 GB, free: 5.359 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.76e-05/0.1413, allocations: 92.53 kB / 0.8842 GB, free: 5.25 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.0001118/0.1414, allocations: 41.91 kB / 0.8842 GB, free: 5.207 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001974/0.1416, allocations: 135.2 kB / 0.8843 GB, free: 5.074 MB / 0.8542 GB Notification: Performance of SimCode: time 6.41e-07/0.1416, allocations: 0 / 0.8843 GB, free: 5.074 MB / 0.8542 GB Notification: Performance of Templates: time 0.007761/0.1494, allocations: 6.014 MB / 0.8902 GB, free: 15.19 MB / 0.8699 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Fluid.Sensors.Examples.RelativeHumidity.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.Sensors.Examples.RelativeHumidity.pipe ; mkfifo Buildings_12_Buildings.Fluid.Sensors.Examples.RelativeHumidity.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.Sensors.Examples.RelativeHumidity.pipe >> ../files/Buildings_12_Buildings.Fluid.Sensors.Examples.RelativeHumidity.sim & ./Buildings_12_Buildings.Fluid.Sensors.Examples.RelativeHumidity -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Buildings_12_Buildings.Fluid.Sensors.Examples.RelativeHumidity.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Fluid.Sensors.Examples.RelativeHumidity_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_12_Buildings.Fluid.Sensors.Examples.RelativeHumidity/Buildings_12_Buildings.Fluid.Sensors.Examples.RelativeHumidity.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.1292346976697445]