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.001314/0.001314, allocations: 108.7 kB / 16.45 MB, free: 6.453 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.001516/0.001516, allocations: 216.2 kB / 19.43 MB, free: 3.625 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.447/1.447, allocations: 230.6 MB / 252.8 MB, free: 8.953 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.165/3.165, allocations: 0.4899 GB / 0.7915 GB, free: 33.27 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.002104/0.002104, allocations: 73.03 kB / 1.149 GB, free: 26.13 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3928/0.3949, allocations: 176.1 MB / 1.321 GB, free: 2.852 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi): time 0.003375/0.3983, allocations: 1.941 MB / 1.323 GB, free: 0.8984 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.1944/0.5927, allocations: 158.8 MB / 1.478 GB, free: 1.523 MB / 1.17 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000171/0.5929, allocations: 4 kB / 1.478 GB, free: 1.52 MB / 1.17 GB Notification: Performance of NFTyping.typeComponents: time 0.0001855/0.5931, allocations: 23.67 kB / 1.478 GB, free: 1.496 MB / 1.17 GB Notification: Performance of NFTyping.typeBindings: time 0.0003271/0.5934, allocations: 83.41 kB / 1.478 GB, free: 1.414 MB / 1.17 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007397/0.5941, allocations: 261.8 kB / 1.479 GB, free: 1.16 MB / 1.17 GB Notification: Performance of NFFlatten.flatten: time 0.0003098/0.5944, allocations: 259.2 kB / 1.479 GB, free: 0.9062 MB / 1.17 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001611/0.5946, allocations: 62.34 kB / 1.479 GB, free: 0.8438 MB / 1.17 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001448/0.596, allocations: 240.7 kB / 1.479 GB, free: 0.6328 MB / 1.17 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000143/0.5962, allocations: 91.59 kB / 1.479 GB, free: 0.543 MB / 1.17 GB Notification: Performance of NFPackage.collectConstants: time 3.292e-05/0.5962, allocations: 16 kB / 1.479 GB, free: 0.5273 MB / 1.17 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003886/0.5966, allocations: 195.7 kB / 1.479 GB, free: 344 kB / 1.17 GB Notification: Performance of NFScalarize.scalarize: time 6.45e-05/0.5967, allocations: 39.84 kB / 1.479 GB, free: 304 kB / 1.17 GB Notification: Performance of NFVerifyModel.verify: time 0.0001123/0.5968, allocations: 99.52 kB / 1.479 GB, free: 204 kB / 1.17 GB Notification: Performance of NFConvertDAE.convert: time 0.0004718/0.5973, allocations: 294.8 kB / 1.48 GB, free: 15.91 MB / 1.186 GB Notification: Performance of FrontEnd - DAE generated: time 3.407e-06/0.5973, allocations: 4 kB / 1.48 GB, free: 15.91 MB / 1.186 GB Notification: Performance of FrontEnd: time 1.122e-06/0.5973, allocations: 0 / 1.48 GB, free: 15.91 MB / 1.186 GB Notification: Performance of Transformations before backend: time 5.961e-06/0.5973, allocations: 0 / 1.48 GB, free: 15.91 MB / 1.186 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.001033/0.5983, allocations: 0.5374 MB / 1.48 GB, free: 15.32 MB / 1.186 GB Notification: Performance of prepare preOptimizeDAE: time 3.902e-05/0.5983, allocations: 15.98 kB / 1.48 GB, free: 15.3 MB / 1.186 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001221/0.5996, allocations: 111.7 kB / 1.48 GB, free: 15.2 MB / 1.186 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003109/0.5999, allocations: 232.9 kB / 1.481 GB, free: 14.93 MB / 1.186 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.635e-05/0.6, allocations: 38.03 kB / 1.481 GB, free: 14.89 MB / 1.186 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.571e-05/0.6, allocations: 16 kB / 1.481 GB, free: 14.87 MB / 1.186 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005794/0.6006, allocations: 262.5 kB / 1.481 GB, free: 14.59 MB / 1.186 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.049e-05/0.6006, allocations: 0 / 1.481 GB, free: 14.59 MB / 1.186 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.195e-05/0.6006, allocations: 15.94 kB / 1.481 GB, free: 14.57 MB / 1.186 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.876e-06/0.6006, allocations: 8 kB / 1.481 GB, free: 14.56 MB / 1.186 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005056/0.6011, allocations: 163.8 kB / 1.481 GB, free: 14.4 MB / 1.186 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001775/0.6029, allocations: 1.185 MB / 1.482 GB, free: 13.14 MB / 1.186 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007934/0.6037, allocations: 198.6 kB / 1.482 GB, free: 12.94 MB / 1.186 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001892/0.6039, allocations: 72.75 kB / 1.483 GB, free: 12.86 MB / 1.186 GB Notification: Performance of preOpt evalFunc (simulation): time 2.279e-05/0.6039, allocations: 0 / 1.483 GB, free: 12.86 MB / 1.186 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.846e-05/0.6039, allocations: 34.56 kB / 1.483 GB, free: 12.82 MB / 1.186 GB Notification: Performance of pre-optimization done (n=12): time 1.012e-06/0.6039, allocations: 0 / 1.483 GB, free: 12.82 MB / 1.186 GB Notification: Performance of matching and sorting (n=12): time 0.002901/0.6068, allocations: 0.6259 MB / 1.483 GB, free: 12.14 MB / 1.186 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.026e-05/0.6069, allocations: 59.41 kB / 1.483 GB, free: 12.07 MB / 1.186 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002754/0.6072, allocations: 214.8 kB / 1.483 GB, free: 11.86 MB / 1.186 GB Notification: Performance of collectPreVariables (initialization): time 3.25e-05/0.6072, allocations: 29.7 kB / 1.483 GB, free: 11.82 MB / 1.186 GB Notification: Performance of collectInitialEqns (initialization): time 9.987e-05/0.6073, allocations: 144.2 kB / 1.484 GB, free: 11.68 MB / 1.186 GB Notification: Performance of collectInitialBindings (initialization): time 4.02e-05/0.6073, allocations: 43.58 kB / 1.484 GB, free: 11.63 MB / 1.186 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001047/0.6074, allocations: 49.64 kB / 1.484 GB, free: 11.58 MB / 1.186 GB Notification: Performance of setup shared object (initialization): time 0.0001476/0.6076, allocations: 334.8 kB / 1.484 GB, free: 11.24 MB / 1.186 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002384/0.6078, allocations: 71.95 kB / 1.484 GB, free: 11.17 MB / 1.186 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002829/0.6081, allocations: 127.6 kB / 1.484 GB, free: 11.02 MB / 1.186 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004742/0.6086, allocations: 210.7 kB / 1.484 GB, free: 10.79 MB / 1.186 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.334e-06/0.6086, allocations: 0 / 1.484 GB, free: 10.79 MB / 1.186 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.001592/0.6102, allocations: 377.8 kB / 1.485 GB, free: 10.41 MB / 1.186 GB Notification: Performance of prepare postOptimizeDAE: time 1.961e-05/0.6102, allocations: 9.719 kB / 1.485 GB, free: 10.4 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.783e-06/0.6102, allocations: 0 / 1.485 GB, free: 10.4 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001175/0.6114, allocations: 165.8 kB / 1.485 GB, free: 10.23 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002307/0.6116, allocations: 39.89 kB / 1.485 GB, free: 10.2 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004419/0.616, allocations: 3.241 MB / 1.488 GB, free: 6.668 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000376/0.6164, allocations: 39.77 kB / 1.488 GB, free: 6.629 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.936e-05/0.6164, allocations: 15.97 kB / 1.488 GB, free: 6.613 MB / 1.186 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.0001554/0.6166, allocations: 125.8 kB / 1.488 GB, free: 6.48 MB / 1.186 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.743e-05/0.6167, allocations: 24.05 kB / 1.488 GB, free: 6.457 MB / 1.186 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00144/0.6181, allocations: 372.4 kB / 1.489 GB, free: 6.07 MB / 1.186 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.201e-06/0.6181, allocations: 8 kB / 1.489 GB, free: 6.062 MB / 1.186 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.996e-06/0.6181, allocations: 4 kB / 1.489 GB, free: 6.059 MB / 1.186 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.226e-06/0.6181, allocations: 0 / 1.489 GB, free: 6.059 MB / 1.186 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003561/0.6185, allocations: 277.3 kB / 1.489 GB, free: 5.738 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.723e-06/0.6185, allocations: 0 / 1.489 GB, free: 5.738 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001416/0.6186, allocations: 23.98 kB / 1.489 GB, free: 5.715 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008629/0.6195, allocations: 137.6 kB / 1.489 GB, free: 5.574 MB / 1.186 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.048e-05/0.6195, allocations: 11.98 kB / 1.489 GB, free: 5.562 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004129/0.6236, allocations: 3.301 MB / 1.492 GB, free: 1.977 MB / 1.186 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.6236, allocations: 3.938 kB / 1.492 GB, free: 1.973 MB / 1.186 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001394/0.625, allocations: 434.3 kB / 1.493 GB, free: 1.527 MB / 1.186 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001301/0.6251, allocations: 116.9 kB / 1.493 GB, free: 1.395 MB / 1.186 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.987e-05/0.6252, allocations: 0 / 1.493 GB, free: 1.395 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000289/0.6255, allocations: 15.98 kB / 1.493 GB, free: 1.379 MB / 1.186 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.406e-05/0.6256, allocations: 19.97 kB / 1.493 GB, free: 1.359 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.869e-05/0.6256, allocations: 4 kB / 1.493 GB, free: 1.355 MB / 1.186 GB Notification: Performance of sorting global known variables: time 0.0002143/0.6258, allocations: 167.2 kB / 1.493 GB, free: 1.191 MB / 1.186 GB Notification: Performance of sort global known variables: time 1e-07/0.6258, allocations: 0 / 1.493 GB, free: 1.191 MB / 1.186 GB Notification: Performance of remove unused functions: time 0.0004516/0.6262, allocations: 67.94 kB / 1.493 GB, free: 1.125 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.0002433/0.6265, allocations: 119.1 kB / 1.493 GB, free: 0.9961 MB / 1.186 GB Notification: Performance of simCode: created initialization part: time 0.001129/0.6276, allocations: 437.5 kB / 1.494 GB, free: 0.543 MB / 1.186 GB Notification: Performance of simCode: created event and clocks part: time 2.585e-06/0.6276, allocations: 256 / 1.494 GB, free: 0.543 MB / 1.186 GB Notification: Performance of simCode: created simulation system equations: time 0.0007102/0.6283, allocations: 355.1 kB / 1.494 GB, free: 176 kB / 1.186 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004441/0.6288, allocations: 59.84 kB / 1.494 GB, free: 116 kB / 1.186 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00101/0.6298, allocations: 424 kB / 1.494 GB, free: 15.68 MB / 1.201 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003772/0.6302, allocations: 0.74 MB / 1.495 GB, free: 14.91 MB / 1.201 GB Notification: Performance of simCode: alias equations: time 0.0001557/0.6303, allocations: 41.91 kB / 1.495 GB, free: 14.87 MB / 1.201 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.509e-05/0.6304, allocations: 27.42 kB / 1.495 GB, free: 14.85 MB / 1.201 GB Notification: Performance of SimCode: time 2.9e-07/0.6304, allocations: 0 / 1.495 GB, free: 14.85 MB / 1.201 GB Notification: Performance of Templates: time 0.01077/0.6412, allocations: 5.385 MB / 1.501 GB, free: 9.523 MB / 1.201 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/jenkins/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: 9.187269780319184]