Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.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.00222/0.00222, allocations: 81.06 kB / 19.18 MB, free: 2.527 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.002676/0.002676, allocations: 170.7 kB / 22.46 MB, free: 5.359 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.659/1.659, allocations: 177.1 MB / 202.8 MB, free: 9.203 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.897/2.897, allocations: 389 MB / 0.633 GB, free: 0.9805 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_TDryBulPhi,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|wetBulPhi.TWetBul|wetBulPhiApp.TWetBul",fileNamePrefix="Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi") translateModel(Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|wetBulPhi.TWetBul|wetBulPhiApp.TWetBul",fileNamePrefix="Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.443e-06/1.443e-06, allocations: 0 / 1 GB, free: 7.309 MB / 0.9512 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.405e-05/3.55e-05, allocations: 2.281 kB / 1 GB, free: 7.305 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi): time 0.003694/0.003729, allocations: 1.873 MB / 1.002 GB, free: 5.426 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.7397/0.7434, allocations: 136.7 MB / 1.135 GB, free: 45.31 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001613/0.7436, allocations: 6.062 kB / 1.135 GB, free: 45.31 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.0001976/0.7438, allocations: 28.36 kB / 1.135 GB, free: 45.31 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.0003187/0.7441, allocations: 79.39 kB / 1.136 GB, free: 45.31 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007058/0.7448, allocations: 264.5 kB / 1.136 GB, free: 45.31 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.0002661/0.7451, allocations: 276.3 kB / 1.136 GB, free: 45.31 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001637/0.7452, allocations: 51.34 kB / 1.136 GB, free: 45.3 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001406/0.7466, allocations: 302 kB / 1.136 GB, free: 45.3 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001222/0.7468, allocations: 71.48 kB / 1.136 GB, free: 45.3 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 3.827e-05/0.7468, allocations: 20.34 kB / 1.136 GB, free: 45.3 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003036/0.7471, allocations: 176.8 kB / 1.137 GB, free: 45.3 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 6.658e-05/0.7472, allocations: 49.39 kB / 1.137 GB, free: 45.3 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 7.709e-05/0.7473, allocations: 59.62 kB / 1.137 GB, free: 45.3 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.0004132/0.7477, allocations: 322.5 kB / 1.137 GB, free: 45.28 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 3.657e-06/0.7477, allocations: 1.094 kB / 1.137 GB, free: 45.28 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.052e-06/0.7477, allocations: 0 / 1.137 GB, free: 45.28 MB / 1.076 GB Notification: Performance of Transformations before backend: time 1.072e-05/0.7477, allocations: 0 / 1.137 GB, free: 45.28 MB / 1.076 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 39 * Number of variables: 39 Notification: Performance of Generate backend data structure: time 0.0008338/0.7485, allocations: 475.4 kB / 1.138 GB, free: 44.94 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 3.396e-05/0.7486, allocations: 8.594 kB / 1.138 GB, free: 44.94 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001156/0.7497, allocations: 115.2 kB / 1.138 GB, free: 44.93 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002389/0.7499, allocations: 166.6 kB / 1.138 GB, free: 44.79 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.859e-05/0.75, allocations: 67.45 kB / 1.138 GB, free: 44.73 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.013e-05/0.7501, allocations: 19.97 kB / 1.138 GB, free: 44.73 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004962/0.7506, allocations: 315.4 kB / 1.138 GB, free: 44.57 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.178e-05/0.7506, allocations: 0 / 1.138 GB, free: 44.57 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.756e-05/0.7506, allocations: 10.31 kB / 1.138 GB, free: 44.57 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.632e-06/0.7506, allocations: 6.812 kB / 1.138 GB, free: 44.56 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004294/0.751, allocations: 173.2 kB / 1.138 GB, free: 44.56 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00131/0.7523, allocations: 1.066 MB / 1.139 GB, free: 43.76 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007328/0.7531, allocations: 198.5 kB / 1.14 GB, free: 43.73 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001564/0.7532, allocations: 69.81 kB / 1.14 GB, free: 43.73 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 2.133e-05/0.7532, allocations: 0.9375 kB / 1.14 GB, free: 43.73 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.04e-05/0.7533, allocations: 40.19 kB / 1.14 GB, free: 43.69 MB / 1.076 GB Notification: Performance of pre-optimization done (n=12): time 1.262e-06/0.7533, allocations: 0.9375 kB / 1.14 GB, free: 43.69 MB / 1.076 GB Notification: Performance of matching and sorting (n=12): time 0.002587/0.7559, allocations: 482.3 kB / 1.14 GB, free: 43.63 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.195e-05/0.7559, allocations: 58.73 kB / 1.14 GB, free: 43.57 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000171/0.7561, allocations: 188.4 kB / 1.14 GB, free: 43.46 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 2.141e-05/0.7561, allocations: 29.88 kB / 1.14 GB, free: 43.43 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 5.196e-05/0.7561, allocations: 137.9 kB / 1.141 GB, free: 43.31 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 2.861e-05/0.7562, allocations: 50.66 kB / 1.141 GB, free: 43.28 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.343e-05/0.7562, allocations: 49.27 kB / 1.141 GB, free: 43.26 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 4.544e-05/0.7563, allocations: 325.5 kB / 1.141 GB, free: 42.95 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002104/0.7565, allocations: 72.7 kB / 1.141 GB, free: 42.95 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002254/0.7567, allocations: 159.3 kB / 1.141 GB, free: 42.85 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003845/0.7571, allocations: 199.6 kB / 1.141 GB, free: 42.79 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.555e-06/0.7571, allocations: 0.9375 kB / 1.141 GB, free: 42.79 MB / 1.076 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.001438/0.7585, allocations: 374.2 kB / 1.142 GB, free: 42.73 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 1.506e-05/0.7586, allocations: 6.344 kB / 1.142 GB, free: 42.73 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.29e-06/0.7586, allocations: 3.625 kB / 1.142 GB, free: 42.73 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001071/0.7596, allocations: 166.8 kB / 1.142 GB, free: 42.71 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002049/0.7598, allocations: 39.62 kB / 1.142 GB, free: 42.71 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003109/0.7629, allocations: 2.982 MB / 1.145 GB, free: 40.27 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003252/0.7633, allocations: 34.08 kB / 1.145 GB, free: 40.25 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.298e-05/0.7633, allocations: 9.828 kB / 1.145 GB, free: 40.25 MB / 1.076 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 (17): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * 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): 2 systems {(1,2), (1,2)} Notification: Performance of prepare postOptimizeDAE: time 9.621e-05/0.7634, allocations: 136.7 kB / 1.145 GB, free: 40.14 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.203e-05/0.7634, allocations: 15.77 kB / 1.145 GB, free: 40.13 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001249/0.7647, allocations: 369.8 kB / 1.145 GB, free: 40.07 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.005e-06/0.7647, allocations: 2.875 kB / 1.145 GB, free: 40.07 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.323e-06/0.7647, allocations: 0.8438 kB / 1.145 GB, free: 40.07 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.326e-06/0.7647, allocations: 0 / 1.145 GB, free: 40.07 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002038/0.7649, allocations: 198.3 kB / 1.146 GB, free: 39.94 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.333e-06/0.7649, allocations: 0 / 1.146 GB, free: 39.94 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001304/0.765, allocations: 25.19 kB / 1.146 GB, free: 39.94 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008263/0.7659, allocations: 147.3 kB / 1.146 GB, free: 39.93 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.871e-05/0.7659, allocations: 11.47 kB / 1.146 GB, free: 39.92 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002839/0.7687, allocations: 3.029 MB / 1.149 GB, free: 37.47 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.332e-06/0.7687, allocations: 2.969 kB / 1.149 GB, free: 37.47 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001207/0.7699, allocations: 428 kB / 1.149 GB, free: 37.31 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 7.6e-05/0.77, allocations: 29.66 kB / 1.149 GB, free: 37.3 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.227e-05/0.77, allocations: 4.438 kB / 1.149 GB, free: 37.3 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002784/0.7703, allocations: 17.25 kB / 1.149 GB, free: 37.3 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.453e-05/0.7704, allocations: 18.83 kB / 1.149 GB, free: 37.3 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.965e-05/0.7704, allocations: 12.5 kB / 1.149 GB, free: 37.3 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.0001265/0.7705, allocations: 129.5 kB / 1.149 GB, free: 37.23 MB / 1.076 GB Notification: Performance of sort global known variables: time 9e-08/0.7705, allocations: 0.9688 kB / 1.149 GB, free: 37.23 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0004029/0.7709, allocations: 78.08 kB / 1.149 GB, free: 37.21 MB / 1.076 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 (12): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * 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): 2 systems {(1,3), (1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001731/0.7711, allocations: 121.2 kB / 1.15 GB, free: 37.12 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.0009425/0.7721, allocations: 437.5 kB / 1.15 GB, free: 36.9 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.7721, allocations: 2.875 kB / 1.15 GB, free: 36.9 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.0005847/0.7726, allocations: 349.4 kB / 1.15 GB, free: 36.68 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003925/0.773, allocations: 42.98 kB / 1.15 GB, free: 36.68 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008666/0.7739, allocations: 419.6 kB / 1.151 GB, free: 36.47 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.768e-05/0.774, allocations: 126.9 kB / 1.151 GB, free: 36.4 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 0.0001386/0.7741, allocations: 31 kB / 1.151 GB, free: 36.4 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.54e-05/0.7742, allocations: 21.11 kB / 1.151 GB, free: 36.39 MB / 1.076 GB Notification: Performance of SimCode: time 4.41e-07/0.7742, allocations: 0 / 1.151 GB, free: 36.39 MB / 1.076 GB Notification: Performance of Templates: time 0.008681/0.7829, allocations: 4.867 MB / 1.156 GB, free: 36.09 MB / 1.076 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.pipe >> ../files/Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.sim & ./Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Psychrometrics_Examples_TWetBul_TDryBulPhi.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.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: 9.267846740782261]