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.001308/0.001308, allocations: 75.75 kB / 19.76 MB, free: 1.875 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.001406/0.001406, allocations: 155.7 kB / 23.01 MB, free: 4.605 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.438/1.438, allocations: 177.2 MB / 203.4 MB, free: 8.977 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.865/2.865, allocations: 394.2 MB / 0.6386 GB, free: 11.94 MB / 0.6075 GB " [Timeout remaining time 176] Using package Buildings with version 13.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: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00211/0.00211, allocations: 67.83 kB / 1.009 GB, free: 14.51 MB / 0.9669 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9444/0.9465, allocations: 181.8 MB / 1.187 GB, free: 16.19 MB / 1.076 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi): time 0.003038/0.9496, allocations: 1.885 MB / 1.188 GB, free: 14.91 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.1778/1.127, allocations: 136.7 MB / 1.322 GB, free: 11.35 MB / 1.17 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001405/1.127, allocations: 0 / 1.322 GB, free: 11.35 MB / 1.17 GB Notification: Performance of NFTyping.typeComponents: time 0.0001852/1.128, allocations: 31.66 kB / 1.322 GB, free: 11.32 MB / 1.17 GB Notification: Performance of NFTyping.typeBindings: time 0.0003137/1.128, allocations: 75.42 kB / 1.322 GB, free: 11.25 MB / 1.17 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007087/1.129, allocations: 259.1 kB / 1.322 GB, free: 10.99 MB / 1.17 GB Notification: Performance of NFFlatten.flatten: time 0.0003288/1.129, allocations: 271.1 kB / 1.323 GB, free: 10.73 MB / 1.17 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001524/1.129, allocations: 46.61 kB / 1.323 GB, free: 10.68 MB / 1.17 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001517/1.131, allocations: 260.3 kB / 1.323 GB, free: 10.46 MB / 1.17 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001611/1.131, allocations: 83.61 kB / 1.323 GB, free: 10.38 MB / 1.17 GB Notification: Performance of NFPackage.collectConstants: time 4.565e-05/1.131, allocations: 16 kB / 1.323 GB, free: 10.36 MB / 1.17 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003586/1.131, allocations: 183.6 kB / 1.323 GB, free: 10.18 MB / 1.17 GB Notification: Performance of NFScalarize.scalarize: time 8.365e-05/1.131, allocations: 47.83 kB / 1.323 GB, free: 10.13 MB / 1.17 GB Notification: Performance of NFVerifyModel.verify: time 9.712e-05/1.131, allocations: 75.66 kB / 1.323 GB, free: 10.06 MB / 1.17 GB Notification: Performance of NFConvertDAE.convert: time 0.0004608/1.132, allocations: 298.5 kB / 1.324 GB, free: 9.77 MB / 1.17 GB Notification: Performance of FrontEnd - DAE generated: time 3.506e-06/1.132, allocations: 0 / 1.324 GB, free: 9.77 MB / 1.17 GB Notification: Performance of FrontEnd: time 1.793e-06/1.132, allocations: 0 / 1.324 GB, free: 9.77 MB / 1.17 GB Notification: Performance of Transformations before backend: time 5.932e-06/1.132, allocations: 4 kB / 1.324 GB, free: 9.766 MB / 1.17 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.0009927/1.133, allocations: 469.2 kB / 1.324 GB, free: 9.277 MB / 1.17 GB Notification: Performance of prepare preOptimizeDAE: time 3.559e-05/1.133, allocations: 12.03 kB / 1.324 GB, free: 9.266 MB / 1.17 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001199/1.134, allocations: 107.8 kB / 1.324 GB, free: 9.16 MB / 1.17 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003025/1.134, allocations: 184.8 kB / 1.324 GB, free: 8.953 MB / 1.17 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.019e-05/1.135, allocations: 63.73 kB / 1.324 GB, free: 8.879 MB / 1.17 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.31e-05/1.135, allocations: 16 kB / 1.324 GB, free: 8.863 MB / 1.17 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006005/1.135, allocations: 310 kB / 1.325 GB, free: 8.52 MB / 1.17 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.153e-05/1.135, allocations: 3.938 kB / 1.325 GB, free: 8.516 MB / 1.17 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.889e-05/1.135, allocations: 12 kB / 1.325 GB, free: 8.504 MB / 1.17 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.033e-06/1.135, allocations: 4 kB / 1.325 GB, free: 8.5 MB / 1.17 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000475/1.136, allocations: 163.8 kB / 1.325 GB, free: 8.34 MB / 1.17 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001741/1.137, allocations: 1.071 MB / 1.326 GB, free: 7.211 MB / 1.17 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008082/1.138, allocations: 202.6 kB / 1.326 GB, free: 7.004 MB / 1.17 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001793/1.138, allocations: 64.81 kB / 1.326 GB, free: 6.938 MB / 1.17 GB Notification: Performance of preOpt evalFunc (simulation): time 1.955e-05/1.138, allocations: 4 kB / 1.326 GB, free: 6.934 MB / 1.17 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.254e-05/1.138, allocations: 38.56 kB / 1.326 GB, free: 6.887 MB / 1.17 GB Notification: Performance of pre-optimization done (n=12): time 1.252e-06/1.138, allocations: 0 / 1.326 GB, free: 6.887 MB / 1.17 GB Notification: Performance of matching and sorting (n=12): time 0.002814/1.141, allocations: 479.1 kB / 1.327 GB, free: 6.406 MB / 1.17 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.508e-05/1.141, allocations: 59.39 kB / 1.327 GB, free: 6.336 MB / 1.17 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002409/1.142, allocations: 182.3 kB / 1.327 GB, free: 6.145 MB / 1.17 GB Notification: Performance of collectPreVariables (initialization): time 2.677e-05/1.142, allocations: 29.64 kB / 1.327 GB, free: 6.109 MB / 1.17 GB Notification: Performance of collectInitialEqns (initialization): time 9.86e-05/1.142, allocations: 140.2 kB / 1.327 GB, free: 5.969 MB / 1.17 GB Notification: Performance of collectInitialBindings (initialization): time 4.879e-05/1.142, allocations: 47.58 kB / 1.327 GB, free: 5.922 MB / 1.17 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.219e-05/1.142, allocations: 53.64 kB / 1.327 GB, free: 5.863 MB / 1.17 GB Notification: Performance of setup shared object (initialization): time 0.0001546/1.142, allocations: 330.8 kB / 1.327 GB, free: 5.531 MB / 1.17 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002295/1.142, allocations: 67.94 kB / 1.327 GB, free: 5.465 MB / 1.17 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002855/1.143, allocations: 159.2 kB / 1.328 GB, free: 5.277 MB / 1.17 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004619/1.143, allocations: 206.7 kB / 1.328 GB, free: 5.051 MB / 1.17 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.137e-06/1.143, allocations: 4 kB / 1.328 GB, free: 5.047 MB / 1.17 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.00155/1.145, allocations: 366.8 kB / 1.328 GB, free: 4.676 MB / 1.17 GB Notification: Performance of prepare postOptimizeDAE: time 1.623e-05/1.145, allocations: 4 kB / 1.328 GB, free: 4.672 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.105e-06/1.145, allocations: 4 kB / 1.328 GB, free: 4.668 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001164/1.146, allocations: 169.7 kB / 1.328 GB, free: 4.496 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002336/1.146, allocations: 43.91 kB / 1.328 GB, free: 4.453 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004363/1.15, allocations: 2.989 MB / 1.331 GB, free: 1.254 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003522/1.151, allocations: 27.88 kB / 1.331 GB, free: 1.227 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.679e-05/1.151, allocations: 11.98 kB / 1.331 GB, free: 1.215 MB / 1.17 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.0001523/1.151, allocations: 126.3 kB / 1.331 GB, free: 1.082 MB / 1.17 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.832e-05/1.151, allocations: 19.84 kB / 1.331 GB, free: 1.062 MB / 1.17 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001396/1.152, allocations: 371 kB / 1.332 GB, free: 0.6875 MB / 1.17 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.43e-06/1.152, allocations: 4 kB / 1.332 GB, free: 0.6836 MB / 1.17 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.593e-06/1.152, allocations: 0 / 1.332 GB, free: 0.6836 MB / 1.17 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.446e-06/1.152, allocations: 0 / 1.332 GB, free: 0.6836 MB / 1.17 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003022/1.153, allocations: 197 kB / 1.332 GB, free: 472 kB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.394e-06/1.153, allocations: 4 kB / 1.332 GB, free: 468 kB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001406/1.153, allocations: 27.98 kB / 1.332 GB, free: 440 kB / 1.17 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000867/1.154, allocations: 137.5 kB / 1.332 GB, free: 296 kB / 1.17 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.712e-05/1.154, allocations: 7.938 kB / 1.332 GB, free: 288 kB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004043/1.158, allocations: 3.04 MB / 1.335 GB, free: 13.03 MB / 1.186 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.687e-06/1.158, allocations: 3.938 kB / 1.335 GB, free: 13.02 MB / 1.186 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001344/1.159, allocations: 420.9 kB / 1.336 GB, free: 12.59 MB / 1.186 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001029/1.159, allocations: 31.88 kB / 1.336 GB, free: 12.56 MB / 1.186 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.789e-05/1.159, allocations: 4 kB / 1.336 GB, free: 12.55 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002883/1.159, allocations: 15.98 kB / 1.336 GB, free: 12.54 MB / 1.186 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.655e-05/1.16, allocations: 11.97 kB / 1.336 GB, free: 12.53 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.249e-05/1.16, allocations: 15.98 kB / 1.336 GB, free: 12.51 MB / 1.186 GB Notification: Performance of sorting global known variables: time 0.0001748/1.16, allocations: 136.3 kB / 1.336 GB, free: 12.38 MB / 1.186 GB Notification: Performance of sort global known variables: time 1.31e-07/1.16, allocations: 7.938 kB / 1.336 GB, free: 12.37 MB / 1.186 GB Notification: Performance of remove unused functions: time 0.0004647/1.16, allocations: 79.77 kB / 1.336 GB, free: 12.29 MB / 1.186 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.0002026/1.16, allocations: 115.2 kB / 1.336 GB, free: 12.17 MB / 1.186 GB Notification: Performance of simCode: created initialization part: time 0.001133/1.162, allocations: 429.8 kB / 1.336 GB, free: 11.72 MB / 1.186 GB Notification: Performance of simCode: created event and clocks part: time 6.703e-06/1.162, allocations: 4 kB / 1.336 GB, free: 11.72 MB / 1.186 GB Notification: Performance of simCode: created simulation system equations: time 0.0007304/1.162, allocations: 361.1 kB / 1.337 GB, free: 11.34 MB / 1.186 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004004/1.163, allocations: 42.62 kB / 1.337 GB, free: 11.3 MB / 1.186 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001037/1.164, allocations: 428.1 kB / 1.337 GB, free: 10.86 MB / 1.186 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001336/1.164, allocations: 124.6 kB / 1.337 GB, free: 10.71 MB / 1.186 GB Notification: Performance of simCode: alias equations: time 0.0001668/1.164, allocations: 33.41 kB / 1.337 GB, free: 10.68 MB / 1.186 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.805e-05/1.164, allocations: 20.5 kB / 1.337 GB, free: 10.66 MB / 1.186 GB Notification: Performance of SimCode: time 3.61e-07/1.164, allocations: 3.938 kB / 1.337 GB, free: 10.66 MB / 1.186 GB Notification: Performance of Templates: time 0.009879/1.174, allocations: 4.879 MB / 1.342 GB, free: 5.855 MB / 1.186 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 -s ida -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/jenkins1/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.0526412850013]