Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Controls.OBC.CDL.Psychrometrics.Validation.WetBulb_TDryBulPhi.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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: translateModel(Buildings.Controls.OBC.CDL.Psychrometrics.Validation.WetBulb_TDryBulPhi,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|wetBulPhi.TDryBul|wetBulPhi.phi|wetBulPhi.TWetBul|wetBulPhi1.TDryBul|wetBulPhi1.phi|wetBulPhi1.TWetBul",fileNamePrefix="Buildings_10_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.TDryBul|wetBulPhi.phi|wetBulPhi.TWetBul|wetBulPhi1.TDryBul|wetBulPhi1.phi|wetBulPhi1.TWetBul",fileNamePrefix="Buildings_10_Buildings.Controls.OBC.CDL.Psychrometrics.Validation.WetBulb_TDryBulPhi") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001638/0.001645, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002251/0.002252, allocations: 193.5 kB / 16.53 MB, free: 6.391 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.67/1.67, allocations: 222.9 MB / 240.2 MB, free: 4.395 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.835/2.835, allocations: 437 MB / 0.7104 GB, free: 5.012 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001893/0.001893, allocations: 63.89 kB / 0.8692 GB, free: 4.586 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.84/0.8419, allocations: 151.6 MB / 1.017 GB, free: 2.434 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Psychrometrics.Validation.WetBulb_TDryBulPhi): time 0.003574/0.8456, allocations: 0.7588 MB / 1.018 GB, free: 1.676 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.001701/0.8473, allocations: 0.874 MB / 1.019 GB, free: 0.7891 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.87e-05/0.8474, allocations: 4 kB / 1.019 GB, free: 0.7852 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 5.433e-05/0.8475, allocations: 11.88 kB / 1.019 GB, free: 0.7734 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 0.0001287/0.8477, allocations: 19.78 kB / 1.019 GB, free: 0.7539 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002763/0.848, allocations: 43.94 kB / 1.019 GB, free: 0.7109 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 0.0001686/0.8481, allocations: 95.7 kB / 1.019 GB, free: 0.6172 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001563/0.8483, allocations: 15.98 kB / 1.019 GB, free: 0.6016 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001107/0.8484, allocations: 51.83 kB / 1.019 GB, free: 0.5508 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001105/0.8485, allocations: 47.83 kB / 1.019 GB, free: 0.5039 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 3.257e-05/0.8486, allocations: 8 kB / 1.019 GB, free: 0.4961 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 2.68e-05/0.8486, allocations: 8 kB / 1.019 GB, free: 500 kB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 4.058e-05/0.8487, allocations: 19.92 kB / 1.019 GB, free: 480 kB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 8.447e-05/0.8488, allocations: 39.77 kB / 1.019 GB, free: 440 kB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.0002156/0.849, allocations: 89.7 kB / 1.019 GB, free: 352 kB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 8.266e-06/0.849, allocations: 0 / 1.019 GB, free: 352 kB / 0.7637 GB Notification: Performance of FrontEnd: time 3.798e-06/0.849, allocations: 0 / 1.019 GB, free: 352 kB / 0.7637 GB Notification: Performance of Transformations before backend: time 9.889e-06/0.849, allocations: 0 / 1.019 GB, free: 352 kB / 0.7637 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.0009253/0.85, allocations: 416.4 kB / 1.02 GB, free: 15.89 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.558e-05/0.85, allocations: 8.031 kB / 1.02 GB, free: 15.88 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.401e-05/0.8501, allocations: 12.84 kB / 1.02 GB, free: 15.87 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001949/0.8503, allocations: 176.2 kB / 1.02 GB, free: 15.66 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.047e-05/0.8503, allocations: 8.312 kB / 1.02 GB, free: 15.65 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.788e-05/0.8503, allocations: 4.375 kB / 1.02 GB, free: 15.64 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003632/0.8507, allocations: 127.6 kB / 1.02 GB, free: 15.51 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.188e-05/0.8507, allocations: 192 / 1.02 GB, free: 15.51 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.151e-05/0.8507, allocations: 7.938 kB / 1.02 GB, free: 15.5 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.075e-06/0.8508, allocations: 4 kB / 1.02 GB, free: 15.5 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003662/0.8511, allocations: 99.89 kB / 1.02 GB, free: 15.4 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006979/0.8518, allocations: 440.6 kB / 1.021 GB, free: 14.92 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000451/0.8523, allocations: 121.1 kB / 1.021 GB, free: 14.78 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001965/0.8525, allocations: 61.73 kB / 1.021 GB, free: 14.71 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.817e-05/0.8525, allocations: 0 / 1.021 GB, free: 14.71 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.867e-05/0.8526, allocations: 30.56 kB / 1.021 GB, free: 14.68 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=6): time 1.283e-06/0.8526, allocations: 4 kB / 1.021 GB, free: 14.67 MB / 0.7794 GB Notification: Performance of matching and sorting (n=6): time 0.0006994/0.8533, allocations: 177.4 kB / 1.021 GB, free: 14.49 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.791e-05/0.8534, allocations: 77.11 kB / 1.021 GB, free: 14.4 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000157/0.8535, allocations: 140 kB / 1.021 GB, free: 14.25 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 2.732e-05/0.8536, allocations: 33.7 kB / 1.021 GB, free: 14.21 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 8.281e-05/0.8536, allocations: 92.05 kB / 1.021 GB, free: 14.12 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 4.137e-05/0.8537, allocations: 27.64 kB / 1.021 GB, free: 14.09 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.183e-05/0.8538, allocations: 25.64 kB / 1.021 GB, free: 14.06 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001584/0.8539, allocations: 322.8 kB / 1.022 GB, free: 13.74 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001801/0.8541, allocations: 43.95 kB / 1.022 GB, free: 13.7 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002102/0.8543, allocations: 65.66 kB / 1.022 GB, free: 13.62 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003579/0.8547, allocations: 101.6 kB / 1.022 GB, free: 13.52 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.485e-06/0.8547, allocations: 0 / 1.022 GB, free: 13.52 MB / 0.7794 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0004286/0.8551, allocations: 145.4 kB / 1.022 GB, free: 13.37 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.767e-05/0.8552, allocations: 4 kB / 1.022 GB, free: 13.37 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.763e-06/0.8552, allocations: 4 kB / 1.022 GB, free: 13.36 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.038e-05/0.8552, allocations: 0 / 1.022 GB, free: 13.36 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001791/0.8554, allocations: 27.95 kB / 1.022 GB, free: 13.34 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.099e-05/0.8554, allocations: 0 / 1.022 GB, free: 13.34 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001396/0.8556, allocations: 27.86 kB / 1.022 GB, free: 13.31 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.031e-05/0.8556, allocations: 4 kB / 1.022 GB, free: 13.3 MB / 0.7794 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.0001197/0.8557, allocations: 119.3 kB / 1.022 GB, free: 13.18 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.142e-05/0.8558, allocations: 7.906 kB / 1.022 GB, free: 13.17 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005757/0.8563, allocations: 198.2 kB / 1.022 GB, free: 12.97 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.522e-06/0.8564, allocations: 4 kB / 1.022 GB, free: 12.96 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.809e-06/0.8564, allocations: 0 / 1.022 GB, free: 12.96 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.702e-06/0.8564, allocations: 7.875 kB / 1.022 GB, free: 12.96 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003278/0.8567, allocations: 205.6 kB / 1.023 GB, free: 12.71 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.635e-06/0.8567, allocations: 0 / 1.023 GB, free: 12.71 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001724/0.8569, allocations: 27.97 kB / 1.023 GB, free: 12.68 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.25e-06/0.8569, allocations: 4 kB / 1.023 GB, free: 12.68 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.352e-05/0.8569, allocations: 8 kB / 1.023 GB, free: 12.67 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.325e-06/0.857, allocations: 0 / 1.023 GB, free: 12.67 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.543e-06/0.857, allocations: 0 / 1.023 GB, free: 12.67 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005584/0.8575, allocations: 330.5 kB / 1.023 GB, free: 12.33 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001008/0.8576, allocations: 108.8 kB / 1.023 GB, free: 12.2 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3e-05/0.8577, allocations: 8 kB / 1.023 GB, free: 12.2 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001795/0.8579, allocations: 7.984 kB / 1.023 GB, free: 12.19 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.405e-05/0.8579, allocations: 11.92 kB / 1.023 GB, free: 12.18 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.11e-05/0.8579, allocations: 8 kB / 1.023 GB, free: 12.17 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0001046/0.8581, allocations: 115.6 kB / 1.023 GB, free: 12.06 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.1e-07/0.8581, allocations: 0 / 1.023 GB, free: 12.06 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002995/0.8584, allocations: 20 kB / 1.023 GB, free: 12.04 MB / 0.7794 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.0001719/0.8585, allocations: 103.2 kB / 1.023 GB, free: 11.93 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0004642/0.859, allocations: 111.8 kB / 1.023 GB, free: 11.82 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 3.196e-06/0.859, allocations: 0 / 1.023 GB, free: 11.82 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0002215/0.8593, allocations: 67.89 kB / 1.023 GB, free: 11.75 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005366/0.8598, allocations: 27.98 kB / 1.023 GB, free: 11.72 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006396/0.8605, allocations: 216 kB / 1.024 GB, free: 11.48 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003471/0.8608, allocations: 0.7001 MB / 1.024 GB, free: 10.76 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 9.946e-05/0.8609, allocations: 16.55 kB / 1.024 GB, free: 10.74 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.164e-05/0.861, allocations: 15.42 kB / 1.024 GB, free: 10.73 MB / 0.7794 GB Notification: Performance of SimCode: time 6.22e-07/0.861, allocations: 0 / 1.024 GB, free: 10.73 MB / 0.7794 GB Notification: Performance of Templates: time 0.005887/0.8669, allocations: 1.789 MB / 1.026 GB, free: 8.953 MB / 0.7794 GB make -j1 -f Buildings_10_Buildings.Controls.OBC.CDL.Psychrometrics.Validation.WetBulb_TDryBulPhi.makefile (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Psychrometrics.Validation.WetBulb_TDryBulPhi.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Psychrometrics.Validation.WetBulb_TDryBulPhi.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Psychrometrics.Validation.WetBulb_TDryBulPhi.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Psychrometrics.Validation.WetBulb_TDryBulPhi.sim & ./Buildings_10_Buildings.Controls.OBC.CDL.Psychrometrics.Validation.WetBulb_TDryBulPhi -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.CDL.Psychrometrics.Validation.WetBulb_TDryBulPhi.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Psychrometrics.Validation.WetBulb_TDryBulPhi_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Psychrometrics_Validation_WetBulb_TDryBulPhi.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Psychrometrics.Validation.WetBulb_TDryBulPhi.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches