Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001376/0.001376, allocations: 110.4 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.001697/0.001697, allocations: 219.8 kB / 23.05 MB, free: 5.074 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.569/1.569, allocations: 230.6 MB / 256.8 MB, free: 7.973 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.875/2.875, allocations: 476.7 MB / 0.7715 GB, free: 4.266 MB / 0.6231 GB " [Timeout remaining time 177] 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: "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi,fileNamePrefix="Buildings_11_Buildings_Utilities_Psychrometrics_Examples_TWetBul_TDryBulPhi",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi,fileNamePrefix="Buildings_11_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.002046/0.002046, allocations: 67.83 kB / 1.118 GB, free: 40.32 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3531/0.3552, allocations: 170 MB / 1.284 GB, free: 11.73 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi): time 0.003775/0.3589, allocations: 1.961 MB / 1.286 GB, free: 9.758 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.2074/0.5663, allocations: 158.9 MB / 1.441 GB, free: 10.28 MB / 1.139 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002548/0.5666, allocations: 0 / 1.441 GB, free: 10.28 MB / 1.139 GB Notification: Performance of NFTyping.typeComponents: time 0.0002432/0.5668, allocations: 31.67 kB / 1.441 GB, free: 10.25 MB / 1.139 GB Notification: Performance of NFTyping.typeBindings: time 0.0003969/0.5672, allocations: 75.42 kB / 1.441 GB, free: 10.18 MB / 1.139 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009221/0.5681, allocations: 259.1 kB / 1.442 GB, free: 9.922 MB / 1.139 GB Notification: Performance of NFFlatten.flatten: time 0.0003694/0.5685, allocations: 271.1 kB / 1.442 GB, free: 9.656 MB / 1.139 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002037/0.5687, allocations: 54.53 kB / 1.442 GB, free: 9.602 MB / 1.139 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001513/0.5702, allocations: 243.2 kB / 1.442 GB, free: 9.387 MB / 1.139 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001846/0.5704, allocations: 95.59 kB / 1.442 GB, free: 9.293 MB / 1.139 GB Notification: Performance of NFPackage.collectConstants: time 3.721e-05/0.5704, allocations: 16 kB / 1.442 GB, free: 9.277 MB / 1.139 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004052/0.5708, allocations: 195.6 kB / 1.442 GB, free: 9.086 MB / 1.139 GB Notification: Performance of NFScalarize.scalarize: time 7.947e-05/0.5709, allocations: 43.89 kB / 1.442 GB, free: 9.043 MB / 1.139 GB Notification: Performance of NFVerifyModel.verify: time 0.0001172/0.571, allocations: 91.52 kB / 1.443 GB, free: 8.953 MB / 1.139 GB Notification: Performance of NFConvertDAE.convert: time 0.000534/0.5716, allocations: 294.9 kB / 1.443 GB, free: 8.664 MB / 1.139 GB Notification: Performance of FrontEnd - DAE generated: time 8.746e-06/0.5716, allocations: 7.984 kB / 1.443 GB, free: 8.656 MB / 1.139 GB Notification: Performance of FrontEnd: time 1.943e-06/0.5716, allocations: 0 / 1.443 GB, free: 8.656 MB / 1.139 GB Notification: Performance of Transformations before backend: time 7.865e-06/0.5716, allocations: 0 / 1.443 GB, free: 8.656 MB / 1.139 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.001167/0.5727, allocations: 465.3 kB / 1.443 GB, free: 8.172 MB / 1.139 GB Notification: Performance of prepare preOptimizeDAE: time 4.733e-05/0.5728, allocations: 8.031 kB / 1.443 GB, free: 8.164 MB / 1.139 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.268e-05/0.5728, allocations: 4.328 kB / 1.443 GB, free: 8.16 MB / 1.139 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.258e-05/0.5729, allocations: 58.53 kB / 1.443 GB, free: 8.094 MB / 1.139 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001224/0.5741, allocations: 111.7 kB / 1.443 GB, free: 7.984 MB / 1.139 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003096/0.5744, allocations: 172.8 kB / 1.444 GB, free: 7.789 MB / 1.139 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001036/0.5745, allocations: 63.73 kB / 1.444 GB, free: 7.715 MB / 1.139 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.335e-05/0.5746, allocations: 27.94 kB / 1.444 GB, free: 7.688 MB / 1.139 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006198/0.5752, allocations: 250.7 kB / 1.444 GB, free: 7.414 MB / 1.139 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.191e-05/0.5752, allocations: 7.938 kB / 1.444 GB, free: 7.406 MB / 1.139 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.373e-05/0.5752, allocations: 12 kB / 1.444 GB, free: 7.395 MB / 1.139 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.927e-06/0.5752, allocations: 4 kB / 1.444 GB, free: 7.391 MB / 1.139 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004806/0.5757, allocations: 163.8 kB / 1.444 GB, free: 7.23 MB / 1.139 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0019/0.5776, allocations: 1.152 MB / 1.445 GB, free: 6.008 MB / 1.139 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007919/0.5784, allocations: 202.6 kB / 1.445 GB, free: 5.801 MB / 1.139 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000178/0.5786, allocations: 68.81 kB / 1.445 GB, free: 5.73 MB / 1.139 GB Notification: Performance of preOpt evalFunc (simulation): time 2.123e-05/0.5786, allocations: 0 / 1.445 GB, free: 5.73 MB / 1.139 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.315e-05/0.5786, allocations: 34.5 kB / 1.445 GB, free: 5.688 MB / 1.139 GB Notification: Performance of pre-optimization done (n=12): time 1.122e-06/0.5786, allocations: 0 / 1.445 GB, free: 5.688 MB / 1.139 GB Notification: Performance of matching and sorting (n=12): time 0.002655/0.5813, allocations: 495 kB / 1.446 GB, free: 5.191 MB / 1.139 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.025e-05/0.5814, allocations: 55.41 kB / 1.446 GB, free: 5.125 MB / 1.139 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002799/0.5816, allocations: 218.9 kB / 1.446 GB, free: 4.902 MB / 1.139 GB Notification: Performance of collectPreVariables (initialization): time 3.301e-05/0.5817, allocations: 29.7 kB / 1.446 GB, free: 4.867 MB / 1.139 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001052/0.5818, allocations: 136.2 kB / 1.446 GB, free: 4.73 MB / 1.139 GB Notification: Performance of collectInitialBindings (initialization): time 5.555e-05/0.5818, allocations: 51.58 kB / 1.446 GB, free: 4.68 MB / 1.139 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001087/0.5819, allocations: 65.5 kB / 1.446 GB, free: 4.609 MB / 1.139 GB Notification: Performance of setup shared object (initialization): time 0.0001474/0.5821, allocations: 318.8 kB / 1.447 GB, free: 4.289 MB / 1.139 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002318/0.5823, allocations: 71.94 kB / 1.447 GB, free: 4.219 MB / 1.139 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003187/0.5826, allocations: 130.7 kB / 1.447 GB, free: 4.066 MB / 1.139 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000468/0.5831, allocations: 210.2 kB / 1.447 GB, free: 3.84 MB / 1.139 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.594e-06/0.5831, allocations: 0 / 1.447 GB, free: 3.84 MB / 1.139 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.001504/0.5846, allocations: 370.8 kB / 1.448 GB, free: 3.465 MB / 1.139 GB Notification: Performance of prepare postOptimizeDAE: time 2.378e-05/0.5846, allocations: 11.98 kB / 1.448 GB, free: 3.453 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.484e-06/0.5846, allocations: 0 / 1.448 GB, free: 3.453 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001148/0.5858, allocations: 157.8 kB / 1.448 GB, free: 3.293 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000239/0.586, allocations: 43.89 kB / 1.448 GB, free: 3.25 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005061/0.5911, allocations: 3.035 MB / 1.451 GB, free: 15.97 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004373/0.5915, allocations: 43.73 kB / 1.451 GB, free: 15.93 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.729e-05/0.5915, allocations: 7.938 kB / 1.451 GB, free: 15.92 MB / 1.154 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.0001821/0.5917, allocations: 133.8 kB / 1.451 GB, free: 15.78 MB / 1.154 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.711e-05/0.5918, allocations: 19.89 kB / 1.451 GB, free: 15.76 MB / 1.154 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00136/0.5932, allocations: 370 kB / 1.451 GB, free: 15.39 MB / 1.154 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.31e-06/0.5932, allocations: 4 kB / 1.451 GB, free: 15.38 MB / 1.154 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.283e-06/0.5932, allocations: 0 / 1.451 GB, free: 15.38 MB / 1.154 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.61e-06/0.5932, allocations: 3.984 kB / 1.451 GB, free: 15.38 MB / 1.154 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003537/0.5935, allocations: 256.3 kB / 1.452 GB, free: 15.09 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.933e-06/0.5935, allocations: 0 / 1.452 GB, free: 15.09 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000139/0.5937, allocations: 19.98 kB / 1.452 GB, free: 15.07 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008406/0.5945, allocations: 145.5 kB / 1.452 GB, free: 14.92 MB / 1.154 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.303e-05/0.5945, allocations: 4 kB / 1.452 GB, free: 14.91 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004078/0.5986, allocations: 3.098 MB / 1.455 GB, free: 11.58 MB / 1.154 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.503e-06/0.5986, allocations: 0 / 1.455 GB, free: 11.58 MB / 1.154 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001342/0.6, allocations: 431.1 kB / 1.455 GB, free: 11.14 MB / 1.154 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001088/0.6001, allocations: 39.75 kB / 1.455 GB, free: 11.1 MB / 1.154 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.706e-05/0.6001, allocations: 4 kB / 1.455 GB, free: 11.1 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002877/0.6004, allocations: 15.98 kB / 1.455 GB, free: 11.08 MB / 1.154 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.764e-05/0.6005, allocations: 23.91 kB / 1.455 GB, free: 11.06 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.16e-05/0.6005, allocations: 8 kB / 1.455 GB, free: 11.05 MB / 1.154 GB Notification: Performance of sorting global known variables: time 0.0002299/0.6007, allocations: 159.1 kB / 1.455 GB, free: 10.89 MB / 1.154 GB Notification: Performance of sort global known variables: time 1e-07/0.6007, allocations: 0 / 1.455 GB, free: 10.89 MB / 1.154 GB Notification: Performance of remove unused functions: time 0.0004645/0.6012, allocations: 79.88 kB / 1.455 GB, free: 10.82 MB / 1.154 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.001831/0.603, allocations: 0.9637 MB / 1.456 GB, free: 9.816 MB / 1.154 GB Notification: Performance of simCode: created initialization part: time 0.001142/0.6042, allocations: 449.5 kB / 1.457 GB, free: 9.352 MB / 1.154 GB Notification: Performance of simCode: created event and clocks part: time 2.685e-06/0.6042, allocations: 0 / 1.457 GB, free: 9.352 MB / 1.154 GB Notification: Performance of simCode: created simulation system equations: time 0.0007378/0.6049, allocations: 351.2 kB / 1.457 GB, free: 8.984 MB / 1.154 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004569/0.6054, allocations: 55.97 kB / 1.457 GB, free: 8.93 MB / 1.154 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005537/0.6109, allocations: 2.547 MB / 1.46 GB, free: 6.246 MB / 1.154 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004245/0.6113, allocations: 0.7361 MB / 1.46 GB, free: 5.484 MB / 1.154 GB Notification: Performance of simCode: alias equations: time 0.0001915/0.6115, allocations: 37.94 kB / 1.46 GB, free: 5.449 MB / 1.154 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001124/0.6116, allocations: 47.42 kB / 1.46 GB, free: 5.402 MB / 1.154 GB Notification: Performance of SimCode: time 1.253e-06/0.6116, allocations: 0 / 1.46 GB, free: 5.402 MB / 1.154 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03807/0.6497, allocations: 7.566 MB / 1.468 GB, free: 14.04 MB / 1.17 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.26/13.91, allocations: 9.719 kB / 1.468 GB, free: 14.04 MB / 1.17 GB " [Timeout remaining time 285] (rm -f Buildings_11_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.pipe ; mkfifo Buildings_11_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.pipe >> ../files/Buildings_11_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi_res.mat --tempDir=temp_Buildings_11_Buildings_Utilities_Psychrometrics_Examples_TWetBul_TDryBulPhi_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Utilities_Psychrometrics_Examples_TWetBul_TDryBulPhi.fmu > Buildings_11_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_Psychrometrics_Examples_TWetBul_TDryBulPhi.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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.849530993029475]