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.001622/0.001622, allocations: 104.2 kB / 19.74 MB, free: 2.066 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.001719/0.001719, allocations: 218.2 kB / 23.04 MB, free: 4.844 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.435/1.435, allocations: 230.6 MB / 256.8 MB, free: 7.781 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.174/3.174, allocations: 0.49 GB / 0.7959 GB, free: 35.46 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-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: 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.002703/0.002703, allocations: 74.42 kB / 1.155 GB, free: 25.19 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3804/0.3831, allocations: 176.1 MB / 1.327 GB, free: 0.9805 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi): time 0.003265/0.3863, allocations: 1.857 MB / 1.329 GB, free: 15.12 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.1781/0.5644, allocations: 136.7 MB / 1.462 GB, free: 5.852 MB / 1.154 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000174/0.5646, allocations: 3.938 kB / 1.462 GB, free: 5.848 MB / 1.154 GB Notification: Performance of NFTyping.typeComponents: time 0.0002091/0.5648, allocations: 31.67 kB / 1.463 GB, free: 5.816 MB / 1.154 GB Notification: Performance of NFTyping.typeBindings: time 0.0003431/0.5651, allocations: 83.41 kB / 1.463 GB, free: 5.734 MB / 1.154 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007811/0.5659, allocations: 254.3 kB / 1.463 GB, free: 5.488 MB / 1.154 GB Notification: Performance of NFFlatten.flatten: time 0.0003294/0.5662, allocations: 275.2 kB / 1.463 GB, free: 5.219 MB / 1.154 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001581/0.5664, allocations: 38.56 kB / 1.463 GB, free: 5.18 MB / 1.154 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001506/0.5679, allocations: 264.7 kB / 1.463 GB, free: 4.945 MB / 1.154 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001493/0.5681, allocations: 83.61 kB / 1.463 GB, free: 4.863 MB / 1.154 GB Notification: Performance of NFPackage.collectConstants: time 4.056e-05/0.5681, allocations: 16 kB / 1.463 GB, free: 4.848 MB / 1.154 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003758/0.5685, allocations: 179.7 kB / 1.464 GB, free: 4.672 MB / 1.154 GB Notification: Performance of NFScalarize.scalarize: time 7.037e-05/0.5685, allocations: 47.83 kB / 1.464 GB, free: 4.625 MB / 1.154 GB Notification: Performance of NFVerifyModel.verify: time 9.06e-05/0.5686, allocations: 75.64 kB / 1.464 GB, free: 4.551 MB / 1.154 GB Notification: Performance of NFConvertDAE.convert: time 0.0004678/0.5691, allocations: 298.8 kB / 1.464 GB, free: 4.258 MB / 1.154 GB Notification: Performance of FrontEnd - DAE generated: time 6.021e-06/0.5691, allocations: 4 kB / 1.464 GB, free: 4.254 MB / 1.154 GB Notification: Performance of FrontEnd: time 1.433e-06/0.5691, allocations: 0 / 1.464 GB, free: 4.254 MB / 1.154 GB Notification: Performance of Transformations before backend: time 6.823e-06/0.5691, allocations: 0 / 1.464 GB, free: 4.254 MB / 1.154 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.0009782/0.5701, allocations: 465.2 kB / 1.465 GB, free: 3.77 MB / 1.154 GB Notification: Performance of prepare preOptimizeDAE: time 3.905e-05/0.5701, allocations: 12.03 kB / 1.465 GB, free: 3.758 MB / 1.154 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001175/0.5713, allocations: 111.7 kB / 1.465 GB, free: 3.648 MB / 1.154 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003408/0.5717, allocations: 174.3 kB / 1.465 GB, free: 3.453 MB / 1.154 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001002/0.5718, allocations: 63.73 kB / 1.465 GB, free: 3.379 MB / 1.154 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.582e-05/0.5718, allocations: 16 kB / 1.465 GB, free: 3.363 MB / 1.154 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006246/0.5724, allocations: 318 kB / 1.465 GB, free: 3.012 MB / 1.154 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.041e-05/0.5724, allocations: 3.938 kB / 1.465 GB, free: 3.008 MB / 1.154 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.12e-05/0.5725, allocations: 8 kB / 1.465 GB, free: 3 MB / 1.154 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.625e-06/0.5725, allocations: 4 kB / 1.465 GB, free: 2.996 MB / 1.154 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000485/0.573, allocations: 164.3 kB / 1.465 GB, free: 2.836 MB / 1.154 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001747/0.5747, allocations: 1.083 MB / 1.466 GB, free: 1.695 MB / 1.154 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008128/0.5755, allocations: 202.6 kB / 1.467 GB, free: 1.488 MB / 1.154 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001866/0.5757, allocations: 64.83 kB / 1.467 GB, free: 1.422 MB / 1.154 GB Notification: Performance of preOpt evalFunc (simulation): time 2.443e-05/0.5757, allocations: 0 / 1.467 GB, free: 1.422 MB / 1.154 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.526e-05/0.5758, allocations: 38.55 kB / 1.467 GB, free: 1.375 MB / 1.154 GB Notification: Performance of pre-optimization done (n=12): time 1.172e-06/0.5758, allocations: 0 / 1.467 GB, free: 1.375 MB / 1.154 GB Notification: Performance of matching and sorting (n=12): time 0.002765/0.5785, allocations: 482.7 kB / 1.467 GB, free: 0.8906 MB / 1.154 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.973e-05/0.5786, allocations: 55.41 kB / 1.467 GB, free: 0.8242 MB / 1.154 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002472/0.5788, allocations: 190.3 kB / 1.467 GB, free: 0.625 MB / 1.154 GB Notification: Performance of collectPreVariables (initialization): time 2.907e-05/0.5788, allocations: 25.7 kB / 1.467 GB, free: 0.5938 MB / 1.154 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001107/0.5789, allocations: 152.2 kB / 1.468 GB, free: 452 kB / 1.154 GB Notification: Performance of collectInitialBindings (initialization): time 4.44e-05/0.579, allocations: 43.64 kB / 1.468 GB, free: 408 kB / 1.154 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.873e-05/0.5791, allocations: 45.69 kB / 1.468 GB, free: 356 kB / 1.154 GB Notification: Performance of setup shared object (initialization): time 0.0001507/0.5792, allocations: 326.8 kB / 1.468 GB, free: 20 kB / 1.154 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002467/0.5795, allocations: 67.94 kB / 1.468 GB, free: 15.95 MB / 1.17 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002951/0.5798, allocations: 161.3 kB / 1.468 GB, free: 15.76 MB / 1.17 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00046/0.5802, allocations: 202.7 kB / 1.468 GB, free: 15.54 MB / 1.17 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.375e-06/0.5802, allocations: 4.031 kB / 1.468 GB, free: 15.54 MB / 1.17 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.001547/0.5818, allocations: 366.8 kB / 1.469 GB, free: 15.16 MB / 1.17 GB Notification: Performance of prepare postOptimizeDAE: time 1.998e-05/0.5818, allocations: 4.219 kB / 1.469 GB, free: 15.16 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.908e-06/0.5818, allocations: 8 kB / 1.469 GB, free: 15.15 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001143/0.583, allocations: 157.5 kB / 1.469 GB, free: 14.99 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002288/0.5832, allocations: 39.91 kB / 1.469 GB, free: 14.95 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004197/0.5874, allocations: 2.994 MB / 1.472 GB, free: 11.75 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000355/0.5877, allocations: 39.75 kB / 1.472 GB, free: 11.71 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.246e-05/0.5878, allocations: 8 kB / 1.472 GB, free: 11.7 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.0001585/0.5879, allocations: 135.9 kB / 1.472 GB, free: 11.56 MB / 1.17 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.24e-05/0.588, allocations: 19.88 kB / 1.472 GB, free: 11.54 MB / 1.17 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001387/0.5894, allocations: 370.2 kB / 1.472 GB, free: 11.17 MB / 1.17 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.657e-06/0.5894, allocations: 4 kB / 1.472 GB, free: 11.16 MB / 1.17 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.343e-06/0.5894, allocations: 3.938 kB / 1.472 GB, free: 11.16 MB / 1.17 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.488e-06/0.5894, allocations: 4.172 kB / 1.472 GB, free: 11.16 MB / 1.17 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002838/0.5897, allocations: 193.1 kB / 1.473 GB, free: 10.94 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.677e-06/0.5897, allocations: 7.984 kB / 1.473 GB, free: 10.93 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000138/0.5898, allocations: 19.98 kB / 1.473 GB, free: 10.91 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000851/0.5907, allocations: 133.6 kB / 1.473 GB, free: 10.77 MB / 1.17 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.095e-05/0.5907, allocations: 8 kB / 1.473 GB, free: 10.77 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003899/0.5946, allocations: 3.041 MB / 1.476 GB, free: 7.508 MB / 1.17 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.436e-06/0.5946, allocations: 3.938 kB / 1.476 GB, free: 7.504 MB / 1.17 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001325/0.5959, allocations: 420.9 kB / 1.476 GB, free: 7.07 MB / 1.17 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001012/0.596, allocations: 35.83 kB / 1.476 GB, free: 7.035 MB / 1.17 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.771e-05/0.596, allocations: 0 / 1.476 GB, free: 7.035 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002824/0.5963, allocations: 15.98 kB / 1.476 GB, free: 7.02 MB / 1.17 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.577e-05/0.5964, allocations: 27.95 kB / 1.476 GB, free: 6.992 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.767e-05/0.5964, allocations: 4 kB / 1.476 GB, free: 6.988 MB / 1.17 GB Notification: Performance of sorting global known variables: time 0.0001686/0.5966, allocations: 132.3 kB / 1.476 GB, free: 6.859 MB / 1.17 GB Notification: Performance of sort global known variables: time 1.1e-07/0.5966, allocations: 0 / 1.476 GB, free: 6.859 MB / 1.17 GB Notification: Performance of remove unused functions: time 0.0004517/0.597, allocations: 75.89 kB / 1.476 GB, free: 6.785 MB / 1.17 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.0002003/0.5972, allocations: 119.8 kB / 1.477 GB, free: 6.656 MB / 1.17 GB Notification: Performance of simCode: created initialization part: time 0.001129/0.5984, allocations: 451.9 kB / 1.477 GB, free: 6.191 MB / 1.17 GB Notification: Performance of simCode: created event and clocks part: time 2.565e-06/0.5984, allocations: 0 / 1.477 GB, free: 6.191 MB / 1.17 GB Notification: Performance of simCode: created simulation system equations: time 0.0007286/0.5991, allocations: 353.2 kB / 1.477 GB, free: 5.82 MB / 1.17 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004141/0.5995, allocations: 51.95 kB / 1.477 GB, free: 5.77 MB / 1.17 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001023/0.6005, allocations: 449.9 kB / 1.478 GB, free: 5.297 MB / 1.17 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001236/0.6007, allocations: 124.4 kB / 1.478 GB, free: 5.16 MB / 1.17 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.093e-05/0.6007, allocations: 19.42 kB / 1.478 GB, free: 5.141 MB / 1.17 GB Notification: Performance of SimCode: time 3.31e-07/0.6007, allocations: 4 kB / 1.478 GB, free: 5.137 MB / 1.17 GB Notification: Performance of Templates: time 0.007077/0.6078, allocations: 4.233 MB / 1.482 GB, free: 0.9023 MB / 1.17 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/jenkins1/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: 12.075142758199945]