Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.00198/0.00198, allocations: 113.5 kB / 19.73 MB, free: 2.242 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.002185/0.002185, allocations: 211.5 kB / 23.04 MB, free: 5.078 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.583/1.583, allocations: 230.6 MB / 256.8 MB, free: 8 MB / 206.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 3.375/3.375, allocations: 0.5003 GB / 0.8061 GB, free: 26.79 MB / 0.6231 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: "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi,fileNamePrefix="Buildings_latest_Buildings_Utilities_Psychrometrics_Examples_TWetBul_TDryBulXi",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi,fileNamePrefix="Buildings_latest_Buildings_Utilities_Psychrometrics_Examples_TWetBul_TDryBulXi",fmuType="cs",version="2.0",platforms={"static"}) [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.002016/0.002016, allocations: 68.95 kB / 1.171 GB, free: 19.82 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3248/0.3268, allocations: 179 MB / 1.345 GB, free: 0.5117 MB / 1.029 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi): time 0.002932/0.3297, allocations: 1.716 MB / 1.347 GB, free: 14.78 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.1777/0.5075, allocations: 153.1 MB / 1.496 GB, free: 5.137 MB / 1.186 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001178/0.5076, allocations: 4 kB / 1.496 GB, free: 5.133 MB / 1.186 GB Notification: Performance of NFTyping.typeComponents: time 0.0001604/0.5078, allocations: 27.67 kB / 1.496 GB, free: 5.105 MB / 1.186 GB Notification: Performance of NFTyping.typeBindings: time 0.0002811/0.508, allocations: 59.62 kB / 1.497 GB, free: 5.047 MB / 1.186 GB Notification: Performance of NFTyping.typeClassSections: time 0.000506/0.5085, allocations: 183.3 kB / 1.497 GB, free: 4.867 MB / 1.186 GB Notification: Performance of NFFlatten.flatten: time 0.0002531/0.5088, allocations: 163.5 kB / 1.497 GB, free: 4.707 MB / 1.186 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001299/0.5089, allocations: 21.3 kB / 1.497 GB, free: 4.688 MB / 1.186 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00149/0.5104, allocations: 201.2 kB / 1.497 GB, free: 4.516 MB / 1.186 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001366/0.5106, allocations: 59.77 kB / 1.497 GB, free: 4.457 MB / 1.186 GB Notification: Performance of NFPackage.collectConstants: time 2.934e-05/0.5106, allocations: 8 kB / 1.497 GB, free: 4.449 MB / 1.186 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00035/0.5109, allocations: 175.7 kB / 1.497 GB, free: 4.277 MB / 1.186 GB Notification: Performance of NFScalarize.scalarize: time 4.65e-05/0.511, allocations: 31.91 kB / 1.497 GB, free: 4.246 MB / 1.186 GB Notification: Performance of NFVerifyModel.verify: time 7.025e-05/0.5111, allocations: 51.73 kB / 1.497 GB, free: 4.195 MB / 1.186 GB Notification: Performance of NFConvertDAE.convert: time 0.000395/0.5114, allocations: 215.2 kB / 1.498 GB, free: 3.984 MB / 1.186 GB Notification: Performance of FrontEnd - DAE generated: time 3.536e-06/0.5115, allocations: 0 / 1.498 GB, free: 3.984 MB / 1.186 GB Notification: Performance of FrontEnd: time 1.242e-06/0.5115, allocations: 0 / 1.498 GB, free: 3.984 MB / 1.186 GB Notification: Performance of Transformations before backend: time 5.72e-06/0.5115, allocations: 0 / 1.498 GB, free: 3.984 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: 19 * Number of variables: 19 Notification: Performance of Generate backend data structure: time 0.0008755/0.5123, allocations: 401.5 kB / 1.498 GB, free: 3.562 MB / 1.186 GB Notification: Performance of prepare preOptimizeDAE: time 3.643e-05/0.5124, allocations: 11.97 kB / 1.498 GB, free: 3.551 MB / 1.186 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.658e-05/0.5124, allocations: 4.188 kB / 1.498 GB, free: 3.547 MB / 1.186 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.495e-05/0.5124, allocations: 42.73 kB / 1.498 GB, free: 3.496 MB / 1.186 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009104/0.5133, allocations: 80.33 kB / 1.498 GB, free: 3.418 MB / 1.186 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002266/0.5136, allocations: 145 kB / 1.498 GB, free: 3.25 MB / 1.186 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.205e-05/0.5136, allocations: 7.938 kB / 1.498 GB, free: 3.242 MB / 1.186 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.078e-05/0.5136, allocations: 15.94 kB / 1.498 GB, free: 3.227 MB / 1.186 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004795/0.5141, allocations: 179.4 kB / 1.498 GB, free: 3.031 MB / 1.186 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.147e-05/0.5141, allocations: 4 kB / 1.498 GB, free: 3.027 MB / 1.186 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.317e-05/0.5141, allocations: 4 kB / 1.498 GB, free: 3.023 MB / 1.186 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.729e-06/0.5141, allocations: 0 / 1.498 GB, free: 3.023 MB / 1.186 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005354/0.5147, allocations: 151.7 kB / 1.499 GB, free: 2.875 MB / 1.186 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001164/0.5158, allocations: 0.7769 MB / 1.499 GB, free: 2.027 MB / 1.186 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000431/0.5163, allocations: 134.4 kB / 1.499 GB, free: 1.887 MB / 1.186 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002746/0.5165, allocations: 80.78 kB / 1.5 GB, free: 1.805 MB / 1.186 GB Notification: Performance of preOpt evalFunc (simulation): time 1.99e-05/0.5166, allocations: 4.141 kB / 1.5 GB, free: 1.801 MB / 1.186 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.592e-05/0.5166, allocations: 38.56 kB / 1.5 GB, free: 1.754 MB / 1.186 GB Notification: Performance of pre-optimization done (n=8): time 1.292e-06/0.5166, allocations: 0 / 1.5 GB, free: 1.754 MB / 1.186 GB Notification: Performance of matching and sorting (n=8): time 0.002019/0.5186, allocations: 378 kB / 1.5 GB, free: 1.375 MB / 1.186 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.19e-05/0.5186, allocations: 55.34 kB / 1.5 GB, free: 1.309 MB / 1.186 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001462/0.5188, allocations: 154.3 kB / 1.5 GB, free: 1.148 MB / 1.186 GB Notification: Performance of collectPreVariables (initialization): time 2.661e-05/0.5188, allocations: 25.7 kB / 1.5 GB, free: 1.117 MB / 1.186 GB Notification: Performance of collectInitialEqns (initialization): time 7.506e-05/0.5189, allocations: 112.3 kB / 1.5 GB, free: 1.004 MB / 1.186 GB Notification: Performance of collectInitialBindings (initialization): time 3.465e-05/0.5189, allocations: 27.73 kB / 1.5 GB, free: 0.9766 MB / 1.186 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.845e-05/0.519, allocations: 37.66 kB / 1.5 GB, free: 0.9336 MB / 1.186 GB Notification: Performance of setup shared object (initialization): time 0.0001325/0.5191, allocations: 318.8 kB / 1.501 GB, free: 0.6133 MB / 1.186 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002656/0.5194, allocations: 67.94 kB / 1.501 GB, free: 0.5469 MB / 1.186 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002881/0.5197, allocations: 108.2 kB / 1.501 GB, free: 436 kB / 1.186 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005453/0.5202, allocations: 180 kB / 1.501 GB, free: 240 kB / 1.186 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.054e-06/0.5202, allocations: 0 / 1.501 GB, free: 240 kB / 1.186 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.001132/0.5214, allocations: 286.5 kB / 1.501 GB, free: 15.94 MB / 1.201 GB Notification: Performance of prepare postOptimizeDAE: time 1.891e-05/0.5214, allocations: 12.12 kB / 1.501 GB, free: 15.93 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.879e-06/0.5214, allocations: 3.938 kB / 1.501 GB, free: 15.93 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006097/0.522, allocations: 88.69 kB / 1.501 GB, free: 15.84 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002225/0.5222, allocations: 31.97 kB / 1.501 GB, free: 15.81 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002363/0.5246, allocations: 1.554 MB / 1.503 GB, free: 14.13 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002287/0.5248, allocations: 27.91 kB / 1.503 GB, free: 14.11 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.112e-05/0.5248, allocations: 7.984 kB / 1.503 GB, free: 14.1 MB / 1.201 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.0001202/0.525, allocations: 121.7 kB / 1.503 GB, free: 13.97 MB / 1.201 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.504e-05/0.525, allocations: 16.02 kB / 1.503 GB, free: 13.95 MB / 1.201 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001168/0.5262, allocations: 315.8 kB / 1.503 GB, free: 13.64 MB / 1.201 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.076e-06/0.5262, allocations: 0 / 1.503 GB, free: 13.64 MB / 1.201 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.132e-06/0.5262, allocations: 4 kB / 1.503 GB, free: 13.64 MB / 1.201 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.899e-06/0.5262, allocations: 4 kB / 1.503 GB, free: 13.63 MB / 1.201 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002867/0.5265, allocations: 212.6 kB / 1.504 GB, free: 13.38 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.723e-06/0.5265, allocations: 0 / 1.504 GB, free: 13.38 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002119/0.5267, allocations: 27.97 kB / 1.504 GB, free: 13.36 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004494/0.5271, allocations: 80.7 kB / 1.504 GB, free: 13.27 MB / 1.201 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.005e-05/0.5272, allocations: 4 kB / 1.504 GB, free: 13.27 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002044/0.5292, allocations: 1.586 MB / 1.505 GB, free: 11.56 MB / 1.201 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.242e-06/0.5292, allocations: 0 / 1.505 GB, free: 11.56 MB / 1.201 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00112/0.5303, allocations: 374 kB / 1.506 GB, free: 11.18 MB / 1.201 GB Notification: Performance of postOpt removeConstants (simulation): time 8.728e-05/0.5304, allocations: 31.88 kB / 1.506 GB, free: 11.14 MB / 1.201 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.978e-05/0.5304, allocations: 3.938 kB / 1.506 GB, free: 11.14 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002292/0.5307, allocations: 23.97 kB / 1.506 GB, free: 11.12 MB / 1.201 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.486e-05/0.5307, allocations: 8.125 kB / 1.506 GB, free: 11.11 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.656e-05/0.5307, allocations: 7.984 kB / 1.506 GB, free: 11.1 MB / 1.201 GB Notification: Performance of sorting global known variables: time 0.0001009/0.5308, allocations: 117.9 kB / 1.506 GB, free: 10.99 MB / 1.201 GB Notification: Performance of sort global known variables: time 7e-08/0.5308, allocations: 0 / 1.506 GB, free: 10.99 MB / 1.201 GB Notification: Performance of remove unused functions: time 0.0003669/0.5312, allocations: 43.94 kB / 1.506 GB, free: 10.95 MB / 1.201 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.001504/0.5327, allocations: 0.9316 MB / 1.507 GB, free: 9.984 MB / 1.201 GB Notification: Performance of simCode: created initialization part: time 0.0009675/0.5337, allocations: 304.8 kB / 1.507 GB, free: 9.676 MB / 1.201 GB Notification: Performance of simCode: created event and clocks part: time 2.615e-06/0.5337, allocations: 0 / 1.507 GB, free: 9.676 MB / 1.201 GB Notification: Performance of simCode: created simulation system equations: time 0.0005862/0.5343, allocations: 230.5 kB / 1.507 GB, free: 9.438 MB / 1.201 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003343/0.5346, allocations: 27.92 kB / 1.507 GB, free: 9.41 MB / 1.201 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004412/0.539, allocations: 2.063 MB / 1.509 GB, free: 7.242 MB / 1.201 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003772/0.5394, allocations: 0.7085 MB / 1.51 GB, free: 6.504 MB / 1.201 GB Notification: Performance of simCode: alias equations: time 0.0001649/0.5396, allocations: 20.97 kB / 1.51 GB, free: 6.48 MB / 1.201 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001036/0.5397, allocations: 35.41 kB / 1.51 GB, free: 6.445 MB / 1.201 GB Notification: Performance of SimCode: time 1.353e-06/0.5397, allocations: 0 / 1.51 GB, free: 6.445 MB / 1.201 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04049/0.5802, allocations: 4.92 MB / 1.515 GB, free: 1.695 MB / 1.201 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.19/13.77, allocations: 10.08 kB / 1.515 GB, free: 1.691 MB / 1.201 GB " [Timeout remaining time 286] (rm -f Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.pipe >> ../files/Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi_res.mat --tempDir=temp_Buildings_latest_Buildings_Utilities_Psychrometrics_Examples_TWetBul_TDryBulXi_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Utilities_Psychrometrics_Examples_TWetBul_TDryBulXi.fmu > Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Psychrometrics_Examples_TWetBul_TDryBulXi.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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: 20.8973659100011]