Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.CDL.Psychrometrics.Validation.WetBulb_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.001567/0.001567, allocations: 100.7 kB / 16.45 MB, free: 6.5 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.001407/0.001407, allocations: 210.4 kB / 19.43 MB, free: 3.656 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.461/1.461, allocations: 230.6 MB / 252.8 MB, free: 8.969 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.255/3.255, allocations: 0.49 GB / 0.7916 GB, free: 33.4 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: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Psychrometrics.Validation.WetBulb_TDryBulPhi,fileNamePrefix="Buildings_12_Buildings_Controls_OBC_CDL_Psychrometrics_Validation_WetBulb_TDryBulPhi",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Psychrometrics.Validation.WetBulb_TDryBulPhi,fileNamePrefix="Buildings_12_Buildings_Controls_OBC_CDL_Psychrometrics_Validation_WetBulb_TDryBulPhi",fmuType="me",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.002843/0.002843, allocations: 71.45 kB / 1.149 GB, free: 26.35 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3613/0.3641, allocations: 176.1 MB / 1.321 GB, free: 3.371 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Psychrometrics.Validation.WetBulb_TDryBulPhi): time 0.002009/0.3661, allocations: 0.7737 MB / 1.322 GB, free: 2.598 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.001139/0.3673, allocations: 0.9214 MB / 1.322 GB, free: 1.664 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.751e-05/0.3673, allocations: 0 / 1.322 GB, free: 1.664 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 3.644e-05/0.3674, allocations: 7.922 kB / 1.322 GB, free: 1.656 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 8.847e-05/0.3675, allocations: 19.81 kB / 1.322 GB, free: 1.637 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002108/0.3677, allocations: 39.94 kB / 1.322 GB, free: 1.598 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.0001472/0.3678, allocations: 95.64 kB / 1.323 GB, free: 1.504 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001091/0.3679, allocations: 19.97 kB / 1.323 GB, free: 1.484 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 8.82e-05/0.368, allocations: 39.91 kB / 1.323 GB, free: 1.445 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001019/0.3681, allocations: 47.77 kB / 1.323 GB, free: 1.398 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 2.071e-05/0.3681, allocations: 8 kB / 1.323 GB, free: 1.391 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 6.007e-05/0.3682, allocations: 12 kB / 1.323 GB, free: 1.379 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 2.309e-05/0.3682, allocations: 15.97 kB / 1.323 GB, free: 1.363 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 5.666e-05/0.3683, allocations: 43.78 kB / 1.323 GB, free: 1.32 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0001728/0.3684, allocations: 95.83 kB / 1.323 GB, free: 1.227 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 4.288e-06/0.3685, allocations: 4 kB / 1.323 GB, free: 1.223 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.783e-06/0.3685, allocations: 0 / 1.323 GB, free: 1.223 MB / 1.014 GB Notification: Performance of Transformations before backend: time 5.42e-06/0.3685, allocations: 0 / 1.323 GB, free: 1.223 MB / 1.014 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 14 * Number of variables: 14 Notification: Performance of Generate backend data structure: time 0.0007763/0.3692, allocations: 419 kB / 1.323 GB, free: 0.7617 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.696e-05/0.3693, allocations: 15.98 kB / 1.323 GB, free: 0.7461 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.156e-05/0.3693, allocations: 34.69 kB / 1.323 GB, free: 0.7031 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004054/0.3697, allocations: 36.86 kB / 1.323 GB, free: 0.668 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001555/0.3699, allocations: 184.2 kB / 1.324 GB, free: 460 kB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.258e-05/0.3699, allocations: 384 / 1.324 GB, free: 460 kB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.101e-05/0.3699, allocations: 8.375 kB / 1.324 GB, free: 452 kB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00034/0.3703, allocations: 123.9 kB / 1.324 GB, free: 316 kB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.788e-06/0.3703, allocations: 7.875 kB / 1.324 GB, free: 308 kB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.629e-05/0.3703, allocations: 7.938 kB / 1.324 GB, free: 300 kB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.12e-06/0.3703, allocations: 0 / 1.324 GB, free: 300 kB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003783/0.3707, allocations: 99.89 kB / 1.324 GB, free: 200 kB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000648/0.3713, allocations: 444.6 kB / 1.324 GB, free: 15.71 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004312/0.3717, allocations: 109.2 kB / 1.324 GB, free: 15.58 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002066/0.372, allocations: 61.67 kB / 1.324 GB, free: 15.52 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 1.976e-05/0.372, allocations: 7.984 kB / 1.324 GB, free: 15.51 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.053e-05/0.372, allocations: 30.56 kB / 1.324 GB, free: 15.47 MB / 1.029 GB Notification: Performance of pre-optimization done (n=6): time 1.152e-06/0.372, allocations: 4 kB / 1.324 GB, free: 15.46 MB / 1.029 GB Notification: Performance of matching and sorting (n=6): time 0.000692/0.3727, allocations: 177.4 kB / 1.325 GB, free: 15.29 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.906e-05/0.3728, allocations: 77.11 kB / 1.325 GB, free: 15.19 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001297/0.3729, allocations: 148 kB / 1.325 GB, free: 15.04 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.432e-05/0.3729, allocations: 25.7 kB / 1.325 GB, free: 15.01 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 7.05e-05/0.373, allocations: 108.2 kB / 1.325 GB, free: 14.9 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 2.438e-05/0.373, allocations: 19.8 kB / 1.325 GB, free: 14.88 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.762e-05/0.3731, allocations: 25.7 kB / 1.325 GB, free: 14.85 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001498/0.3732, allocations: 318.8 kB / 1.325 GB, free: 14.53 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001908/0.3734, allocations: 43.95 kB / 1.325 GB, free: 14.48 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001918/0.3736, allocations: 61.67 kB / 1.325 GB, free: 14.42 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003836/0.374, allocations: 105.6 kB / 1.325 GB, free: 14.31 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.943e-06/0.374, allocations: 0 / 1.325 GB, free: 14.31 MB / 1.029 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0004456/0.3744, allocations: 149.5 kB / 1.326 GB, free: 14.16 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.601e-05/0.3744, allocations: 7.938 kB / 1.326 GB, free: 14.15 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.249e-06/0.3744, allocations: 0 / 1.326 GB, free: 14.15 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.522e-05/0.3745, allocations: 0 / 1.326 GB, free: 14.15 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001774/0.3746, allocations: 27.97 kB / 1.326 GB, free: 14.12 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.492e-06/0.3746, allocations: 0 / 1.326 GB, free: 14.12 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001395/0.3748, allocations: 23.88 kB / 1.326 GB, free: 14.1 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.283e-05/0.3748, allocations: 4 kB / 1.326 GB, free: 14.09 MB / 1.029 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (8): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000115/0.3749, allocations: 121.8 kB / 1.326 GB, free: 13.96 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.154e-05/0.375, allocations: 7.953 kB / 1.326 GB, free: 13.96 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005609/0.3755, allocations: 177.8 kB / 1.326 GB, free: 13.77 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.111e-06/0.3755, allocations: 4 kB / 1.326 GB, free: 13.77 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.789e-06/0.3755, allocations: 0 / 1.326 GB, free: 13.77 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.876e-06/0.3755, allocations: 7.922 kB / 1.326 GB, free: 13.76 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003034/0.3758, allocations: 213.5 kB / 1.326 GB, free: 13.5 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.368e-06/0.3759, allocations: 3.984 kB / 1.326 GB, free: 13.5 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001687/0.376, allocations: 31.86 kB / 1.326 GB, free: 13.46 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.875e-06/0.376, allocations: 0 / 1.326 GB, free: 13.46 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.466e-05/0.376, allocations: 4 kB / 1.326 GB, free: 13.46 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.587e-06/0.376, allocations: 7.984 kB / 1.326 GB, free: 13.45 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.163e-06/0.376, allocations: 0 / 1.326 GB, free: 13.45 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005582/0.3766, allocations: 327.1 kB / 1.327 GB, free: 13.12 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 8.788e-05/0.3767, allocations: 97 kB / 1.327 GB, free: 13 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.245e-05/0.3767, allocations: 4 kB / 1.327 GB, free: 13 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001917/0.3769, allocations: 15.98 kB / 1.327 GB, free: 12.98 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.014e-05/0.377, allocations: 15.91 kB / 1.327 GB, free: 12.97 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.508e-06/0.377, allocations: 4 kB / 1.327 GB, free: 12.96 MB / 1.029 GB Notification: Performance of sorting global known variables: time 9.696e-05/0.3771, allocations: 121.6 kB / 1.327 GB, free: 12.85 MB / 1.029 GB Notification: Performance of sort global known variables: time 9e-08/0.3771, allocations: 0 / 1.327 GB, free: 12.85 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002914/0.3774, allocations: 23.94 kB / 1.327 GB, free: 12.82 MB / 1.029 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (11): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0008866/0.3782, allocations: 0.8522 MB / 1.328 GB, free: 11.95 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0004494/0.3787, allocations: 111.8 kB / 1.328 GB, free: 11.84 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.284e-06/0.3787, allocations: 0 / 1.328 GB, free: 11.84 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0002116/0.3789, allocations: 63.88 kB / 1.328 GB, free: 11.77 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004775/0.3794, allocations: 36.3 kB / 1.328 GB, free: 11.74 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002552/0.3819, allocations: 1.743 MB / 1.33 GB, free: 9.91 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003413/0.3823, allocations: 0.7002 MB / 1.33 GB, free: 9.184 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 7.749e-05/0.3824, allocations: 8.562 kB / 1.33 GB, free: 9.176 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.473e-05/0.3825, allocations: 35.42 kB / 1.33 GB, free: 9.141 MB / 1.029 GB Notification: Performance of SimCode: time 3e-07/0.3825, allocations: 0 / 1.33 GB, free: 9.141 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02719/0.4096, allocations: 3.141 MB / 1.333 GB, free: 6.168 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.09/8.5, allocations: 0 / 1.333 GB, free: 6.168 MB / 1.029 GB " [Timeout remaining time 291] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Psychrometrics.Validation.WetBulb_TDryBulPhi.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Psychrometrics.Validation.WetBulb_TDryBulPhi.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Psychrometrics.Validation.WetBulb_TDryBulPhi.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Psychrometrics.Validation.WetBulb_TDryBulPhi.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Controls.OBC.CDL.Psychrometrics.Validation.WetBulb_TDryBulPhi_res.mat --tempDir=temp_Buildings_12_Buildings_Controls_OBC_CDL_Psychrometrics_Validation_WetBulb_TDryBulPhi_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Controls_OBC_CDL_Psychrometrics_Validation_WetBulb_TDryBulPhi.fmu > Buildings_12_Buildings.Controls.OBC.CDL.Psychrometrics.Validation.WetBulb_TDryBulPhi.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Psychrometrics.Validation.WetBulb_TDryBulPhi_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_CDL_Psychrometrics_Validation_WetBulb_TDryBulPhi.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Controls.OBC.CDL.Psychrometrics.Validation.WetBulb_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: 15.24243332981132]