Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi.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.0007683/0.0007683, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001165/0.001934, 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.001505/0.001505, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001755/0.003259, 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.9641/0.9641, allocations: 177.2 MB / 189.7 MB, free: 5.234 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09467/1.059, 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 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.429/2.429, allocations: 447.1 MB / 0.675 GB, free: 5.922 MB / 0.6511 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.257/2.685, allocations: 146 MB / 0.8176 GB, free: 3.832 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.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|phi|X_w",fileNamePrefix="Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi") translateModel(Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|phi|X_w",fileNamePrefix="Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 3.858e-06/3.858e-06, allocations: 3.984 kB / 0.8189 GB, free: 2.508 MB / 0.7917 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.399e-05/2.784e-05, allocations: 5.266 kB / 0.8189 GB, free: 2.504 MB / 0.7917 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi): time 0.001791/0.001819, allocations: 1.387 MB / 0.8203 GB, free: 1.098 MB / 0.7917 GB Notification: Performance of NFInst.instExpressions: time 0.1368/0.1386, allocations: 143.3 MB / 0.9602 GB, free: 1.273 MB / 0.9323 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.166e-05/0.1386, allocations: 4 kB / 0.9602 GB, free: 1.27 MB / 0.9323 GB Notification: Performance of NFTyping.typeComponents: time 1.234e-05/0.1386, allocations: 0 / 0.9602 GB, free: 1.27 MB / 0.9323 GB Notification: Performance of NFTyping.typeBindings: time 3.786e-05/0.1387, allocations: 3.938 kB / 0.9602 GB, free: 1.266 MB / 0.9323 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003003/0.139, allocations: 119.3 kB / 0.9603 GB, free: 1.148 MB / 0.9323 GB Notification: Performance of NFFlatten.flatten: time 6.182e-05/0.139, allocations: 27.81 kB / 0.9603 GB, free: 1.121 MB / 0.9323 GB Notification: Performance of NFFlatten.resolveConnections: time 3.756e-05/0.1391, allocations: 3.984 kB / 0.9603 GB, free: 1.117 MB / 0.9323 GB Notification: Performance of NFEvalConstants.evaluate: time 6.231e-05/0.1391, allocations: 8 kB / 0.9604 GB, free: 1.109 MB / 0.9323 GB Notification: Performance of NFSimplifyModel.simplify: time 3.415e-05/0.1392, allocations: 7.984 kB / 0.9604 GB, free: 1.102 MB / 0.9323 GB Notification: Performance of NFPackage.collectConstants: time 1.205e-05/0.1392, allocations: 4 kB / 0.9604 GB, free: 1.098 MB / 0.9323 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00032/0.1395, allocations: 175.6 kB / 0.9605 GB, free: 0.9258 MB / 0.9323 GB Notification: Performance of NFScalarize.scalarize: time 1.352e-05/0.1395, allocations: 0 / 0.9605 GB, free: 0.9258 MB / 0.9323 GB Notification: Performance of NFVerifyModel.verify: time 1.399e-05/0.1395, allocations: 4 kB / 0.9605 GB, free: 0.9219 MB / 0.9323 GB Notification: Performance of NFConvertDAE.convert: time 0.0001779/0.1397, allocations: 119.5 kB / 0.9607 GB, free: 0.8047 MB / 0.9323 GB Notification: Performance of FrontEnd - DAE generated: time 1.581e-05/0.1397, allocations: 3.984 kB / 0.9607 GB, free: 0.8008 MB / 0.9323 GB Notification: Performance of FrontEnd: time 1.683e-06/0.1397, allocations: 0 / 0.9607 GB, free: 0.8008 MB / 0.9323 GB Notification: Performance of Transformations before backend: time 1.214e-05/0.1397, allocations: 0 / 0.9607 GB, free: 0.8008 MB / 0.9323 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0002945/0.14, allocations: 264.4 kB / 0.9609 GB, free: 0.5195 MB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 3.078e-05/0.1401, allocations: 8.031 kB / 0.9609 GB, free: 0.5117 MB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003855/0.1404, allocations: 133.9 kB / 0.961 GB, free: 372 kB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.83e-05/0.1405, allocations: 105.8 kB / 0.9611 GB, free: 240 kB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.896e-06/0.1405, allocations: 384 / 0.9611 GB, free: 240 kB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.026e-05/0.1405, allocations: 384 / 0.9611 GB, free: 240 kB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001064/0.1406, allocations: 62.25 kB / 0.9612 GB, free: 168 kB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.043e-06/0.1406, allocations: 3.984 kB / 0.9612 GB, free: 164 kB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.526e-06/0.1407, allocations: 4 kB / 0.9612 GB, free: 160 kB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.657e-06/0.1407, allocations: 4 kB / 0.9612 GB, free: 156 kB / 0.9323 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.022e-05/0.1407, allocations: 4 kB / 0.9612 GB, free: 152 kB / 0.9323 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002087/0.1409, allocations: 144.3 kB / 0.9614 GB, free: 15.99 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 4.104e-05/0.1409, allocations: 18.58 kB / 0.9614 GB, free: 15.96 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.545e-05/0.1409, allocations: 16.91 kB / 0.9614 GB, free: 15.95 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 8.336e-06/0.141, allocations: 7.922 kB / 0.9614 GB, free: 15.94 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.117e-05/0.141, allocations: 34.56 kB / 0.9614 GB, free: 15.89 MB / 0.948 GB Notification: Performance of pre-optimization done (n=2): time 2.835e-06/0.141, allocations: 3.984 kB / 0.9614 GB, free: 15.89 MB / 0.948 GB Notification: Performance of matching and sorting (n=2): time 9.081e-05/0.1411, allocations: 33.7 kB / 0.9615 GB, free: 15.85 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.671e-05/0.1411, allocations: 55.41 kB / 0.9615 GB, free: 15.79 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.63e-05/0.1412, allocations: 114.6 kB / 0.9616 GB, free: 15.66 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 7.494e-06/0.1412, allocations: 25.7 kB / 0.9617 GB, free: 15.63 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 3.772e-05/0.1412, allocations: 88.03 kB / 0.9617 GB, free: 15.54 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 7.184e-06/0.1412, allocations: 3.953 kB / 0.9617 GB, free: 15.54 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.392e-05/0.1412, allocations: 25.69 kB / 0.9618 GB, free: 15.5 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 6.764e-05/0.1413, allocations: 318.8 kB / 0.9621 GB, free: 15.18 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.404e-05/0.1413, allocations: 0 / 0.9621 GB, free: 15.18 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.269e-05/0.1413, allocations: 12.06 kB / 0.9621 GB, free: 15.17 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.544e-05/0.1414, allocations: 20.84 kB / 0.9621 GB, free: 15.15 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.753e-06/0.1414, allocations: 0 / 0.9621 GB, free: 15.15 MB / 0.948 GB Notification: Performance of matching and sorting (n=3) (initialization): time 5.562e-05/0.1414, allocations: 45.61 kB / 0.9621 GB, free: 15.1 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.302e-05/0.1414, allocations: 5.406 kB / 0.9621 GB, free: 15.09 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.19e-06/0.1415, allocations: 4 kB / 0.9622 GB, free: 15.09 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.037e-05/0.1415, allocations: 0 / 0.9622 GB, free: 15.09 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.412e-05/0.1415, allocations: 7.984 kB / 0.9622 GB, free: 15.08 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.735e-06/0.1415, allocations: 0 / 0.9622 GB, free: 15.08 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.233e-05/0.1416, allocations: 8 kB / 0.9622 GB, free: 15.07 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.206e-05/0.1416, allocations: 11.92 kB / 0.9622 GB, free: 15.06 MB / 0.948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (3): * Single equations (assignments): 3 * 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 4.587e-05/0.1416, allocations: 105.8 kB / 0.9623 GB, free: 14.95 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.401e-05/0.1417, allocations: 3.938 kB / 0.9623 GB, free: 14.95 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.097e-05/0.1417, allocations: 11.31 kB / 0.9623 GB, free: 14.93 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.664e-06/0.1417, allocations: 0 / 0.9623 GB, free: 14.93 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.303e-06/0.1417, allocations: 0 / 0.9623 GB, free: 14.93 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.475e-06/0.1417, allocations: 0 / 0.9623 GB, free: 14.93 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.09e-05/0.1418, allocations: 69.88 kB / 0.9624 GB, free: 14.85 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.02e-07/0.1418, allocations: 0 / 0.9624 GB, free: 14.85 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.404e-05/0.1418, allocations: 8 kB / 0.9624 GB, free: 14.84 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 1.48e-05/0.1418, allocations: 3.938 kB / 0.9624 GB, free: 14.84 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.373e-06/0.1418, allocations: 0 / 0.9624 GB, free: 14.84 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.008e-06/0.1418, allocations: 4 kB / 0.9624 GB, free: 14.83 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.61e-07/0.1418, allocations: 0 / 0.9624 GB, free: 14.83 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.393e-06/0.1418, allocations: 3.984 kB / 0.9624 GB, free: 14.83 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.165e-05/0.1419, allocations: 131.5 kB / 0.9625 GB, free: 14.68 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.08e-05/0.1419, allocations: 7.938 kB / 0.9625 GB, free: 14.68 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.106e-05/0.1419, allocations: 4 kB / 0.9625 GB, free: 14.67 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.246e-06/0.1419, allocations: 4.031 kB / 0.9625 GB, free: 14.67 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.142e-06/0.1419, allocations: 3.938 kB / 0.9625 GB, free: 14.66 MB / 0.948 GB Notification: Performance of sorting global known variables: time 2.016e-05/0.142, allocations: 12.84 kB / 0.9625 GB, free: 14.65 MB / 0.948 GB Notification: Performance of sort global known variables: time 5e-08/0.142, allocations: 0 / 0.9625 GB, free: 14.65 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.0001342/0.1421, allocations: 19.94 kB / 0.9626 GB, free: 14.63 MB / 0.948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (2): * Single equations (assignments): 2 * 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.0001305/0.1422, allocations: 88.34 kB / 0.9626 GB, free: 14.54 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 5.846e-05/0.1423, allocations: 17.31 kB / 0.9627 GB, free: 14.52 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 6.322e-06/0.1423, allocations: 8 kB / 0.9627 GB, free: 14.51 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 1.124e-05/0.1423, allocations: 12.86 kB / 0.9627 GB, free: 14.49 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000177/0.1425, allocations: 49.69 kB / 0.9627 GB, free: 14.44 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008588/0.1433, allocations: 132.5 kB / 0.9629 GB, free: 14.28 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.9e-05/0.1434, allocations: 51.36 kB / 0.9629 GB, free: 14.21 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 4.301e-05/0.1434, allocations: 12.22 kB / 0.9629 GB, free: 14.2 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.114e-05/0.1435, allocations: 55.36 kB / 0.963 GB, free: 14.14 MB / 0.948 GB Notification: Performance of SimCode: time 1.042e-06/0.1435, allocations: 0 / 0.963 GB, free: 14.14 MB / 0.948 GB Notification: Performance of Templates: time 0.00264/0.1461, allocations: 0.9203 MB / 0.9639 GB, free: 13.23 MB / 0.948 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi.pipe >> ../files/Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi.sim & ./Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi/Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi.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.381135038100183]