Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Psychrometrics.Validation.WetBulb_TDryBulPhi.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Psychrometrics.Validation.WetBulb_TDryBulPhi,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|wetBulPhi.TWetBul|wetBulPhi_BuiLib.TWetBul|sub.y|phi.y|wetBulXi.TWetBul|sub1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Psychrometrics.Validation.WetBulb_TDryBulPhi") translateModel(Buildings.Controls.OBC.CDL.Psychrometrics.Validation.WetBulb_TDryBulPhi,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|wetBulPhi.TWetBul|wetBulPhi_BuiLib.TWetBul|sub.y|phi.y|wetBulXi.TWetBul|sub1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Psychrometrics.Validation.WetBulb_TDryBulPhi") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.379/2.379, allocations: 390.5 MB / 398 MB, free: 10.96 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001305/0.001305, allocations: 184.8 kB / 491.2 MB, free: 1.551 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.759/1.759, allocations: 221.5 MB / 0.7868 GB, free: 13.27 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009867/0.0009864, allocations: 91.52 kB / 0.9269 GB, free: 13.77 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 2.118e-05/2.121e-05, allocations: 6.312 kB / 1.073 GB, free: 182 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3592/0.3592, allocations: 143 MB / 1.212 GB, free: 39.49 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.482/4.842, allocations: 1.731 GB / 2.943 GB, free: 134.9 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002352/4.842, allocations: 79.95 kB / 2.943 GB, free: 134.8 MB / 1.151 GB Notification: Performance of FrontEnd - DAE generated: time 0.1368/4.979, allocations: 74.61 MB / 3.016 GB, free: 58.76 MB / 1.151 GB Notification: Performance of FrontEnd: time 2.214e-06/4.979, allocations: 0 / 3.016 GB, free: 58.76 MB / 1.151 GB Notification: Performance of Transformations before backend: time 1.628e-05/4.979, allocations: 4 kB / 3.016 GB, free: 58.76 MB / 1.151 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 38 * Number of variables: 38 Notification: Performance of Generate backend data structure: time 0.0007357/4.98, allocations: 474.8 kB / 3.016 GB, free: 58.25 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 4.37e-05/4.98, allocations: 11.97 kB / 3.016 GB, free: 58.24 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000828/4.98, allocations: 79.72 kB / 3.016 GB, free: 58.16 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002732/4.981, allocations: 230.9 kB / 3.017 GB, free: 57.89 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.864e-05/4.981, allocations: 4 kB / 3.017 GB, free: 57.89 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.679e-05/4.981, allocations: 8 kB / 3.017 GB, free: 57.88 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002846/4.981, allocations: 128 kB / 3.017 GB, free: 57.76 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002893/4.981, allocations: 214.9 kB / 3.017 GB, free: 57.52 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.193e-05/4.981, allocations: 4 kB / 3.017 GB, free: 57.52 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.398e-05/4.981, allocations: 0 / 3.017 GB, free: 57.52 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.773e-06/4.981, allocations: 4 kB / 3.017 GB, free: 57.51 MB / 1.151 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001422/4.983, allocations: 0.955 MB / 3.018 GB, free: 56.5 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002323/4.983, allocations: 138.5 kB / 3.018 GB, free: 56.36 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.512e-05/4.983, allocations: 60.89 kB / 3.018 GB, free: 56.29 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 2.386e-05/4.983, allocations: 4 kB / 3.018 GB, free: 56.29 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.228e-05/4.983, allocations: 30.56 kB / 3.018 GB, free: 56.25 MB / 1.151 GB Notification: Performance of pre-optimization done (n=11): time 2.074e-06/4.983, allocations: 224 / 3.018 GB, free: 56.25 MB / 1.151 GB Notification: Performance of matching and sorting (n=11): time 0.000331/4.984, allocations: 137.4 kB / 3.018 GB, free: 56.11 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.254e-05/4.984, allocations: 55.41 kB / 3.018 GB, free: 56.04 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001222/4.984, allocations: 143.2 kB / 3.018 GB, free: 55.89 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 1.829e-05/4.984, allocations: 25.7 kB / 3.018 GB, free: 55.86 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 6.702e-05/4.984, allocations: 139.9 kB / 3.019 GB, free: 55.72 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 3.249e-05/4.984, allocations: 35.45 kB / 3.019 GB, free: 55.68 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.571e-05/4.984, allocations: 0 / 3.019 GB, free: 55.68 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 7.462e-05/4.984, allocations: 330.8 kB / 3.019 GB, free: 55.35 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.608e-05/4.984, allocations: 51.97 kB / 3.019 GB, free: 55.3 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.687e-05/4.984, allocations: 103.8 kB / 3.019 GB, free: 55.18 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001074/4.984, allocations: 67.89 kB / 3.019 GB, free: 55.11 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.485e-06/4.984, allocations: 0 / 3.019 GB, free: 55.11 MB / 1.151 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0002945/4.985, allocations: 181.4 kB / 3.019 GB, free: 54.93 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 1.861e-05/4.985, allocations: 4.188 kB / 3.019 GB, free: 54.92 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.025e-06/4.985, allocations: 8 kB / 3.019 GB, free: 54.91 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.766e-05/4.985, allocations: 0 / 3.019 GB, free: 54.91 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003334/4.985, allocations: 55.94 kB / 3.019 GB, free: 54.86 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.747e-06/4.985, allocations: 7.938 kB / 3.019 GB, free: 54.85 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003101/4.985, allocations: 47.61 kB / 3.019 GB, free: 54.8 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.544e-05/4.985, allocations: 19.97 kB / 3.019 GB, free: 54.79 MB / 1.151 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (20): * Single equations (assignments): 20 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.326e-05/4.986, allocations: 101 kB / 3.02 GB, free: 54.68 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.319e-05/4.986, allocations: 7.906 kB / 3.02 GB, free: 54.67 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004234/4.986, allocations: 238.6 kB / 3.02 GB, free: 54.43 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.126e-06/4.986, allocations: 0 / 3.02 GB, free: 54.43 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.963e-06/4.986, allocations: 0 / 3.02 GB, free: 54.43 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.701e-06/4.986, allocations: 3.984 kB / 3.02 GB, free: 54.43 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000242/4.986, allocations: 257.8 kB / 3.02 GB, free: 54.14 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.623e-06/4.986, allocations: 0 / 3.02 GB, free: 54.14 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000264/4.987, allocations: 51.95 kB / 3.02 GB, free: 54.09 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.306e-06/4.987, allocations: 4 kB / 3.02 GB, free: 54.09 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.749e-05/4.987, allocations: 0 / 3.02 GB, free: 54.09 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.3e-05/4.987, allocations: 3.938 kB / 3.02 GB, free: 54.08 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.466e-06/4.987, allocations: 4 kB / 3.02 GB, free: 54.08 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002879/4.987, allocations: 288.7 kB / 3.02 GB, free: 53.78 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 3.678e-05/4.987, allocations: 96.84 kB / 3.021 GB, free: 53.67 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.356e-05/4.987, allocations: 4 kB / 3.021 GB, free: 53.66 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000232/4.987, allocations: 15.98 kB / 3.021 GB, free: 53.65 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.474e-05/4.987, allocations: 19.97 kB / 3.021 GB, free: 53.63 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.538e-05/4.987, allocations: 4 kB / 3.021 GB, free: 53.62 MB / 1.151 GB Notification: Performance of sorting global known variables: time 5.898e-05/4.987, allocations: 113.5 kB / 3.021 GB, free: 53.52 MB / 1.151 GB Notification: Performance of sort global known variables: time 1.5e-07/4.987, allocations: 0 / 3.021 GB, free: 53.52 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.0004109/4.988, allocations: 91.91 kB / 3.021 GB, free: 53.43 MB / 1.151 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 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (23): * Single equations (assignments): 23 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0008092/4.989, allocations: 0.7791 MB / 3.022 GB, free: 52.65 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.0002563/4.989, allocations: 141.6 kB / 3.022 GB, free: 52.51 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 1.863e-06/4.989, allocations: 0 / 3.022 GB, free: 52.51 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.0001047/4.989, allocations: 94.83 kB / 3.022 GB, free: 52.42 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002669/4.989, allocations: 27.92 kB / 3.022 GB, free: 52.39 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004726/4.99, allocations: 230.3 kB / 3.022 GB, free: 52.14 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001422/4.99, allocations: 0.7363 MB / 3.023 GB, free: 51.38 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.0002911/4.99, allocations: 57.17 kB / 3.023 GB, free: 51.33 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.833e-05/4.99, allocations: 31.41 kB / 3.023 GB, free: 51.3 MB / 1.151 GB Notification: Performance of SimCode: time 2.91e-07/4.99, allocations: 0 / 3.023 GB, free: 51.3 MB / 1.151 GB Notification: Performance of Templates: time 0.009773/5, allocations: 6.609 MB / 3.029 GB, free: 44.71 MB / 1.151 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Psychrometrics.Validation.WetBulb_TDryBulPhi.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Psychrometrics.Validation.WetBulb_TDryBulPhi.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Psychrometrics.Validation.WetBulb_TDryBulPhi.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Psychrometrics.Validation.WetBulb_TDryBulPhi.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Psychrometrics.Validation.WetBulb_TDryBulPhi.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Psychrometrics.Validation.WetBulb_TDryBulPhi -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Psychrometrics.Validation.WetBulb_TDryBulPhi.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Psychrometrics.Validation.WetBulb_TDryBulPhi_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Psychrometrics_Validation_WetBulb_TDryBulPhi.csv","../files/Buildings_latest_Buildings.Controls.OBC.CDL.Psychrometrics.Validation.WetBulb_TDryBulPhi.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches