Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.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.002006/0.002006, allocations: 79.36 kB / 19.18 MB, free: 2.52 MB / 14.72 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.002376/0.002376, allocations: 166.1 kB / 22.46 MB, free: 5.375 MB / 14.72 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 1.491/1.491, allocations: 177.1 MB / 202.8 MB, free: 9.164 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.908/2.908, allocations: 389 MB / 0.633 GB, free: 0.9883 MB / 0.5919 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 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.Examples.TWetBul_TDryBulXi,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|wetBul.TWetBul|wetBulApp.TWetBul",fileNamePrefix="Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi") translateModel(Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|wetBul.TWetBul|wetBulApp.TWetBul",fileNamePrefix="Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.795e-06/2.795e-06, allocations: 0 / 1 GB, free: 6.242 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 4.314e-05/4.594e-05, allocations: 2.281 kB / 1 GB, free: 6.238 MB / 0.9044 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi): time 0.006076/0.006122, allocations: 1.663 MB / 1.002 GB, free: 4.562 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.7477/0.7538, allocations: 131.5 MB / 1.13 GB, free: 12.31 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001477/0.7539, allocations: 6.375 kB / 1.13 GB, free: 12.31 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.0002035/0.7541, allocations: 26.33 kB / 1.13 GB, free: 12.3 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.0003552/0.7545, allocations: 51.97 kB / 1.13 GB, free: 12.29 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006637/0.7551, allocations: 197.9 kB / 1.13 GB, free: 12.26 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0002844/0.7554, allocations: 167.7 kB / 1.131 GB, free: 12.26 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001515/0.7556, allocations: 24.11 kB / 1.131 GB, free: 12.25 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001559/0.7571, allocations: 221.2 kB / 1.131 GB, free: 12.25 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001346/0.7573, allocations: 49.45 kB / 1.131 GB, free: 12.25 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 3.993e-05/0.7573, allocations: 9.656 kB / 1.131 GB, free: 12.25 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003759/0.7577, allocations: 168.4 kB / 1.131 GB, free: 12.23 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 6.907e-05/0.7578, allocations: 24.8 kB / 1.131 GB, free: 12.23 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 7.572e-05/0.7578, allocations: 40 kB / 1.131 GB, free: 12.23 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0004612/0.7583, allocations: 230.7 kB / 1.131 GB, free: 12.21 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.128e-06/0.7583, allocations: 1.938 kB / 1.131 GB, free: 12.21 MB / 0.9981 GB Notification: Performance of FrontEnd: time 2.064e-06/0.7583, allocations: 0 / 1.131 GB, free: 12.21 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 6.201e-06/0.7583, allocations: 0 / 1.131 GB, free: 12.21 MB / 0.9981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 19 * Number of variables: 19 Notification: Performance of Generate backend data structure: time 0.000859/0.7592, allocations: 399.3 kB / 1.132 GB, free: 11.9 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.378e-05/0.7592, allocations: 9.469 kB / 1.132 GB, free: 11.9 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008763/0.7601, allocations: 80.62 kB / 1.132 GB, free: 11.89 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001861/0.7603, allocations: 145 kB / 1.132 GB, free: 11.75 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.495e-05/0.7603, allocations: 2.531 kB / 1.132 GB, free: 11.75 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.559e-05/0.7603, allocations: 9.859 kB / 1.132 GB, free: 11.75 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004696/0.7608, allocations: 184.5 kB / 1.132 GB, free: 11.68 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.314e-05/0.7608, allocations: 1.25 kB / 1.132 GB, free: 11.68 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.184e-05/0.7608, allocations: 8.562 kB / 1.132 GB, free: 11.68 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.228e-05/0.7608, allocations: 2.469 kB / 1.132 GB, free: 11.68 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005215/0.7614, allocations: 146.3 kB / 1.132 GB, free: 11.67 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009577/0.7623, allocations: 0.6938 MB / 1.133 GB, free: 11.12 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000443/0.7628, allocations: 125.4 kB / 1.133 GB, free: 11.09 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002694/0.763, allocations: 79.55 kB / 1.133 GB, free: 11.08 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.778e-05/0.7631, allocations: 1.344 kB / 1.133 GB, free: 11.08 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.227e-05/0.7631, allocations: 39.83 kB / 1.133 GB, free: 11.04 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=8): time 1.102e-06/0.7631, allocations: 1.094 kB / 1.133 GB, free: 11.04 MB / 0.9981 GB Notification: Performance of matching and sorting (n=8): time 0.001968/0.765, allocations: 385.2 kB / 1.134 GB, free: 10.98 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.352e-05/0.7651, allocations: 52.88 kB / 1.134 GB, free: 10.91 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000109/0.7652, allocations: 145.3 kB / 1.134 GB, free: 10.81 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 1.874e-05/0.7652, allocations: 25.7 kB / 1.134 GB, free: 10.78 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 4.515e-05/0.7652, allocations: 114.5 kB / 1.134 GB, free: 10.68 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 2.604e-05/0.7653, allocations: 29.08 kB / 1.134 GB, free: 10.66 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.211e-05/0.7653, allocations: 30.61 kB / 1.134 GB, free: 10.65 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 4.837e-05/0.7654, allocations: 324.2 kB / 1.134 GB, free: 10.33 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002689/0.7657, allocations: 69.69 kB / 1.134 GB, free: 10.33 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002694/0.7659, allocations: 106.9 kB / 1.134 GB, free: 10.29 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005187/0.7664, allocations: 183 kB / 1.135 GB, free: 10.24 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.767e-06/0.7664, allocations: 1.734 kB / 1.135 GB, free: 10.24 MB / 0.9981 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.001088/0.7675, allocations: 279.2 kB / 1.135 GB, free: 10.18 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.917e-05/0.7676, allocations: 8.188 kB / 1.135 GB, free: 10.18 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.862e-06/0.7676, allocations: 1.188 kB / 1.135 GB, free: 10.18 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006415/0.7682, allocations: 85.11 kB / 1.135 GB, free: 10.17 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002367/0.7684, allocations: 39.42 kB / 1.135 GB, free: 10.16 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001872/0.7703, allocations: 1.533 MB / 1.136 GB, free: 8.926 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002355/0.7705, allocations: 27.95 kB / 1.137 GB, free: 8.918 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.545e-05/0.7706, allocations: 6.531 kB / 1.137 GB, free: 8.918 MB / 0.9981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * 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 (10): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.000101/0.7707, allocations: 123.2 kB / 1.137 GB, free: 8.801 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.679e-05/0.7707, allocations: 12.86 kB / 1.137 GB, free: 8.793 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001127/0.7718, allocations: 305 kB / 1.137 GB, free: 8.738 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.687e-06/0.7718, allocations: 3.766 kB / 1.137 GB, free: 8.738 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.442e-06/0.7719, allocations: 0 / 1.137 GB, free: 8.738 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.428e-06/0.7719, allocations: 4.734 kB / 1.137 GB, free: 8.734 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002193/0.7721, allocations: 177.7 kB / 1.137 GB, free: 8.602 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.743e-06/0.7721, allocations: 5.062 kB / 1.137 GB, free: 8.598 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002125/0.7723, allocations: 29.62 kB / 1.137 GB, free: 8.598 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004441/0.7727, allocations: 72.47 kB / 1.137 GB, free: 8.59 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.135e-05/0.7728, allocations: 9.891 kB / 1.137 GB, free: 8.586 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001623/0.7744, allocations: 1.55 MB / 1.139 GB, free: 7.352 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.683e-06/0.7744, allocations: 0 / 1.139 GB, free: 7.352 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00106/0.7754, allocations: 382.7 kB / 1.139 GB, free: 7.191 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 7.612e-05/0.7755, allocations: 26.42 kB / 1.139 GB, free: 7.184 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.896e-05/0.7755, allocations: 5.141 kB / 1.139 GB, free: 7.184 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002178/0.7758, allocations: 13.77 kB / 1.139 GB, free: 7.184 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.221e-05/0.7759, allocations: 15.38 kB / 1.139 GB, free: 7.184 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.852e-05/0.7759, allocations: 3.438 kB / 1.139 GB, free: 7.184 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 8.339e-05/0.776, allocations: 118.5 kB / 1.139 GB, free: 7.102 MB / 0.9981 GB Notification: Performance of sort global known variables: time 6e-08/0.776, allocations: 1.203 kB / 1.139 GB, free: 7.102 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0004102/0.7764, allocations: 44.08 kB / 1.139 GB, free: 7.098 MB / 0.9981 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 (10): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002158/0.7766, allocations: 115.8 kB / 1.139 GB, free: 7 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0009339/0.7775, allocations: 305.8 kB / 1.14 GB, free: 6.875 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/0.7775, allocations: 0 / 1.14 GB, free: 6.875 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0005278/0.778, allocations: 227.1 kB / 1.14 GB, free: 6.758 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003237/0.7784, allocations: 19.77 kB / 1.14 GB, free: 6.754 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008676/0.7792, allocations: 320.6 kB / 1.14 GB, free: 6.582 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.35e-05/0.7793, allocations: 94.39 kB / 1.14 GB, free: 6.512 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.000122/0.7795, allocations: 29.61 kB / 1.14 GB, free: 6.496 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.822e-05/0.7795, allocations: 23.34 kB / 1.14 GB, free: 6.488 MB / 0.9981 GB Notification: Performance of SimCode: time 3e-07/0.7795, allocations: 0 / 1.14 GB, free: 6.488 MB / 0.9981 GB Notification: Performance of Templates: time 0.008615/0.7881, allocations: 3.169 MB / 1.143 GB, free: 6.195 MB / 0.9981 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.pipe >> ../files/Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.sim & ./Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Psychrometrics_Examples_TWetBul_TDryBulXi.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 8.908359434455633]