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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00171/0.00171, allocations: 114.7 kB / 17.6 MB, free: 4.668 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002025/0.002025, allocations: 189.9 kB / 20.78 MB, free: 1.5 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.438/1.438, allocations: 225.6 MB / 249.4 MB, free: 3.16 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.761/2.761, allocations: 476.7 MB / 0.7629 GB, free: 15.24 MB / 0.6075 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi,fileNamePrefix="Buildings_11_Buildings_Utilities_Psychrometrics_Examples_TWetBul_TDryBulPhi",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi,fileNamePrefix="Buildings_11_Buildings_Utilities_Psychrometrics_Examples_TWetBul_TDryBulPhi",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002232/0.002232, allocations: 67.89 kB / 1.107 GB, free: 5.082 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.01/1.012, allocations: 168.7 MB / 1.271 GB, free: 7.688 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi): time 0.003589/1.016, allocations: 1.941 MB / 1.273 GB, free: 6.355 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.2071/1.223, allocations: 156 MB / 1.426 GB, free: 2.238 MB / 1.107 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003316/1.223, allocations: 1.094 kB / 1.426 GB, free: 2.238 MB / 1.107 GB Notification: Performance of NFTyping.typeComponents: time 0.0002417/1.224, allocations: 30.06 kB / 1.426 GB, free: 2.211 MB / 1.107 GB Notification: Performance of NFTyping.typeBindings: time 0.0004614/1.224, allocations: 80.66 kB / 1.426 GB, free: 2.145 MB / 1.107 GB Notification: Performance of NFTyping.typeClassSections: time 0.001017/1.225, allocations: 262.3 kB / 1.426 GB, free: 1.945 MB / 1.107 GB Notification: Performance of NFFlatten.flatten: time 0.0005202/1.226, allocations: 268.3 kB / 1.426 GB, free: 1.789 MB / 1.107 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002209/1.226, allocations: 54.86 kB / 1.426 GB, free: 1.75 MB / 1.107 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001755/1.228, allocations: 252.7 kB / 1.427 GB, free: 1.633 MB / 1.107 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002308/1.228, allocations: 95.16 kB / 1.427 GB, free: 1.57 MB / 1.107 GB Notification: Performance of NFPackage.collectConstants: time 4.236e-05/1.228, allocations: 14.25 kB / 1.427 GB, free: 1.57 MB / 1.107 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004303/1.228, allocations: 183.4 kB / 1.427 GB, free: 1.484 MB / 1.107 GB Notification: Performance of NFScalarize.scalarize: time 7.711e-05/1.228, allocations: 47.8 kB / 1.427 GB, free: 1.445 MB / 1.107 GB Notification: Performance of NFVerifyModel.verify: time 0.0001316/1.228, allocations: 93.27 kB / 1.427 GB, free: 1.383 MB / 1.107 GB Notification: Performance of NFConvertDAE.convert: time 0.0005934/1.229, allocations: 290.4 kB / 1.427 GB, free: 1.199 MB / 1.107 GB Notification: Performance of FrontEnd - DAE generated: time 5.34e-06/1.229, allocations: 1 kB / 1.427 GB, free: 1.199 MB / 1.107 GB Notification: Performance of FrontEnd: time 1.663e-06/1.229, allocations: 3.938 kB / 1.427 GB, free: 1.195 MB / 1.107 GB Notification: Performance of Transformations before backend: time 8.577e-06/1.229, allocations: 0 / 1.427 GB, free: 1.195 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: 39 * Number of variables: 39 Notification: Performance of Generate backend data structure: time 0.001147/1.23, allocations: 0.5265 MB / 1.428 GB, free: 0.707 MB / 1.107 GB Notification: Performance of prepare preOptimizeDAE: time 4.143e-05/1.23, allocations: 9.812 kB / 1.428 GB, free: 0.707 MB / 1.107 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.27e-05/1.23, allocations: 48.48 kB / 1.428 GB, free: 0.6562 MB / 1.107 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000931/1.231, allocations: 85.16 kB / 1.428 GB, free: 0.6211 MB / 1.107 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003349/1.232, allocations: 235.3 kB / 1.428 GB, free: 380 kB / 1.107 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.231e-05/1.232, allocations: 38 kB / 1.428 GB, free: 344 kB / 1.107 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.399e-05/1.232, allocations: 18.19 kB / 1.428 GB, free: 336 kB / 1.107 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006267/1.232, allocations: 264.6 kB / 1.429 GB, free: 124 kB / 1.107 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.916e-05/1.232, allocations: 0 / 1.429 GB, free: 124 kB / 1.107 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.936e-05/1.232, allocations: 6.219 kB / 1.429 GB, free: 120 kB / 1.107 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.959e-06/1.232, allocations: 4.5 kB / 1.429 GB, free: 120 kB / 1.107 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005208/1.233, allocations: 170.1 kB / 1.429 GB, free: 36 kB / 1.107 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00193/1.235, allocations: 1.184 MB / 1.43 GB, free: 14.92 MB / 1.123 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007984/1.236, allocations: 197.2 kB / 1.43 GB, free: 14.82 MB / 1.123 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002009/1.236, allocations: 72.12 kB / 1.43 GB, free: 14.78 MB / 1.123 GB Notification: Performance of preOpt evalFunc (simulation): time 3.05e-05/1.236, allocations: 1.219 kB / 1.43 GB, free: 14.78 MB / 1.123 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.579e-05/1.236, allocations: 40.5 kB / 1.43 GB, free: 14.73 MB / 1.123 GB Notification: Performance of pre-optimization done (n=12): time 1.683e-06/1.236, allocations: 0 / 1.43 GB, free: 14.73 MB / 1.123 GB Notification: Performance of matching and sorting (n=12): time 0.002866/1.239, allocations: 0.6233 MB / 1.431 GB, free: 14.29 MB / 1.123 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.367e-05/1.239, allocations: 56.88 kB / 1.431 GB, free: 14.23 MB / 1.123 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002967/1.239, allocations: 216 kB / 1.431 GB, free: 14.07 MB / 1.123 GB Notification: Performance of collectPreVariables (initialization): time 3.319e-05/1.239, allocations: 26.98 kB / 1.431 GB, free: 14.04 MB / 1.123 GB Notification: Performance of collectInitialEqns (initialization): time 0.000103/1.239, allocations: 141 kB / 1.431 GB, free: 13.9 MB / 1.123 GB Notification: Performance of collectInitialBindings (initialization): time 5.287e-05/1.239, allocations: 45.11 kB / 1.431 GB, free: 13.86 MB / 1.123 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001031/1.239, allocations: 45.44 kB / 1.431 GB, free: 13.83 MB / 1.123 GB Notification: Performance of setup shared object (initialization): time 0.0001529/1.24, allocations: 326.6 kB / 1.432 GB, free: 13.5 MB / 1.123 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002429/1.24, allocations: 75.25 kB / 1.432 GB, free: 13.46 MB / 1.123 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002886/1.24, allocations: 128.4 kB / 1.432 GB, free: 13.36 MB / 1.123 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004795/1.241, allocations: 204.1 kB / 1.432 GB, free: 13.21 MB / 1.123 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.785e-06/1.241, allocations: 1 kB / 1.432 GB, free: 13.21 MB / 1.123 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.001573/1.242, allocations: 375.2 kB / 1.432 GB, free: 13 MB / 1.123 GB Notification: Performance of prepare postOptimizeDAE: time 1.687e-05/1.242, allocations: 9.406 kB / 1.432 GB, free: 12.99 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.045e-06/1.242, allocations: 2.031 kB / 1.432 GB, free: 12.99 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001145/1.243, allocations: 161.3 kB / 1.432 GB, free: 12.91 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002247/1.244, allocations: 34.78 kB / 1.433 GB, free: 12.9 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004531/1.248, allocations: 3.261 MB / 1.436 GB, free: 9.703 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003997/1.248, allocations: 38.08 kB / 1.436 GB, free: 9.68 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.204e-05/1.249, allocations: 9.609 kB / 1.436 GB, free: 9.676 MB / 1.123 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.0001793/1.249, allocations: 134.9 kB / 1.436 GB, free: 9.543 MB / 1.123 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.8e-05/1.249, allocations: 16.53 kB / 1.436 GB, free: 9.535 MB / 1.123 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001418/1.25, allocations: 370.8 kB / 1.436 GB, free: 9.297 MB / 1.123 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.339e-06/1.25, allocations: 6.281 kB / 1.436 GB, free: 9.293 MB / 1.123 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.208e-06/1.25, allocations: 7.922 kB / 1.436 GB, free: 9.285 MB / 1.123 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.747e-06/1.25, allocations: 1.469 kB / 1.436 GB, free: 9.285 MB / 1.123 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003899/1.251, allocations: 274.3 kB / 1.437 GB, free: 9.012 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.595e-06/1.251, allocations: 0 / 1.437 GB, free: 9.012 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001445/1.251, allocations: 32.39 kB / 1.437 GB, free: 8.996 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000857/1.252, allocations: 135.9 kB / 1.437 GB, free: 8.926 MB / 1.123 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.199e-05/1.252, allocations: 5.5 kB / 1.437 GB, free: 8.922 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004191/1.256, allocations: 3.303 MB / 1.44 GB, free: 5.707 MB / 1.123 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.763e-06/1.256, allocations: 0 / 1.44 GB, free: 5.707 MB / 1.123 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001366/1.257, allocations: 438 kB / 1.44 GB, free: 5.406 MB / 1.123 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001481/1.257, allocations: 110.5 kB / 1.44 GB, free: 5.289 MB / 1.123 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.098e-05/1.257, allocations: 5.375 kB / 1.44 GB, free: 5.285 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002982/1.258, allocations: 12.23 kB / 1.44 GB, free: 5.281 MB / 1.123 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.642e-05/1.258, allocations: 20.34 kB / 1.44 GB, free: 5.27 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.409e-05/1.258, allocations: 12.12 kB / 1.44 GB, free: 5.262 MB / 1.123 GB Notification: Performance of sorting global known variables: time 0.0002088/1.258, allocations: 160.4 kB / 1.441 GB, free: 5.145 MB / 1.123 GB Notification: Performance of sort global known variables: time 9e-08/1.258, allocations: 0 / 1.441 GB, free: 5.145 MB / 1.123 GB Notification: Performance of remove unused functions: time 0.0005008/1.258, allocations: 75.02 kB / 1.441 GB, free: 5.129 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 (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.001749/1.26, allocations: 0.9782 MB / 1.442 GB, free: 4.289 MB / 1.123 GB Notification: Performance of simCode: created initialization part: time 0.001177/1.261, allocations: 442.8 kB / 1.442 GB, free: 3.957 MB / 1.123 GB Notification: Performance of simCode: created event and clocks part: time 3.336e-06/1.261, allocations: 1.188 kB / 1.442 GB, free: 3.957 MB / 1.123 GB Notification: Performance of simCode: created simulation system equations: time 0.0007488/1.262, allocations: 356.3 kB / 1.442 GB, free: 3.66 MB / 1.123 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004908/1.263, allocations: 59.73 kB / 1.442 GB, free: 3.625 MB / 1.123 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00586/1.269, allocations: 2.525 MB / 1.445 GB, free: 1.656 MB / 1.123 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003828/1.269, allocations: 0.7355 MB / 1.446 GB, free: 0.9336 MB / 1.123 GB Notification: Performance of simCode: alias equations: time 0.0002076/1.269, allocations: 41.67 kB / 1.446 GB, free: 0.9102 MB / 1.123 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001122/1.269, allocations: 54.08 kB / 1.446 GB, free: 0.8672 MB / 1.123 GB Notification: Performance of SimCode: time 9.42e-07/1.269, allocations: 5.5 kB / 1.446 GB, free: 0.8633 MB / 1.123 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0414/1.311, allocations: 7.361 MB / 1.453 GB, free: 9.703 MB / 1.139 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.15/13.46, allocations: 12.44 kB / 1.453 GB, free: 9.695 MB / 1.139 GB " [Timeout remaining time 286] (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 --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_2/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: 19.576112849987112]