Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.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.001836/0.001836, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.001839/0.001839, allocations: 210.5 kB / 22.24 MB, free: 5.262 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.531/1.531, allocations: 230.6 MB / 256 MB, free: 7.766 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.909/2.909, allocations: 476 MB / 0.7699 GB, free: 4.754 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-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_TDryBulXi,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|wetBul.TWetBul|wetBulApp.TWetBul",fileNamePrefix="Buildings_11_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi") translateModel(Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|wetBul.TWetBul|wetBulApp.TWetBul",fileNamePrefix="Buildings_11_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi") [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.003623/0.003623, allocations: 69.91 kB / 1.117 GB, free: 41.1 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.329/0.3326, allocations: 170 MB / 1.283 GB, free: 11.97 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi): time 0.003101/0.3357, allocations: 1.663 MB / 1.285 GB, free: 10.3 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.1867/0.5225, allocations: 131.5 MB / 1.413 GB, free: 6.273 MB / 1.107 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001369/0.5226, allocations: 0 / 1.413 GB, free: 6.273 MB / 1.107 GB Notification: Performance of NFTyping.typeComponents: time 0.0001893/0.5228, allocations: 27.8 kB / 1.413 GB, free: 6.246 MB / 1.107 GB Notification: Performance of NFTyping.typeBindings: time 0.0003287/0.5231, allocations: 51.62 kB / 1.413 GB, free: 6.195 MB / 1.107 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005837/0.5237, allocations: 191.3 kB / 1.413 GB, free: 6.008 MB / 1.107 GB Notification: Performance of NFFlatten.flatten: time 0.0002722/0.524, allocations: 163.5 kB / 1.413 GB, free: 5.848 MB / 1.107 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001422/0.5241, allocations: 25.23 kB / 1.414 GB, free: 5.824 MB / 1.107 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001516/0.5256, allocations: 205 kB / 1.414 GB, free: 5.648 MB / 1.107 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001572/0.5258, allocations: 63.67 kB / 1.414 GB, free: 5.586 MB / 1.107 GB Notification: Performance of NFPackage.collectConstants: time 3.026e-05/0.5258, allocations: 8 kB / 1.414 GB, free: 5.578 MB / 1.107 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003621/0.5262, allocations: 159.8 kB / 1.414 GB, free: 5.422 MB / 1.107 GB Notification: Performance of NFScalarize.scalarize: time 5.778e-05/0.5262, allocations: 31.84 kB / 1.414 GB, free: 5.391 MB / 1.107 GB Notification: Performance of NFVerifyModel.verify: time 6.913e-05/0.5263, allocations: 47.78 kB / 1.414 GB, free: 5.344 MB / 1.107 GB Notification: Performance of NFConvertDAE.convert: time 0.0004461/0.5267, allocations: 203.3 kB / 1.414 GB, free: 5.145 MB / 1.107 GB Notification: Performance of FrontEnd - DAE generated: time 5.821e-06/0.5268, allocations: 4 kB / 1.414 GB, free: 5.141 MB / 1.107 GB Notification: Performance of FrontEnd: time 1.403e-06/0.5268, allocations: 0 / 1.414 GB, free: 5.141 MB / 1.107 GB Notification: Performance of Transformations before backend: time 5.44e-06/0.5268, allocations: 0 / 1.414 GB, free: 5.141 MB / 1.107 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 19 * Number of variables: 19 Notification: Performance of Generate backend data structure: time 0.0009283/0.5277, allocations: 405.4 kB / 1.415 GB, free: 4.715 MB / 1.107 GB Notification: Performance of prepare preOptimizeDAE: time 3.553e-05/0.5277, allocations: 8.031 kB / 1.415 GB, free: 4.707 MB / 1.107 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008999/0.5286, allocations: 80.75 kB / 1.415 GB, free: 4.629 MB / 1.107 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000254/0.5289, allocations: 149 kB / 1.415 GB, free: 4.457 MB / 1.107 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.14e-05/0.5289, allocations: 0 / 1.415 GB, free: 4.457 MB / 1.107 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.913e-05/0.5289, allocations: 12 kB / 1.415 GB, free: 4.445 MB / 1.107 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004803/0.5294, allocations: 181.8 kB / 1.415 GB, free: 4.246 MB / 1.107 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.243e-05/0.5294, allocations: 3.938 kB / 1.415 GB, free: 4.242 MB / 1.107 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.886e-05/0.5294, allocations: 0 / 1.415 GB, free: 4.242 MB / 1.107 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.376e-06/0.5294, allocations: 8 kB / 1.415 GB, free: 4.234 MB / 1.107 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000623/0.5301, allocations: 143.8 kB / 1.415 GB, free: 4.094 MB / 1.107 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001172/0.5312, allocations: 0.6996 MB / 1.416 GB, free: 3.348 MB / 1.107 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004392/0.5317, allocations: 122.5 kB / 1.416 GB, free: 3.219 MB / 1.107 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002747/0.5319, allocations: 84.78 kB / 1.416 GB, free: 3.133 MB / 1.107 GB Notification: Performance of preOpt evalFunc (simulation): time 2.293e-05/0.532, allocations: 0 / 1.416 GB, free: 3.133 MB / 1.107 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.047e-05/0.532, allocations: 30.56 kB / 1.416 GB, free: 3.094 MB / 1.107 GB Notification: Performance of pre-optimization done (n=8): time 8.21e-07/0.532, allocations: 0 / 1.416 GB, free: 3.094 MB / 1.107 GB Notification: Performance of matching and sorting (n=8): time 0.001999/0.534, allocations: 386.2 kB / 1.416 GB, free: 2.707 MB / 1.107 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.806e-05/0.534, allocations: 55.41 kB / 1.416 GB, free: 2.641 MB / 1.107 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000162/0.5342, allocations: 145.8 kB / 1.417 GB, free: 2.488 MB / 1.107 GB Notification: Performance of collectPreVariables (initialization): time 2.608e-05/0.5342, allocations: 33.64 kB / 1.417 GB, free: 2.449 MB / 1.107 GB Notification: Performance of collectInitialEqns (initialization): time 8.252e-05/0.5343, allocations: 111.9 kB / 1.417 GB, free: 2.336 MB / 1.107 GB Notification: Performance of collectInitialBindings (initialization): time 3.683e-05/0.5344, allocations: 31.73 kB / 1.417 GB, free: 2.305 MB / 1.107 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.277e-05/0.5344, allocations: 33.7 kB / 1.417 GB, free: 2.266 MB / 1.107 GB Notification: Performance of setup shared object (initialization): time 0.0001685/0.5346, allocations: 318.8 kB / 1.417 GB, free: 1.945 MB / 1.107 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002637/0.5349, allocations: 67.94 kB / 1.417 GB, free: 1.879 MB / 1.107 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002916/0.5352, allocations: 108.2 kB / 1.417 GB, free: 1.758 MB / 1.107 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005554/0.5357, allocations: 180.1 kB / 1.417 GB, free: 1.566 MB / 1.107 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.863e-06/0.5357, allocations: 0 / 1.417 GB, free: 1.566 MB / 1.107 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.001119/0.5368, allocations: 278.5 kB / 1.418 GB, free: 1.285 MB / 1.107 GB Notification: Performance of prepare postOptimizeDAE: time 2.124e-05/0.5368, allocations: 10.28 kB / 1.418 GB, free: 1.277 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.515e-06/0.5369, allocations: 4 kB / 1.418 GB, free: 1.273 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006195/0.5375, allocations: 88.86 kB / 1.418 GB, free: 1.184 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002262/0.5377, allocations: 31.91 kB / 1.418 GB, free: 1.152 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002362/0.5401, allocations: 1.537 MB / 1.419 GB, free: 15.51 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002263/0.5403, allocations: 23.95 kB / 1.419 GB, free: 15.49 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.17e-05/0.5403, allocations: 8 kB / 1.419 GB, free: 15.48 MB / 1.123 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * 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 (10): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * 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): 1 system {(1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0001457/0.5405, allocations: 128.9 kB / 1.42 GB, free: 15.35 MB / 1.123 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.35e-05/0.5405, allocations: 7.953 kB / 1.42 GB, free: 15.34 MB / 1.123 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001144/0.5416, allocations: 316 kB / 1.42 GB, free: 15.02 MB / 1.123 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.901e-06/0.5417, allocations: 3.938 kB / 1.42 GB, free: 15.02 MB / 1.123 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.526e-06/0.5417, allocations: 4 kB / 1.42 GB, free: 15.01 MB / 1.123 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.506e-06/0.5417, allocations: 0 / 1.42 GB, free: 15.01 MB / 1.123 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002609/0.5419, allocations: 161.3 kB / 1.42 GB, free: 14.82 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.913e-06/0.5419, allocations: 0 / 1.42 GB, free: 14.82 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002107/0.5421, allocations: 35.91 kB / 1.42 GB, free: 14.79 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004601/0.5426, allocations: 80.7 kB / 1.42 GB, free: 14.71 MB / 1.123 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.742e-05/0.5426, allocations: 0 / 1.42 GB, free: 14.71 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002151/0.5448, allocations: 1.559 MB / 1.422 GB, free: 13.04 MB / 1.123 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.01e-07/0.5448, allocations: 4.062 kB / 1.422 GB, free: 13.03 MB / 1.123 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001112/0.5459, allocations: 380.8 kB / 1.422 GB, free: 12.64 MB / 1.123 GB Notification: Performance of postOpt removeConstants (simulation): time 9.689e-05/0.546, allocations: 24.03 kB / 1.422 GB, free: 12.62 MB / 1.123 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.594e-05/0.546, allocations: 3.984 kB / 1.422 GB, free: 12.61 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000217/0.5462, allocations: 15.98 kB / 1.422 GB, free: 12.6 MB / 1.123 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.929e-05/0.5463, allocations: 23.95 kB / 1.422 GB, free: 12.57 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.279e-05/0.5463, allocations: 0 / 1.422 GB, free: 12.57 MB / 1.123 GB Notification: Performance of sorting global known variables: time 8.851e-05/0.5464, allocations: 111.2 kB / 1.422 GB, free: 12.46 MB / 1.123 GB Notification: Performance of sort global known variables: time 8e-08/0.5464, allocations: 0 / 1.422 GB, free: 12.46 MB / 1.123 GB Notification: Performance of remove unused functions: time 0.0003544/0.5467, allocations: 51.94 kB / 1.422 GB, free: 12.41 MB / 1.123 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 (10): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * 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): 1 system {(1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002128/0.5469, allocations: 107.2 kB / 1.422 GB, free: 12.3 MB / 1.123 GB Notification: Performance of simCode: created initialization part: time 0.0009693/0.5479, allocations: 302.7 kB / 1.423 GB, free: 11.99 MB / 1.123 GB Notification: Performance of simCode: created event and clocks part: time 2.264e-06/0.5479, allocations: 0 / 1.423 GB, free: 11.99 MB / 1.123 GB Notification: Performance of simCode: created simulation system equations: time 0.0005842/0.5485, allocations: 233.6 kB / 1.423 GB, free: 11.75 MB / 1.123 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003257/0.5488, allocations: 23.98 kB / 1.423 GB, free: 11.73 MB / 1.123 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009125/0.5497, allocations: 303.6 kB / 1.423 GB, free: 11.41 MB / 1.123 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001002/0.5498, allocations: 97.61 kB / 1.423 GB, free: 11.3 MB / 1.123 GB Notification: Performance of simCode: alias equations: time 0.0001351/0.55, allocations: 20.48 kB / 1.423 GB, free: 11.28 MB / 1.123 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.383e-05/0.55, allocations: 27.36 kB / 1.423 GB, free: 11.25 MB / 1.123 GB Notification: Performance of SimCode: time 3.01e-07/0.55, allocations: 0 / 1.423 GB, free: 11.25 MB / 1.123 GB Notification: Performance of Templates: time 0.007897/0.5579, allocations: 3.275 MB / 1.426 GB, free: 8.031 MB / 1.123 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.pipe ; mkfifo Buildings_11_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.pipe >> ../files/Buildings_11_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.sim & ./Buildings_11_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_Psychrometrics_Examples_TWetBul_TDryBulXi.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.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.36968013830483]