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.002403/0.002403, allocations: 88.05 kB / 19.44 MB, free: 320 kB / 13.93 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.002574/0.002574, allocations: 173.3 kB / 22.77 MB, free: 1.641 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.535/1.535, allocations: 177.1 MB / 203.1 MB, free: 5.621 MB / 186.7 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 3.348/3.348, allocations: 429.5 MB / 0.6729 GB, free: 4.012 MB / 0.6355 GB " [Timeout remaining time 176] Using package Buildings with version 14.0.0 (/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.593e-06/1.593e-06, allocations: 0 / 0.8774 GB, free: 6.707 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.5e-05/2.659e-05, allocations: 2.312 kB / 0.8774 GB, free: 6.703 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi): time 0.003426/0.003452, allocations: 1.935 MB / 0.8793 GB, free: 4.781 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.2079/0.2114, allocations: 151.2 MB / 1.027 GB, free: 13.09 MB / 0.9948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001591/0.2115, allocations: 4 kB / 1.027 GB, free: 13.09 MB / 0.9948 GB Notification: Performance of NFTyping.typeComponents: time 0.0001957/0.2117, allocations: 27.72 kB / 1.027 GB, free: 13.06 MB / 0.9948 GB Notification: Performance of NFTyping.typeBindings: time 0.0003334/0.2121, allocations: 83.31 kB / 1.027 GB, free: 12.98 MB / 0.9948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007509/0.2128, allocations: 267 kB / 1.027 GB, free: 12.71 MB / 0.9948 GB Notification: Performance of NFFlatten.flatten: time 0.0003352/0.2132, allocations: 259.1 kB / 1.028 GB, free: 12.46 MB / 0.9948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001654/0.2133, allocations: 57.48 kB / 1.028 GB, free: 12.41 MB / 0.9948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001894/0.2152, allocations: 362.6 kB / 1.028 GB, free: 12.11 MB / 0.9948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001455/0.2154, allocations: 71.77 kB / 1.028 GB, free: 12.04 MB / 0.9948 GB Notification: Performance of NFPackage.collectConstants: time 4.44e-05/0.2154, allocations: 16 kB / 1.028 GB, free: 12.03 MB / 0.9948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000366/0.2158, allocations: 183.6 kB / 1.028 GB, free: 11.85 MB / 0.9948 GB Notification: Performance of NFScalarize.scalarize: time 7.853e-05/0.2158, allocations: 43.88 kB / 1.028 GB, free: 11.8 MB / 0.9948 GB Notification: Performance of NFVerifyModel.verify: time 0.0001047/0.216, allocations: 71.81 kB / 1.028 GB, free: 11.73 MB / 0.9948 GB Notification: Performance of NFConvertDAE.convert: time 0.0005314/0.2165, allocations: 307 kB / 1.029 GB, free: 11.43 MB / 0.9948 GB Notification: Performance of FrontEnd - DAE generated: time 3.116e-06/0.2165, allocations: 0 / 1.029 GB, free: 11.43 MB / 0.9948 GB Notification: Performance of FrontEnd: time 1.182e-06/0.2165, allocations: 4 kB / 1.029 GB, free: 11.43 MB / 0.9948 GB Notification: Performance of Transformations before backend: time 5.19e-06/0.2165, allocations: 0 / 1.029 GB, free: 11.43 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.001066/0.2176, allocations: 0.5578 MB / 1.029 GB, free: 10.84 MB / 0.9948 GB Notification: Performance of prepare preOptimizeDAE: time 3.99e-05/0.2176, allocations: 11.97 kB / 1.029 GB, free: 10.82 MB / 0.9948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001219/0.2188, allocations: 159.4 kB / 1.029 GB, free: 10.67 MB / 0.9948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003194/0.2191, allocations: 171.7 kB / 1.029 GB, free: 10.47 MB / 0.9948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.371e-05/0.2192, allocations: 63.73 kB / 1.03 GB, free: 10.4 MB / 0.9948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.075e-05/0.2193, allocations: 19.94 kB / 1.03 GB, free: 10.38 MB / 0.9948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005997/0.2199, allocations: 332.6 kB / 1.03 GB, free: 10 MB / 0.9948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.715e-05/0.2199, allocations: 3.938 kB / 1.03 GB, free: 10 MB / 0.9948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.848e-05/0.2199, allocations: 4 kB / 1.03 GB, free: 9.996 MB / 0.9948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.338e-06/0.2199, allocations: 8 kB / 1.03 GB, free: 9.988 MB / 0.9948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004077/0.2203, allocations: 147.8 kB / 1.03 GB, free: 9.844 MB / 0.9948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002024/0.2224, allocations: 1.452 MB / 1.031 GB, free: 8.32 MB / 0.9948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000819/0.2232, allocations: 203.2 kB / 1.032 GB, free: 8.109 MB / 0.9948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001549/0.2233, allocations: 55.67 kB / 1.032 GB, free: 8.051 MB / 0.9948 GB Notification: Performance of preOpt evalFunc (simulation): time 2.862e-05/0.2234, allocations: 0 / 1.032 GB, free: 8.051 MB / 0.9948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.414e-05/0.2234, allocations: 41.39 kB / 1.032 GB, free: 8 MB / 0.9948 GB Notification: Performance of pre-optimization done (n=12): time 9.02e-07/0.2234, allocations: 0 / 1.032 GB, free: 8 MB / 0.9948 GB Notification: Performance of matching and sorting (n=12): time 0.002789/0.2262, allocations: 464.4 kB / 1.032 GB, free: 7.531 MB / 0.9948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.554e-05/0.2262, allocations: 55.41 kB / 1.032 GB, free: 7.465 MB / 0.9948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003423/0.2266, allocations: 258.5 kB / 1.032 GB, free: 7.195 MB / 0.9948 GB Notification: Performance of collectPreVariables (initialization): time 3.171e-05/0.2266, allocations: 33.7 kB / 1.032 GB, free: 7.156 MB / 0.9948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001383/0.2267, allocations: 190.9 kB / 1.033 GB, free: 6.965 MB / 0.9948 GB Notification: Performance of collectInitialBindings (initialization): time 4.948e-05/0.2268, allocations: 43.66 kB / 1.033 GB, free: 6.922 MB / 0.9948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001154/0.2269, allocations: 55.33 kB / 1.033 GB, free: 6.859 MB / 0.9948 GB Notification: Performance of setup shared object (initialization): time 0.0002641/0.2272, allocations: 0.4962 MB / 1.033 GB, free: 6.352 MB / 0.9948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001846/0.2274, allocations: 59.91 kB / 1.033 GB, free: 6.293 MB / 0.9948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002823/0.2276, allocations: 180.9 kB / 1.033 GB, free: 6.074 MB / 0.9948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004262/0.2281, allocations: 213.3 kB / 1.034 GB, free: 5.832 MB / 0.9948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.204e-06/0.2281, allocations: 0 / 1.034 GB, free: 5.832 MB / 0.9948 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.00152/0.2296, allocations: 360.5 kB / 1.034 GB, free: 5.465 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 1.755e-05/0.2296, allocations: 10.64 kB / 1.034 GB, free: 5.457 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.293e-06/0.2296, allocations: 4 kB / 1.034 GB, free: 5.453 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001858/0.2315, allocations: 255.3 kB / 1.034 GB, free: 5.195 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001982/0.2317, allocations: 35.91 kB / 1.034 GB, free: 5.16 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005077/0.2367, allocations: 3.954 MB / 1.038 GB, free: 0.9531 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003022/0.237, allocations: 31.77 kB / 1.038 GB, free: 0.9219 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.561e-05/0.2371, allocations: 8 kB / 1.038 GB, free: 0.9141 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 0.0001604/0.2372, allocations: 172.8 kB / 1.038 GB, free: 0.7344 MB / 0.9948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.668e-05/0.2373, allocations: 23.94 kB / 1.038 GB, free: 0.7109 MB / 0.9948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001374/0.2387, allocations: 353.9 kB / 1.039 GB, free: 364 kB / 0.9948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.879e-06/0.2387, allocations: 8 kB / 1.039 GB, free: 356 kB / 0.9948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.36e-06/0.2387, allocations: 3.938 kB / 1.039 GB, free: 352 kB / 0.9948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.146e-06/0.2387, allocations: 4 kB / 1.039 GB, free: 348 kB / 0.9948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003236/0.239, allocations: 208.5 kB / 1.039 GB, free: 104 kB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.442e-06/0.239, allocations: 0 / 1.039 GB, free: 104 kB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001192/0.2391, allocations: 15.98 kB / 1.039 GB, free: 88 kB / 0.9948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001499/0.2406, allocations: 227.2 kB / 1.039 GB, free: 15.86 MB / 1.01 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.976e-05/0.2407, allocations: 11.98 kB / 1.039 GB, free: 15.84 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004827/0.2455, allocations: 4.003 MB / 1.043 GB, free: 11.58 MB / 1.01 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.553e-06/0.2455, allocations: 0 / 1.043 GB, free: 11.58 MB / 1.01 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001393/0.2469, allocations: 480.8 kB / 1.044 GB, free: 11.09 MB / 1.01 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001018/0.247, allocations: 31.81 kB / 1.044 GB, free: 11.05 MB / 1.01 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.484e-05/0.247, allocations: 3.953 kB / 1.044 GB, free: 11.05 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000243/0.2473, allocations: 12 kB / 1.044 GB, free: 11.04 MB / 1.01 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.54e-05/0.2473, allocations: 23.89 kB / 1.044 GB, free: 11.02 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.047e-05/0.2474, allocations: 4 kB / 1.044 GB, free: 11.01 MB / 1.01 GB Notification: Performance of sorting global known variables: time 0.0001971/0.2476, allocations: 188.7 kB / 1.044 GB, free: 10.83 MB / 1.01 GB Notification: Performance of sort global known variables: time 8e-08/0.2476, allocations: 3.938 kB / 1.044 GB, free: 10.82 MB / 1.01 GB Notification: Performance of remove unused functions: time 0.000429/0.248, allocations: 71.94 kB / 1.044 GB, free: 10.75 MB / 1.01 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.000205/0.2482, allocations: 119.2 kB / 1.044 GB, free: 10.63 MB / 1.01 GB Notification: Performance of simCode: created initialization part: time 0.001151/0.2494, allocations: 0.5308 MB / 1.045 GB, free: 10.06 MB / 1.01 GB Notification: Performance of simCode: created event and clocks part: time 2.264e-06/0.2494, allocations: 0 / 1.045 GB, free: 10.06 MB / 1.01 GB Notification: Performance of simCode: created simulation system equations: time 0.0008121/0.2502, allocations: 471.2 kB / 1.045 GB, free: 9.559 MB / 1.01 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004126/0.2506, allocations: 59.77 kB / 1.045 GB, free: 9.5 MB / 1.01 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001053/0.2516, allocations: 433 kB / 1.045 GB, free: 9.047 MB / 1.01 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000146/0.2518, allocations: 120.6 kB / 1.046 GB, free: 8.91 MB / 1.01 GB Notification: Performance of simCode: alias equations: time 0.0001549/0.2519, allocations: 33.55 kB / 1.046 GB, free: 8.879 MB / 1.01 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.127e-05/0.252, allocations: 16.5 kB / 1.046 GB, free: 8.863 MB / 1.01 GB Notification: Performance of SimCode: time 5.21e-07/0.252, allocations: 0 / 1.046 GB, free: 8.863 MB / 1.01 GB Notification: Performance of Templates: time 0.01125/0.2632, allocations: 5.009 MB / 1.051 GB, free: 3.93 MB / 1.01 GB " [Timeout remaining time 300] 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=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.pipe 2>&1) [Timeout 240] 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.249880393967032]