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.001555/0.001555, allocations: 100.3 kB / 19.7 MB, free: 2.012 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.001807/0.001807, allocations: 220.4 kB / 23 MB, free: 4.914 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.476/1.476, allocations: 230.6 MB / 256.8 MB, free: 7.82 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.28/3.28, allocations: 0.4892 GB / 0.7951 GB, free: 35.62 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.002129/0.002129, allocations: 75.27 kB / 1.154 GB, free: 25.54 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3764/0.3785, allocations: 176.1 MB / 1.326 GB, free: 1.883 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi): time 0.003441/0.3819, allocations: 1.851 MB / 1.328 GB, free: 24 kB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.1879/0.5698, allocations: 136.7 MB / 1.462 GB, free: 6.766 MB / 1.154 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002484/0.5701, allocations: 4 kB / 1.462 GB, free: 6.762 MB / 1.154 GB Notification: Performance of NFTyping.typeComponents: time 0.0002506/0.5703, allocations: 23.73 kB / 1.462 GB, free: 6.738 MB / 1.154 GB Notification: Performance of NFTyping.typeBindings: time 0.0004733/0.5708, allocations: 91.34 kB / 1.462 GB, free: 6.648 MB / 1.154 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009896/0.5718, allocations: 264.1 kB / 1.462 GB, free: 6.391 MB / 1.154 GB Notification: Performance of NFFlatten.flatten: time 0.0004342/0.5722, allocations: 267.1 kB / 1.462 GB, free: 6.129 MB / 1.154 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001962/0.5724, allocations: 42.55 kB / 1.462 GB, free: 6.086 MB / 1.154 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001816/0.5743, allocations: 258.5 kB / 1.463 GB, free: 5.859 MB / 1.154 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000228/0.5745, allocations: 91.59 kB / 1.463 GB, free: 5.77 MB / 1.154 GB Notification: Performance of NFPackage.collectConstants: time 4.846e-05/0.5745, allocations: 12 kB / 1.463 GB, free: 5.758 MB / 1.154 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004762/0.575, allocations: 179.7 kB / 1.463 GB, free: 5.582 MB / 1.154 GB Notification: Performance of NFScalarize.scalarize: time 8.276e-05/0.5751, allocations: 47.77 kB / 1.463 GB, free: 5.535 MB / 1.154 GB Notification: Performance of NFVerifyModel.verify: time 0.0001121/0.5752, allocations: 75.66 kB / 1.463 GB, free: 5.461 MB / 1.154 GB Notification: Performance of NFConvertDAE.convert: time 0.0006505/0.5758, allocations: 298.8 kB / 1.463 GB, free: 5.168 MB / 1.154 GB Notification: Performance of FrontEnd - DAE generated: time 5.13e-06/0.5759, allocations: 0 / 1.463 GB, free: 5.168 MB / 1.154 GB Notification: Performance of FrontEnd: time 1.573e-06/0.5759, allocations: 0 / 1.463 GB, free: 5.168 MB / 1.154 GB Notification: Performance of Transformations before backend: time 1.004e-05/0.5759, allocations: 0 / 1.463 GB, free: 5.168 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.001129/0.577, allocations: 469.2 kB / 1.464 GB, free: 4.68 MB / 1.154 GB Notification: Performance of prepare preOptimizeDAE: time 4.517e-05/0.577, allocations: 8.031 kB / 1.464 GB, free: 4.672 MB / 1.154 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00123/0.5783, allocations: 123.7 kB / 1.464 GB, free: 4.551 MB / 1.154 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000364/0.5786, allocations: 168.8 kB / 1.464 GB, free: 4.359 MB / 1.154 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001085/0.5787, allocations: 67.73 kB / 1.464 GB, free: 4.281 MB / 1.154 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.002e-05/0.5788, allocations: 15.98 kB / 1.464 GB, free: 4.266 MB / 1.154 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006226/0.5794, allocations: 318 kB / 1.464 GB, free: 3.914 MB / 1.154 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.257e-05/0.5794, allocations: 0 / 1.464 GB, free: 3.914 MB / 1.154 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.838e-05/0.5795, allocations: 4 kB / 1.464 GB, free: 3.91 MB / 1.154 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.528e-06/0.5795, allocations: 4 kB / 1.464 GB, free: 3.906 MB / 1.154 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004892/0.58, allocations: 172.3 kB / 1.464 GB, free: 3.738 MB / 1.154 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001842/0.5818, allocations: 1.079 MB / 1.466 GB, free: 2.602 MB / 1.154 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008036/0.5826, allocations: 198.6 kB / 1.466 GB, free: 2.398 MB / 1.154 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001999/0.5828, allocations: 72.75 kB / 1.466 GB, free: 2.324 MB / 1.154 GB Notification: Performance of preOpt evalFunc (simulation): time 2.143e-05/0.5828, allocations: 0 / 1.466 GB, free: 2.324 MB / 1.154 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.061e-05/0.5829, allocations: 34.56 kB / 1.466 GB, free: 2.281 MB / 1.154 GB Notification: Performance of pre-optimization done (n=12): time 1.142e-06/0.5829, allocations: 0 / 1.466 GB, free: 2.281 MB / 1.154 GB Notification: Performance of matching and sorting (n=12): time 0.002648/0.5855, allocations: 474.8 kB / 1.466 GB, free: 1.805 MB / 1.154 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.775e-05/0.5855, allocations: 59.34 kB / 1.466 GB, free: 1.734 MB / 1.154 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002606/0.5858, allocations: 194.3 kB / 1.467 GB, free: 1.531 MB / 1.154 GB Notification: Performance of collectPreVariables (initialization): time 3.666e-05/0.5858, allocations: 33.69 kB / 1.467 GB, free: 1.492 MB / 1.154 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001018/0.5859, allocations: 136.2 kB / 1.467 GB, free: 1.355 MB / 1.154 GB Notification: Performance of collectInitialBindings (initialization): time 5.061e-05/0.586, allocations: 51.62 kB / 1.467 GB, free: 1.305 MB / 1.154 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.652e-05/0.5861, allocations: 49.67 kB / 1.467 GB, free: 1.25 MB / 1.154 GB Notification: Performance of setup shared object (initialization): time 0.0001537/0.5862, allocations: 322.8 kB / 1.467 GB, free: 0.9258 MB / 1.154 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002247/0.5865, allocations: 67.95 kB / 1.467 GB, free: 0.8594 MB / 1.154 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003118/0.5868, allocations: 162.6 kB / 1.467 GB, free: 0.668 MB / 1.154 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004557/0.5872, allocations: 200.8 kB / 1.468 GB, free: 460 kB / 1.154 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.366e-06/0.5872, allocations: 4 kB / 1.468 GB, free: 456 kB / 1.154 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.001483/0.5887, allocations: 370.9 kB / 1.468 GB, free: 72 kB / 1.154 GB Notification: Performance of prepare postOptimizeDAE: time 2.047e-05/0.5887, allocations: 8.031 kB / 1.468 GB, free: 64 kB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.013e-06/0.5888, allocations: 0 / 1.468 GB, free: 64 kB / 1.154 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001134/0.5899, allocations: 161.5 kB / 1.468 GB, free: 15.9 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002235/0.5901, allocations: 35.91 kB / 1.468 GB, free: 15.86 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004305/0.5944, allocations: 3.001 MB / 1.471 GB, free: 12.65 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003534/0.5948, allocations: 31.83 kB / 1.471 GB, free: 12.62 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.808e-05/0.5948, allocations: 12 kB / 1.471 GB, free: 12.61 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.0001711/0.595, allocations: 137.8 kB / 1.471 GB, free: 12.46 MB / 1.17 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.122e-05/0.595, allocations: 15.89 kB / 1.471 GB, free: 12.45 MB / 1.17 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001344/0.5964, allocations: 370.1 kB / 1.472 GB, free: 12.07 MB / 1.17 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.66e-06/0.5964, allocations: 4 kB / 1.472 GB, free: 12.07 MB / 1.17 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.804e-06/0.5964, allocations: 0 / 1.472 GB, free: 12.07 MB / 1.17 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.032e-06/0.5964, allocations: 3.984 kB / 1.472 GB, free: 12.07 MB / 1.17 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003166/0.5967, allocations: 189.2 kB / 1.472 GB, free: 11.85 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.234e-06/0.5967, allocations: 0 / 1.472 GB, free: 11.85 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001353/0.5968, allocations: 27.86 kB / 1.472 GB, free: 11.82 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008559/0.5977, allocations: 141.6 kB / 1.472 GB, free: 11.68 MB / 1.17 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.762e-05/0.5977, allocations: 0 / 1.472 GB, free: 11.68 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003949/0.6017, allocations: 3.041 MB / 1.475 GB, free: 8.422 MB / 1.17 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.097e-06/0.6017, allocations: 3.938 kB / 1.475 GB, free: 8.418 MB / 1.17 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0013/0.603, allocations: 428.9 kB / 1.475 GB, free: 7.977 MB / 1.17 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001057/0.6031, allocations: 27.83 kB / 1.475 GB, free: 7.949 MB / 1.17 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.502e-05/0.6031, allocations: 7.953 kB / 1.475 GB, free: 7.941 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002823/0.6034, allocations: 19.97 kB / 1.475 GB, free: 7.922 MB / 1.17 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.363e-05/0.6035, allocations: 19.97 kB / 1.475 GB, free: 7.902 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.883e-05/0.6035, allocations: 4 kB / 1.475 GB, free: 7.898 MB / 1.17 GB Notification: Performance of sorting global known variables: time 0.000177/0.6037, allocations: 136.3 kB / 1.475 GB, free: 7.766 MB / 1.17 GB Notification: Performance of sort global known variables: time 1.51e-07/0.6037, allocations: 0 / 1.475 GB, free: 7.766 MB / 1.17 GB Notification: Performance of remove unused functions: time 0.0004542/0.6041, allocations: 75.88 kB / 1.476 GB, free: 7.691 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.0002204/0.6044, allocations: 123.8 kB / 1.476 GB, free: 7.559 MB / 1.17 GB Notification: Performance of simCode: created initialization part: time 0.001091/0.6054, allocations: 447.9 kB / 1.476 GB, free: 7.098 MB / 1.17 GB Notification: Performance of simCode: created event and clocks part: time 2.815e-06/0.6055, allocations: 4 kB / 1.476 GB, free: 7.094 MB / 1.17 GB Notification: Performance of simCode: created simulation system equations: time 0.0006898/0.6061, allocations: 349.2 kB / 1.476 GB, free: 6.727 MB / 1.17 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004341/0.6066, allocations: 48.41 kB / 1.476 GB, free: 6.68 MB / 1.17 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001067/0.6076, allocations: 448.1 kB / 1.477 GB, free: 6.211 MB / 1.17 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001349/0.6078, allocations: 124.4 kB / 1.477 GB, free: 6.074 MB / 1.17 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.897e-05/0.6079, allocations: 27.42 kB / 1.477 GB, free: 6.047 MB / 1.17 GB Notification: Performance of SimCode: time 6.81e-07/0.6079, allocations: 0 / 1.477 GB, free: 6.047 MB / 1.17 GB Notification: Performance of Templates: time 0.007553/0.6154, allocations: 4.242 MB / 1.481 GB, free: 1.805 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.282661879900843]