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/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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/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_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.TDryBul|wetBulPhi.phi|wetBulPhi.TWetBul|wetBulPhi1.TDryBul|wetBulPhi1.phi|wetBulPhi1.TWetBul",fileNamePrefix="Buildings_latest_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.001434/0.001434, allocations: 105 kB / 16.35 MB, free: 6.34 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00166/0.00166, allocations: 198.2 kB / 17.3 MB, free: 5.879 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.407/1.407, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.447/2.447, allocations: 442.6 MB / 0.7165 GB, free: 14.68 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001287/0.001287, allocations: 64.86 kB / 0.8773 GB, free: 10.99 MB / 0.6544 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3007/0.302, allocations: 153 MB / 1.027 GB, free: 2.074 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Psychrometrics.Validation.WetBulb_TDryBulPhi): time 0.002549/0.3046, allocations: 0.767 MB / 1.027 GB, free: 1.312 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.00124/0.3059, allocations: 0.8857 MB / 1.028 GB, free: 424 kB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.539e-05/0.306, allocations: 0 / 1.028 GB, free: 424 kB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 4.524e-05/0.3061, allocations: 3.938 kB / 1.028 GB, free: 420 kB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 0.0001055/0.3062, allocations: 15.81 kB / 1.028 GB, free: 404 kB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002143/0.3064, allocations: 35.94 kB / 1.028 GB, free: 368 kB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.0001586/0.3066, allocations: 99.62 kB / 1.028 GB, free: 268 kB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001287/0.3067, allocations: 27.98 kB / 1.029 GB, free: 240 kB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 9.981e-05/0.3068, allocations: 43.83 kB / 1.029 GB, free: 196 kB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000106/0.3069, allocations: 51.77 kB / 1.029 GB, free: 144 kB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 2.235e-05/0.307, allocations: 4 kB / 1.029 GB, free: 140 kB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 1.568e-05/0.307, allocations: 8 kB / 1.029 GB, free: 132 kB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 2.807e-05/0.307, allocations: 15.98 kB / 1.029 GB, free: 116 kB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 5.229e-05/0.3071, allocations: 43.77 kB / 1.029 GB, free: 72 kB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.0001512/0.3072, allocations: 91.61 kB / 1.029 GB, free: 15.98 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 6.402e-06/0.3073, allocations: 4 kB / 1.029 GB, free: 15.98 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.683e-06/0.3073, allocations: 4 kB / 1.029 GB, free: 15.97 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 5.761e-06/0.3073, allocations: 0 / 1.029 GB, free: 15.97 MB / 0.8106 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.0008025/0.3081, allocations: 407.2 kB / 1.029 GB, free: 15.52 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 5.214e-05/0.3081, allocations: 16.03 kB / 1.029 GB, free: 15.51 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.33e-05/0.3082, allocations: 8.844 kB / 1.029 GB, free: 15.5 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001613/0.3084, allocations: 172.2 kB / 1.029 GB, free: 15.29 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.844e-05/0.3084, allocations: 4.375 kB / 1.029 GB, free: 15.29 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.265e-05/0.3084, allocations: 8.359 kB / 1.029 GB, free: 15.28 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003729/0.3088, allocations: 119.9 kB / 1.029 GB, free: 15.15 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.284e-05/0.3088, allocations: 192 / 1.029 GB, free: 15.15 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.987e-05/0.3089, allocations: 7.938 kB / 1.029 GB, free: 15.14 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.556e-06/0.3089, allocations: 0 / 1.029 GB, free: 15.14 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003554/0.3092, allocations: 103.8 kB / 1.03 GB, free: 15.04 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006623/0.3099, allocations: 432.6 kB / 1.03 GB, free: 14.57 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003935/0.3103, allocations: 121.1 kB / 1.03 GB, free: 14.43 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001995/0.3105, allocations: 53.73 kB / 1.03 GB, free: 14.37 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 2.667e-05/0.3106, allocations: 11.94 kB / 1.03 GB, free: 14.36 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.497e-05/0.3106, allocations: 34.56 kB / 1.03 GB, free: 14.32 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=6): time 1.202e-06/0.3106, allocations: 0 / 1.03 GB, free: 14.32 MB / 0.8106 GB Notification: Performance of matching and sorting (n=6): time 0.0006145/0.3112, allocations: 173.4 kB / 1.03 GB, free: 14.14 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.816e-05/0.3113, allocations: 85.05 kB / 1.03 GB, free: 14.04 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001217/0.3114, allocations: 141.8 kB / 1.031 GB, free: 13.89 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.861e-05/0.3114, allocations: 25.7 kB / 1.031 GB, free: 13.86 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 6.473e-05/0.3115, allocations: 95.98 kB / 1.031 GB, free: 13.76 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 2.082e-05/0.3115, allocations: 23.7 kB / 1.031 GB, free: 13.74 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.296e-05/0.3116, allocations: 25.7 kB / 1.031 GB, free: 13.71 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001115/0.3117, allocations: 318.8 kB / 1.031 GB, free: 13.39 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001749/0.3119, allocations: 47.95 kB / 1.031 GB, free: 13.34 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001668/0.3121, allocations: 61.66 kB / 1.031 GB, free: 13.27 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003172/0.3124, allocations: 109.9 kB / 1.031 GB, free: 13.16 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.204e-06/0.3124, allocations: 0 / 1.031 GB, free: 13.16 MB / 0.8106 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.000401/0.3128, allocations: 145.5 kB / 1.031 GB, free: 13.01 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.923e-05/0.3128, allocations: 4 kB / 1.031 GB, free: 13.01 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.885e-06/0.3128, allocations: 3.938 kB / 1.031 GB, free: 13 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.16e-05/0.3129, allocations: 3.984 kB / 1.031 GB, free: 13 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001786/0.3131, allocations: 35.91 kB / 1.031 GB, free: 12.96 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.384e-06/0.3131, allocations: 0 / 1.031 GB, free: 12.96 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001334/0.3132, allocations: 19.86 kB / 1.031 GB, free: 12.95 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.343e-05/0.3132, allocations: 4 kB / 1.031 GB, free: 12.94 MB / 0.8106 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.000104/0.3133, allocations: 117.8 kB / 1.032 GB, free: 12.82 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.156e-05/0.3134, allocations: 7.906 kB / 1.032 GB, free: 12.81 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005009/0.3139, allocations: 189.8 kB / 1.032 GB, free: 12.61 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.941e-06/0.3139, allocations: 4 kB / 1.032 GB, free: 12.61 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.711e-06/0.3139, allocations: 0 / 1.032 GB, free: 12.61 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.811e-06/0.3139, allocations: 3.938 kB / 1.032 GB, free: 12.61 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002782/0.3142, allocations: 209.5 kB / 1.032 GB, free: 12.35 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.074e-06/0.3142, allocations: 8 kB / 1.032 GB, free: 12.34 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001869/0.3144, allocations: 27.97 kB / 1.032 GB, free: 12.32 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.246e-06/0.3145, allocations: 3.938 kB / 1.032 GB, free: 12.31 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.454e-05/0.3145, allocations: 4 kB / 1.032 GB, free: 12.31 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.335e-06/0.3145, allocations: 4 kB / 1.032 GB, free: 12.3 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.3145, allocations: 0 / 1.032 GB, free: 12.3 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004666/0.315, allocations: 334.4 kB / 1.032 GB, free: 11.96 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 7.15e-05/0.315, allocations: 97 kB / 1.032 GB, free: 11.85 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.206e-05/0.3151, allocations: 0 / 1.032 GB, free: 11.85 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001857/0.3153, allocations: 11.98 kB / 1.032 GB, free: 11.84 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.039e-05/0.3153, allocations: 15.92 kB / 1.032 GB, free: 11.82 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.518e-06/0.3153, allocations: 4 kB / 1.032 GB, free: 11.82 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 8.178e-05/0.3154, allocations: 116.4 kB / 1.033 GB, free: 11.7 MB / 0.8106 GB Notification: Performance of sort global known variables: time 2.1e-07/0.3154, allocations: 4 kB / 1.033 GB, free: 11.7 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002832/0.3157, allocations: 16 kB / 1.033 GB, free: 11.68 MB / 0.8106 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.0001184/0.3159, allocations: 103.2 kB / 1.033 GB, free: 11.57 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0004095/0.3163, allocations: 111.9 kB / 1.033 GB, free: 11.46 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 2.776e-06/0.3163, allocations: 7.938 kB / 1.033 GB, free: 11.45 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.0001835/0.3165, allocations: 59.95 kB / 1.033 GB, free: 11.39 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004748/0.317, allocations: 36.14 kB / 1.033 GB, free: 11.36 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005321/0.3175, allocations: 235.3 kB / 1.033 GB, free: 11.1 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002778/0.3178, allocations: 0.7001 MB / 1.034 GB, free: 10.38 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 8.103e-05/0.3179, allocations: 20.53 kB / 1.034 GB, free: 10.36 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.324e-05/0.3179, allocations: 15.42 kB / 1.034 GB, free: 10.34 MB / 0.8106 GB Notification: Performance of SimCode: time 2.6e-07/0.318, allocations: 4 kB / 1.034 GB, free: 10.34 MB / 0.8106 GB Notification: Performance of Templates: time 0.004722/0.3227, allocations: 1.792 MB / 1.036 GB, free: 8.574 MB / 0.8106 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 -s gbode -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","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Psychrometrics.Validation.WetBulb_TDryBulPhi.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches