Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001508/0.001508, allocations: 113.9 kB / 17.16 MB, free: 5.895 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.001528/0.001528, allocations: 210.2 kB / 20.13 MB, free: 2.949 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.611/1.611, allocations: 230.6 MB / 253.5 MB, free: 15.1 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.071/3.071, allocations: 0.5003 GB / 0.8026 GB, free: 6.75 MB / 0.6387 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_TDryBulPhi,fileNamePrefix="Buildings_latest_Buildings_Utilities_Psychrometrics_Examples_TWetBul_TDryBulPhi",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi,fileNamePrefix="Buildings_latest_Buildings_Utilities_Psychrometrics_Examples_TWetBul_TDryBulPhi",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.002098/0.002098, allocations: 65.31 kB / 1.165 GB, free: 0.5547 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.023/1.025, allocations: 178.9 MB / 1.34 GB, free: 16.29 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi): time 0.003401/1.028, allocations: 1.955 MB / 1.342 GB, free: 14.91 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.2117/1.24, allocations: 158.8 MB / 1.497 GB, free: 6.812 MB / 1.17 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002283/1.24, allocations: 9.188 kB / 1.497 GB, free: 6.805 MB / 1.17 GB Notification: Performance of NFTyping.typeComponents: time 0.0002061/1.24, allocations: 25.08 kB / 1.497 GB, free: 6.781 MB / 1.17 GB Notification: Performance of NFTyping.typeBindings: time 0.0003123/1.24, allocations: 73.19 kB / 1.497 GB, free: 6.723 MB / 1.17 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008297/1.241, allocations: 263.7 kB / 1.497 GB, free: 6.523 MB / 1.17 GB Notification: Performance of NFFlatten.flatten: time 0.000349/1.242, allocations: 268 kB / 1.498 GB, free: 6.367 MB / 1.17 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001592/1.242, allocations: 48.39 kB / 1.498 GB, free: 6.336 MB / 1.17 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001513/1.243, allocations: 244.5 kB / 1.498 GB, free: 6.227 MB / 1.17 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001521/1.243, allocations: 93.2 kB / 1.498 GB, free: 6.164 MB / 1.17 GB Notification: Performance of NFPackage.collectConstants: time 3.166e-05/1.243, allocations: 15.44 kB / 1.498 GB, free: 6.164 MB / 1.17 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004089/1.244, allocations: 195.3 kB / 1.498 GB, free: 6.07 MB / 1.17 GB Notification: Performance of NFScalarize.scalarize: time 7.229e-05/1.244, allocations: 52.78 kB / 1.498 GB, free: 6.027 MB / 1.17 GB Notification: Performance of NFVerifyModel.verify: time 0.0001044/1.244, allocations: 89.06 kB / 1.498 GB, free: 5.969 MB / 1.17 GB Notification: Performance of NFConvertDAE.convert: time 0.0004779/1.245, allocations: 298.2 kB / 1.499 GB, free: 5.781 MB / 1.17 GB Notification: Performance of FrontEnd - DAE generated: time 3.777e-06/1.245, allocations: 0 / 1.499 GB, free: 5.781 MB / 1.17 GB Notification: Performance of FrontEnd: time 1.483e-06/1.245, allocations: 0 / 1.499 GB, free: 5.781 MB / 1.17 GB Notification: Performance of Transformations before backend: time 5.6e-06/1.245, allocations: 0 / 1.499 GB, free: 5.781 MB / 1.17 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.001042/1.246, allocations: 0.5317 MB / 1.499 GB, free: 5.289 MB / 1.17 GB Notification: Performance of prepare preOptimizeDAE: time 4.524e-05/1.246, allocations: 9.375 kB / 1.499 GB, free: 5.289 MB / 1.17 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.697e-05/1.246, allocations: 8.391 kB / 1.499 GB, free: 5.285 MB / 1.17 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.781e-05/1.246, allocations: 52.17 kB / 1.499 GB, free: 5.23 MB / 1.17 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001228/1.247, allocations: 114.5 kB / 1.499 GB, free: 5.121 MB / 1.17 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003432/1.247, allocations: 230.7 kB / 1.5 GB, free: 4.855 MB / 1.17 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.965e-05/1.247, allocations: 42.03 kB / 1.5 GB, free: 4.809 MB / 1.17 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.502e-05/1.247, allocations: 16 kB / 1.5 GB, free: 4.793 MB / 1.17 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005816/1.248, allocations: 266.5 kB / 1.5 GB, free: 4.504 MB / 1.17 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.169e-05/1.248, allocations: 4 kB / 1.5 GB, free: 4.5 MB / 1.17 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.744e-05/1.248, allocations: 7.938 kB / 1.5 GB, free: 4.492 MB / 1.17 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.354e-06/1.248, allocations: 4 kB / 1.5 GB, free: 4.488 MB / 1.17 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000498/1.249, allocations: 175.8 kB / 1.5 GB, free: 4.316 MB / 1.17 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001848/1.25, allocations: 1.184 MB / 1.501 GB, free: 3.055 MB / 1.17 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000803/1.251, allocations: 194.6 kB / 1.501 GB, free: 2.855 MB / 1.17 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000193/1.251, allocations: 68.81 kB / 1.501 GB, free: 2.785 MB / 1.17 GB Notification: Performance of preOpt evalFunc (simulation): time 3.084e-05/1.251, allocations: 11.94 kB / 1.501 GB, free: 2.773 MB / 1.17 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.854e-05/1.251, allocations: 34.5 kB / 1.502 GB, free: 2.73 MB / 1.17 GB Notification: Performance of pre-optimization done (n=12): time 1.794e-06/1.251, allocations: 0 / 1.502 GB, free: 2.73 MB / 1.17 GB Notification: Performance of matching and sorting (n=12): time 0.002837/1.254, allocations: 0.6182 MB / 1.502 GB, free: 2.062 MB / 1.17 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.051e-05/1.254, allocations: 55.34 kB / 1.502 GB, free: 1.996 MB / 1.17 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002801/1.255, allocations: 215 kB / 1.502 GB, free: 1.777 MB / 1.17 GB Notification: Performance of collectPreVariables (initialization): time 3.946e-05/1.255, allocations: 29.7 kB / 1.502 GB, free: 1.742 MB / 1.17 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001219/1.255, allocations: 148.1 kB / 1.503 GB, free: 1.594 MB / 1.17 GB Notification: Performance of collectInitialBindings (initialization): time 4.191e-05/1.255, allocations: 35.69 kB / 1.503 GB, free: 1.559 MB / 1.17 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001068/1.255, allocations: 53.58 kB / 1.503 GB, free: 1.5 MB / 1.17 GB Notification: Performance of setup shared object (initialization): time 0.0001522/1.255, allocations: 326.8 kB / 1.503 GB, free: 1.172 MB / 1.17 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002328/1.255, allocations: 75.94 kB / 1.503 GB, free: 1.098 MB / 1.17 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002796/1.256, allocations: 127.7 kB / 1.503 GB, free: 0.9453 MB / 1.17 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004601/1.256, allocations: 200.5 kB / 1.503 GB, free: 0.7266 MB / 1.17 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.765e-06/1.256, allocations: 0 / 1.503 GB, free: 0.7266 MB / 1.17 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.001537/1.258, allocations: 382.8 kB / 1.504 GB, free: 348 kB / 1.17 GB Notification: Performance of prepare postOptimizeDAE: time 1.705e-05/1.258, allocations: 4 kB / 1.504 GB, free: 344 kB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.305e-06/1.258, allocations: 4 kB / 1.504 GB, free: 340 kB / 1.17 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001129/1.259, allocations: 157.7 kB / 1.504 GB, free: 176 kB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002302/1.259, allocations: 39.97 kB / 1.504 GB, free: 136 kB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004543/1.264, allocations: 3.27 MB / 1.507 GB, free: 12.59 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003719/1.264, allocations: 35.88 kB / 1.507 GB, free: 12.55 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.686e-05/1.264, allocations: 11.92 kB / 1.507 GB, free: 12.54 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.0001574/1.264, allocations: 135.8 kB / 1.507 GB, free: 12.4 MB / 1.186 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.821e-05/1.264, allocations: 19.86 kB / 1.507 GB, free: 12.38 MB / 1.186 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001365/1.266, allocations: 368.3 kB / 1.508 GB, free: 12 MB / 1.186 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.799e-06/1.266, allocations: 4 kB / 1.508 GB, free: 12 MB / 1.186 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.894e-06/1.266, allocations: 4 kB / 1.508 GB, free: 12 MB / 1.186 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.587e-06/1.266, allocations: 0 / 1.508 GB, free: 12 MB / 1.186 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003784/1.266, allocations: 281.3 kB / 1.508 GB, free: 11.67 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.114e-06/1.266, allocations: 0 / 1.508 GB, free: 11.67 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001379/1.266, allocations: 27.86 kB / 1.508 GB, free: 11.64 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008943/1.267, allocations: 141.6 kB / 1.508 GB, free: 11.5 MB / 1.186 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.699e-05/1.267, allocations: 0 / 1.508 GB, free: 11.5 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004274/1.271, allocations: 3.301 MB / 1.511 GB, free: 7.914 MB / 1.186 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.553e-06/1.271, allocations: 3.938 kB / 1.511 GB, free: 7.91 MB / 1.186 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001385/1.273, allocations: 426.3 kB / 1.512 GB, free: 7.473 MB / 1.186 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001821/1.273, allocations: 124.8 kB / 1.512 GB, free: 7.332 MB / 1.186 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.068e-05/1.273, allocations: 4 kB / 1.512 GB, free: 7.328 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002998/1.273, allocations: 11.98 kB / 1.512 GB, free: 7.316 MB / 1.186 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.244e-05/1.273, allocations: 15.98 kB / 1.512 GB, free: 7.301 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.234e-05/1.273, allocations: 7.984 kB / 1.512 GB, free: 7.293 MB / 1.186 GB Notification: Performance of sorting global known variables: time 0.0002353/1.273, allocations: 163.1 kB / 1.512 GB, free: 7.133 MB / 1.186 GB Notification: Performance of sort global known variables: time 9e-08/1.273, allocations: 4 kB / 1.512 GB, free: 7.129 MB / 1.186 GB Notification: Performance of remove unused functions: time 0.0005244/1.274, allocations: 71.94 kB / 1.512 GB, free: 7.059 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.001865/1.276, allocations: 0.9805 MB / 1.513 GB, free: 6.043 MB / 1.186 GB Notification: Performance of simCode: created initialization part: time 0.001213/1.277, allocations: 441.7 kB / 1.513 GB, free: 5.586 MB / 1.186 GB Notification: Performance of simCode: created event and clocks part: time 2.815e-06/1.277, allocations: 0 / 1.513 GB, free: 5.586 MB / 1.186 GB Notification: Performance of simCode: created simulation system equations: time 0.0007324/1.278, allocations: 353.2 kB / 1.514 GB, free: 5.215 MB / 1.186 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004633/1.278, allocations: 61.61 kB / 1.514 GB, free: 5.156 MB / 1.186 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005799/1.284, allocations: 2.529 MB / 1.516 GB, free: 2.492 MB / 1.186 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005679/1.285, allocations: 0.7361 MB / 1.517 GB, free: 1.73 MB / 1.186 GB Notification: Performance of simCode: alias equations: time 0.0002162/1.285, allocations: 41.95 kB / 1.517 GB, free: 1.691 MB / 1.186 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001217/1.285, allocations: 55.41 kB / 1.517 GB, free: 1.637 MB / 1.186 GB Notification: Performance of SimCode: time 1.012e-06/1.285, allocations: 0 / 1.517 GB, free: 1.637 MB / 1.186 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03643/1.321, allocations: 7.369 MB / 1.524 GB, free: 10.52 MB / 1.201 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.62/13.94, allocations: 7.922 kB / 1.524 GB, free: 10.52 MB / 1.201 GB " [Timeout remaining time 286] (rm -f Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.pipe >> ../files/Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi_res.mat --tempDir=temp_Buildings_latest_Buildings_Utilities_Psychrometrics_Examples_TWetBul_TDryBulPhi_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Utilities_Psychrometrics_Examples_TWetBul_TDryBulPhi.fmu > Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Psychrometrics_Examples_TWetBul_TDryBulPhi.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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: 20.967204902961385]