Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001243/0.001243, allocations: 76.5 kB / 19.93 MB, free: 4.633 MB / 18.57 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.001342/0.001342, allocations: 174.3 kB / 23.21 MB, free: 1.355 MB / 18.57 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.9091/0.9091, allocations: 177.1 MB / 203.5 MB, free: 5.75 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.768/1.768, allocations: 377.8 MB / 0.6228 GB, free: 8.68 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-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.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|wetBulPhi.TWetBul|wetBulPhiApp.TWetBul",fileNamePrefix="Buildings_12_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_12_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.343e-06/1.343e-06, allocations: 0 / 0.9822 GB, free: 2.117 MB / 0.9323 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.621e-05/2.755e-05, allocations: 6.281 kB / 0.9822 GB, free: 2.109 MB / 0.9323 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi): time 0.002304/0.002332, allocations: 1.872 MB / 0.984 GB, free: 232 kB / 0.9323 GB Notification: Performance of NFInst.instExpressions: time 0.613/0.6153, allocations: 136.7 MB / 1.118 GB, free: 19.35 MB / 0.9948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000164/0.6155, allocations: 2.25 kB / 1.118 GB, free: 19.35 MB / 0.9948 GB Notification: Performance of NFTyping.typeComponents: time 0.0001898/0.6157, allocations: 27.59 kB / 1.118 GB, free: 19.33 MB / 0.9948 GB Notification: Performance of NFTyping.typeBindings: time 0.000295/0.616, allocations: 79.88 kB / 1.118 GB, free: 19.27 MB / 0.9948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006822/0.6166, allocations: 265.7 kB / 1.118 GB, free: 19.14 MB / 0.9948 GB Notification: Performance of NFFlatten.flatten: time 0.0002415/0.6169, allocations: 270 kB / 1.118 GB, free: 19.01 MB / 0.9948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001513/0.617, allocations: 46.8 kB / 1.118 GB, free: 18.99 MB / 0.9948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009666/0.618, allocations: 311.4 kB / 1.118 GB, free: 18.89 MB / 0.9948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001127/0.6181, allocations: 65.08 kB / 1.119 GB, free: 18.87 MB / 0.9948 GB Notification: Performance of NFPackage.collectConstants: time 3.05e-05/0.6181, allocations: 15.06 kB / 1.119 GB, free: 18.87 MB / 0.9948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002896/0.6184, allocations: 188.3 kB / 1.119 GB, free: 18.82 MB / 0.9948 GB Notification: Performance of NFScalarize.scalarize: time 5.976e-05/0.6185, allocations: 45.73 kB / 1.119 GB, free: 18.79 MB / 0.9948 GB Notification: Performance of NFVerifyModel.verify: time 6.579e-05/0.6186, allocations: 65.97 kB / 1.119 GB, free: 18.77 MB / 0.9948 GB Notification: Performance of NFConvertDAE.convert: time 0.0004126/0.619, allocations: 319.6 kB / 1.119 GB, free: 18.65 MB / 0.9948 GB Notification: Performance of FrontEnd - DAE generated: time 4.609e-06/0.619, allocations: 0 / 1.119 GB, free: 18.65 MB / 0.9948 GB Notification: Performance of FrontEnd: time 1.513e-06/0.619, allocations: 5.125 kB / 1.119 GB, free: 18.65 MB / 0.9948 GB Notification: Performance of Transformations before backend: time 5.481e-06/0.619, allocations: 0 / 1.119 GB, free: 18.65 MB / 0.9948 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.0006346/0.6196, allocations: 460.2 kB / 1.12 GB, free: 18.29 MB / 0.9948 GB Notification: Performance of prepare preOptimizeDAE: time 4.128e-05/0.6197, allocations: 13.88 kB / 1.12 GB, free: 18.29 MB / 0.9948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006256/0.6203, allocations: 116.8 kB / 1.12 GB, free: 18.27 MB / 0.9948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002006/0.6205, allocations: 167.7 kB / 1.12 GB, free: 18.11 MB / 0.9948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.547e-05/0.6205, allocations: 71.69 kB / 1.12 GB, free: 18.04 MB / 0.9948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.541e-05/0.6206, allocations: 18.7 kB / 1.12 GB, free: 18.04 MB / 0.9948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003797/0.621, allocations: 314.7 kB / 1.12 GB, free: 17.82 MB / 0.9948 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.147e-06/0.621, allocations: 0 / 1.12 GB, free: 17.82 MB / 0.9948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.188e-05/0.621, allocations: 15.28 kB / 1.12 GB, free: 17.81 MB / 0.9948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.935e-06/0.621, allocations: 8.281 kB / 1.12 GB, free: 17.8 MB / 0.9948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002786/0.6213, allocations: 164.6 kB / 1.12 GB, free: 17.76 MB / 0.9948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009/0.6222, allocations: 1.071 MB / 1.121 GB, free: 16.85 MB / 0.9948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004655/0.6226, allocations: 196.3 kB / 1.122 GB, free: 16.79 MB / 0.9948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001038/0.6227, allocations: 71.86 kB / 1.122 GB, free: 16.75 MB / 0.9948 GB Notification: Performance of preOpt evalFunc (simulation): time 1.942e-05/0.6228, allocations: 1 kB / 1.122 GB, free: 16.75 MB / 0.9948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.586e-05/0.6228, allocations: 32.53 kB / 1.122 GB, free: 16.71 MB / 0.9948 GB Notification: Performance of pre-optimization done (n=12): time 1.512e-06/0.6228, allocations: 1.062 kB / 1.122 GB, free: 16.71 MB / 0.9948 GB Notification: Performance of matching and sorting (n=12): time 0.00135/0.6241, allocations: 489.7 kB / 1.122 GB, free: 16.57 MB / 0.9948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.355e-05/0.6241, allocations: 53.38 kB / 1.122 GB, free: 16.51 MB / 0.9948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001395/0.6243, allocations: 186.8 kB / 1.122 GB, free: 16.38 MB / 0.9948 GB Notification: Performance of collectPreVariables (initialization): time 1.493e-05/0.6243, allocations: 34.98 kB / 1.123 GB, free: 16.34 MB / 0.9948 GB Notification: Performance of collectInitialEqns (initialization): time 5.309e-05/0.6244, allocations: 143.8 kB / 1.123 GB, free: 16.21 MB / 0.9948 GB Notification: Performance of collectInitialBindings (initialization): time 2.46e-05/0.6244, allocations: 44.55 kB / 1.123 GB, free: 16.18 MB / 0.9948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.812e-05/0.6244, allocations: 50.06 kB / 1.123 GB, free: 16.14 MB / 0.9948 GB Notification: Performance of setup shared object (initialization): time 3.575e-05/0.6245, allocations: 322.5 kB / 1.123 GB, free: 15.83 MB / 0.9948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001289/0.6246, allocations: 70 kB / 1.123 GB, free: 15.81 MB / 0.9948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001559/0.6248, allocations: 164.6 kB / 1.123 GB, free: 15.68 MB / 0.9948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002524/0.625, allocations: 197.9 kB / 1.123 GB, free: 15.55 MB / 0.9948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.384e-06/0.625, allocations: 0 / 1.123 GB, free: 15.55 MB / 0.9948 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0007646/0.6258, allocations: 369.4 kB / 1.124 GB, free: 15.42 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 1.656e-05/0.6258, allocations: 7.062 kB / 1.124 GB, free: 15.42 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.005e-06/0.6258, allocations: 5.766 kB / 1.124 GB, free: 15.42 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005486/0.6264, allocations: 162 kB / 1.124 GB, free: 15.39 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001132/0.6265, allocations: 39.14 kB / 1.124 GB, free: 15.38 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002032/0.6285, allocations: 2.985 MB / 1.127 GB, free: 12.69 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001577/0.6287, allocations: 26.7 kB / 1.127 GB, free: 12.68 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.876e-05/0.6287, allocations: 17.92 kB / 1.127 GB, free: 12.68 MB / 0.9948 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.051e-05/0.6288, allocations: 131.8 kB / 1.127 GB, free: 12.55 MB / 0.9948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.004e-05/0.6288, allocations: 19.91 kB / 1.127 GB, free: 12.54 MB / 0.9948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006742/0.6295, allocations: 365.1 kB / 1.127 GB, free: 12.39 MB / 0.9948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.366e-06/0.6295, allocations: 2.188 kB / 1.127 GB, free: 12.39 MB / 0.9948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.823e-06/0.6295, allocations: 4 kB / 1.127 GB, free: 12.38 MB / 0.9948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.839e-06/0.6295, allocations: 5.438 kB / 1.127 GB, free: 12.38 MB / 0.9948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001717/0.6297, allocations: 186 kB / 1.128 GB, free: 12.22 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.986e-06/0.6297, allocations: 4.062 kB / 1.128 GB, free: 12.22 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.497e-05/0.6297, allocations: 25.16 kB / 1.128 GB, free: 12.22 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003818/0.6301, allocations: 139.8 kB / 1.128 GB, free: 12.18 MB / 0.9948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.19e-05/0.6301, allocations: 1.781 kB / 1.128 GB, free: 12.18 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001703/0.6318, allocations: 3.032 MB / 1.131 GB, free: 9.473 MB / 0.9948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.475e-06/0.6318, allocations: 8.703 kB / 1.131 GB, free: 9.465 MB / 0.9948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006397/0.6325, allocations: 430.4 kB / 1.131 GB, free: 9.234 MB / 0.9948 GB Notification: Performance of postOpt removeConstants (simulation): time 6.507e-05/0.6325, allocations: 31.31 kB / 1.131 GB, free: 9.219 MB / 0.9948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.726e-05/0.6325, allocations: 6.312 kB / 1.131 GB, free: 9.215 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001293/0.6327, allocations: 15.33 kB / 1.131 GB, free: 9.211 MB / 0.9948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.051e-05/0.6327, allocations: 20.53 kB / 1.131 GB, free: 9.207 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.221e-05/0.6328, allocations: 8.312 kB / 1.131 GB, free: 9.203 MB / 0.9948 GB Notification: Performance of sorting global known variables: time 8.82e-05/0.6328, allocations: 135.3 kB / 1.131 GB, free: 9.113 MB / 0.9948 GB Notification: Performance of sort global known variables: time 4e-08/0.6328, allocations: 0 / 1.131 GB, free: 9.113 MB / 0.9948 GB Notification: Performance of remove unused functions: time 0.0003443/0.6332, allocations: 79.5 kB / 1.131 GB, free: 9.094 MB / 0.9948 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.0001668/0.6334, allocations: 118.5 kB / 1.132 GB, free: 8.992 MB / 0.9948 GB Notification: Performance of simCode: created initialization part: time 0.0006025/0.634, allocations: 442.5 kB / 1.132 GB, free: 8.707 MB / 0.9948 GB Notification: Performance of simCode: created event and clocks part: time 1.743e-06/0.634, allocations: 0 / 1.132 GB, free: 8.707 MB / 0.9948 GB Notification: Performance of simCode: created simulation system equations: time 0.0003044/0.6343, allocations: 358.7 kB / 1.132 GB, free: 8.438 MB / 0.9948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002745/0.6345, allocations: 44.22 kB / 1.132 GB, free: 8.422 MB / 0.9948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006941/0.6352, allocations: 443.8 kB / 1.133 GB, free: 8.156 MB / 0.9948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.608e-05/0.6353, allocations: 119.9 kB / 1.133 GB, free: 8.082 MB / 0.9948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.792e-05/0.6354, allocations: 31.02 kB / 1.133 GB, free: 8.066 MB / 0.9948 GB Notification: Performance of SimCode: time 8.82e-07/0.6354, allocations: 0 / 1.133 GB, free: 8.066 MB / 0.9948 GB Notification: Performance of Templates: time 0.005871/0.6413, allocations: 4.237 MB / 1.137 GB, free: 7.773 MB / 0.9948 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.pipe ; mkfifo Buildings_12_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.pipe >> ../files/Buildings_12_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.sim & ./Buildings_12_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Utilities_Psychrometrics_Examples_TWetBul_TDryBulPhi.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 7.840836361981928]