Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001479/0.001479, allocations: 88.39 kB / 20.23 MB, free: 4.176 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.001616/0.001616, allocations: 165.3 kB / 23.55 MB, free: 0.8633 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 1.465/1.465, allocations: 177.1 MB / 203.9 MB, free: 5.613 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 2.78/2.78, allocations: 359 MB / 0.6048 GB, free: 10.93 MB / 0.573 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.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_11_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_11_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.904e-06/1.904e-06, allocations: 0 / 0.7863 GB, free: 12.84 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.273e-05/3.464e-05, allocations: 4.312 kB / 0.7864 GB, free: 12.84 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi): time 0.003775/0.003809, allocations: 1.875 MB / 0.7882 GB, free: 10.96 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.1955/0.1993, allocations: 136.7 MB / 0.9217 GB, free: 1.77 MB / 0.8698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001756/0.1995, allocations: 7.938 kB / 0.9217 GB, free: 1.762 MB / 0.8698 GB Notification: Performance of NFTyping.typeComponents: time 0.0002076/0.1997, allocations: 19.73 kB / 0.9217 GB, free: 1.742 MB / 0.8698 GB Notification: Performance of NFTyping.typeBindings: time 0.000414/0.2001, allocations: 83.34 kB / 0.9218 GB, free: 1.66 MB / 0.8698 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008469/0.201, allocations: 266.9 kB / 0.9221 GB, free: 1.398 MB / 0.8698 GB Notification: Performance of NFFlatten.flatten: time 0.0004359/0.2014, allocations: 275 kB / 0.9223 GB, free: 1.129 MB / 0.8698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001658/0.2016, allocations: 46.59 kB / 0.9224 GB, free: 1.086 MB / 0.8698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001749/0.2033, allocations: 350.2 kB / 0.9227 GB, free: 0.8164 MB / 0.8698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001671/0.2035, allocations: 75.78 kB / 0.9228 GB, free: 0.7422 MB / 0.8698 GB Notification: Performance of NFPackage.collectConstants: time 4.19e-05/0.2035, allocations: 16 kB / 0.9228 GB, free: 0.7266 MB / 0.8698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003978/0.2039, allocations: 183.6 kB / 0.923 GB, free: 0.5469 MB / 0.8698 GB Notification: Performance of NFScalarize.scalarize: time 7.364e-05/0.204, allocations: 43.88 kB / 0.923 GB, free: 0.5039 MB / 0.8698 GB Notification: Performance of NFVerifyModel.verify: time 0.0001032/0.2041, allocations: 63.83 kB / 0.9231 GB, free: 452 kB / 0.8698 GB Notification: Performance of NFConvertDAE.convert: time 0.0005784/0.2047, allocations: 326.9 kB / 0.9234 GB, free: 124 kB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 3.667e-06/0.2047, allocations: 0 / 0.9234 GB, free: 124 kB / 0.8698 GB Notification: Performance of FrontEnd: time 1.062e-06/0.2047, allocations: 0 / 0.9234 GB, free: 124 kB / 0.8698 GB Notification: Performance of Transformations before backend: time 5.911e-06/0.2047, allocations: 0 / 0.9234 GB, free: 124 kB / 0.8698 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.001127/0.2058, allocations: 469.2 kB / 0.9238 GB, free: 15.63 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 4.121e-05/0.2059, allocations: 11.97 kB / 0.9239 GB, free: 15.62 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001277/0.2072, allocations: 151.4 kB / 0.924 GB, free: 15.47 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003108/0.2075, allocations: 164.9 kB / 0.9242 GB, free: 15.29 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001081/0.2076, allocations: 67.72 kB / 0.9242 GB, free: 15.21 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.278e-05/0.2076, allocations: 23.94 kB / 0.9242 GB, free: 15.18 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006466/0.2083, allocations: 318 kB / 0.9245 GB, free: 14.83 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.13e-05/0.2083, allocations: 0 / 0.9245 GB, free: 14.83 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.511e-05/0.2083, allocations: 8 kB / 0.9246 GB, free: 14.82 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.945e-06/0.2083, allocations: 4 kB / 0.9246 GB, free: 14.82 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005201/0.2088, allocations: 167.7 kB / 0.9247 GB, free: 14.66 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001889/0.2107, allocations: 1.071 MB / 0.9258 GB, free: 13.53 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008407/0.2116, allocations: 202.6 kB / 0.926 GB, free: 13.32 MB / 0.8855 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001913/0.2118, allocations: 64.81 kB / 0.926 GB, free: 13.25 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 2.402e-05/0.2118, allocations: 4 kB / 0.926 GB, free: 13.25 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.622e-05/0.2118, allocations: 34.56 kB / 0.9261 GB, free: 13.21 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=12): time 1.212e-06/0.2118, allocations: 4 kB / 0.9261 GB, free: 13.2 MB / 0.8855 GB Notification: Performance of matching and sorting (n=12): time 0.002807/0.2146, allocations: 490.7 kB / 0.9265 GB, free: 12.71 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.732e-05/0.2147, allocations: 51.41 kB / 0.9266 GB, free: 12.65 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002518/0.2149, allocations: 183.7 kB / 0.9268 GB, free: 12.46 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 3.603e-05/0.215, allocations: 33.7 kB / 0.9268 GB, free: 12.42 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.000114/0.2151, allocations: 140.2 kB / 0.9269 GB, free: 12.28 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 4.854e-05/0.2151, allocations: 39.64 kB / 0.927 GB, free: 12.24 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001058/0.2152, allocations: 53.62 kB / 0.927 GB, free: 12.18 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0001825/0.2154, allocations: 326.8 kB / 0.9273 GB, free: 11.86 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002487/0.2157, allocations: 67.89 kB / 0.9274 GB, free: 11.79 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003041/0.216, allocations: 163.8 kB / 0.9275 GB, free: 11.6 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004815/0.2165, allocations: 213.1 kB / 0.9277 GB, free: 11.37 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.194e-06/0.2165, allocations: 0 / 0.9277 GB, free: 11.37 MB / 0.8855 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.001604/0.2181, allocations: 371 kB / 0.9281 GB, free: 10.99 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 2.021e-05/0.2181, allocations: 12.03 kB / 0.9281 GB, free: 10.98 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.582e-06/0.2181, allocations: 0 / 0.9281 GB, free: 10.98 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001832/0.2199, allocations: 257.4 kB / 0.9284 GB, free: 10.72 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002274/0.2201, allocations: 35.97 kB / 0.9284 GB, free: 10.69 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004571/0.2247, allocations: 3.008 MB / 0.9313 GB, free: 7.461 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003538/0.2251, allocations: 31.91 kB / 0.9314 GB, free: 7.43 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.366e-05/0.2251, allocations: 4 kB / 0.9314 GB, free: 7.426 MB / 0.8855 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 0.0001547/0.2252, allocations: 133.8 kB / 0.9315 GB, free: 7.285 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.761e-05/0.2253, allocations: 19.91 kB / 0.9315 GB, free: 7.266 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00141/0.2267, allocations: 364.4 kB / 0.9319 GB, free: 6.898 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.871e-06/0.2267, allocations: 4 kB / 0.9319 GB, free: 6.895 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.043e-05/0.2267, allocations: 11.92 kB / 0.9319 GB, free: 6.883 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.926e-06/0.2267, allocations: 0 / 0.9319 GB, free: 6.883 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002958/0.227, allocations: 189.1 kB / 0.9321 GB, free: 6.668 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.794e-06/0.227, allocations: 4 kB / 0.9321 GB, free: 6.664 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000138/0.2272, allocations: 19.98 kB / 0.9321 GB, free: 6.645 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001433/0.2286, allocations: 241.4 kB / 0.9323 GB, free: 6.402 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.777e-05/0.2286, allocations: 0 / 0.9323 GB, free: 6.402 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004348/0.233, allocations: 3.036 MB / 0.9353 GB, free: 3.148 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.233, allocations: 0 / 0.9353 GB, free: 3.148 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001404/0.2344, allocations: 442.8 kB / 0.9357 GB, free: 2.695 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001011/0.2345, allocations: 39.81 kB / 0.9357 GB, free: 2.656 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.044e-05/0.2345, allocations: 0 / 0.9357 GB, free: 2.656 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003015/0.2348, allocations: 19.98 kB / 0.9357 GB, free: 2.637 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.09e-05/0.2349, allocations: 11.97 kB / 0.9358 GB, free: 2.625 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.309e-05/0.2349, allocations: 11.98 kB / 0.9358 GB, free: 2.613 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.0001831/0.2351, allocations: 140.3 kB / 0.9359 GB, free: 2.477 MB / 0.8855 GB Notification: Performance of sort global known variables: time 7e-08/0.2351, allocations: 3.938 kB / 0.9359 GB, free: 2.473 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.0004582/0.2356, allocations: 71.89 kB / 0.936 GB, free: 2.402 MB / 0.8855 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.0002208/0.2358, allocations: 123.3 kB / 0.9361 GB, free: 2.273 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.001125/0.2369, allocations: 433.5 kB / 0.9365 GB, free: 1.824 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 5.35e-06/0.2369, allocations: 4 kB / 0.9365 GB, free: 1.82 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.0007378/0.2377, allocations: 356.9 kB / 0.9369 GB, free: 1.445 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004279/0.2381, allocations: 59.81 kB / 0.9369 GB, free: 1.387 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001056/0.2391, allocations: 419.8 kB / 0.9373 GB, free: 0.9531 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001503/0.2393, allocations: 124.6 kB / 0.9374 GB, free: 0.8125 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.0001646/0.2395, allocations: 33.42 kB / 0.9375 GB, free: 0.7812 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.524e-05/0.2395, allocations: 20.48 kB / 0.9375 GB, free: 0.7617 MB / 0.8855 GB Notification: Performance of SimCode: time 7.51e-07/0.2395, allocations: 0 / 0.9375 GB, free: 0.7617 MB / 0.8855 GB Notification: Performance of Templates: time 0.0106/0.2501, allocations: 4.91 MB / 0.9423 GB, free: 11.95 MB / 0.9011 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.pipe ; mkfifo Buildings_11_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.pipe >> ../files/Buildings_11_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.sim & ./Buildings_11_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_Psychrometrics_Examples_TWetBul_TDryBulPhi.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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: 8.032188001903705]