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.0008308/0.0008311, allocations: 86.56 kB / 15.06 MB, free: 1.09 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.001083/0.001083, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.521/1.521, allocations: 223.3 MB / 240 MB, free: 5.293 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.914/2.914, allocations: 462.6 MB / 0.736 GB, free: 15.68 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003732/0.0003733, allocations: 9.375 kB / 0.9021 GB, free: 36.62 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3778/0.3782, allocations: 159.6 MB / 1.058 GB, free: 5.277 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Psychrometrics.Validation.WetBulb_TDryBulPhi): time 0.001074/0.3793, allocations: 467.1 kB / 1.058 GB, free: 4.824 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.001062/0.3804, allocations: 0.8742 MB / 1.059 GB, free: 3.938 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.29e-05/0.3804, allocations: 0 / 1.059 GB, free: 3.938 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 1.587e-05/0.3805, allocations: 0 / 1.059 GB, free: 3.938 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 9.063e-05/0.3806, allocations: 15.86 kB / 1.059 GB, free: 3.922 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001748/0.3807, allocations: 35.89 kB / 1.059 GB, free: 3.887 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0001192/0.3809, allocations: 83.7 kB / 1.059 GB, free: 3.805 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001142/0.381, allocations: 15.98 kB / 1.059 GB, free: 3.789 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 9.17e-05/0.3811, allocations: 35.84 kB / 1.06 GB, free: 3.754 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 9.706e-05/0.3812, allocations: 43.83 kB / 1.06 GB, free: 3.711 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 2.469e-05/0.3812, allocations: 4 kB / 1.06 GB, free: 3.707 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 1.743e-05/0.3813, allocations: 4 kB / 1.06 GB, free: 3.703 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 2.343e-05/0.3813, allocations: 11.92 kB / 1.06 GB, free: 3.691 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 3.836e-05/0.3813, allocations: 37.7 kB / 1.06 GB, free: 3.648 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 9.916e-05/0.3814, allocations: 64 kB / 1.06 GB, free: 3.586 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 7.294e-06/0.3814, allocations: 4 kB / 1.06 GB, free: 3.582 MB / 0.8106 GB Notification: Performance of FrontEnd: time 2.074e-06/0.3815, allocations: 0 / 1.06 GB, free: 3.582 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 4.759e-06/0.3815, allocations: 0 / 1.06 GB, free: 3.582 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.0006937/0.3822, allocations: 411 kB / 1.06 GB, free: 3.133 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.994e-05/0.3822, allocations: 11.97 kB / 1.06 GB, free: 3.121 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.068e-05/0.3823, allocations: 15.81 kB / 1.06 GB, free: 3.105 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001399/0.3824, allocations: 163.1 kB / 1.06 GB, free: 2.906 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.866e-05/0.3824, allocations: 4 kB / 1.06 GB, free: 2.902 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.974e-05/0.3825, allocations: 11.95 kB / 1.06 GB, free: 2.891 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003371/0.3828, allocations: 138.4 kB / 1.06 GB, free: 2.746 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.121e-05/0.3828, allocations: 0 / 1.06 GB, free: 2.746 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.411e-05/0.3828, allocations: 3.938 kB / 1.06 GB, free: 2.742 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.428e-06/0.3829, allocations: 0 / 1.06 GB, free: 2.742 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000343/0.3832, allocations: 123.9 kB / 1.061 GB, free: 2.621 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006907/0.3839, allocations: 436.6 kB / 1.061 GB, free: 2.141 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004416/0.3844, allocations: 129.1 kB / 1.061 GB, free: 1.996 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001807/0.3846, allocations: 65.73 kB / 1.061 GB, free: 1.926 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 1.985e-05/0.3846, allocations: 3.938 kB / 1.061 GB, free: 1.922 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.216e-05/0.3846, allocations: 38.5 kB / 1.061 GB, free: 1.875 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=6): time 1.423e-06/0.3846, allocations: 0 / 1.061 GB, free: 1.875 MB / 0.8106 GB Notification: Performance of matching and sorting (n=6): time 0.0006264/0.3852, allocations: 213.7 kB / 1.061 GB, free: 1.66 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.145e-05/0.3853, allocations: 81.11 kB / 1.061 GB, free: 1.562 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001293/0.3855, allocations: 140.2 kB / 1.062 GB, free: 1.414 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.781e-05/0.3855, allocations: 25.7 kB / 1.062 GB, free: 1.383 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 8.603e-05/0.3856, allocations: 104 kB / 1.062 GB, free: 1.277 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 2.162e-05/0.3856, allocations: 19.86 kB / 1.062 GB, free: 1.258 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.365e-06/0.3856, allocations: 4 kB / 1.062 GB, free: 1.254 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.000127/0.3857, allocations: 318.8 kB / 1.062 GB, free: 0.9336 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001636/0.3859, allocations: 55.95 kB / 1.062 GB, free: 0.8789 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001639/0.3861, allocations: 65.67 kB / 1.062 GB, free: 0.8086 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001669/0.3863, allocations: 67.98 kB / 1.062 GB, free: 0.7422 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.753e-06/0.3863, allocations: 0 / 1.062 GB, free: 0.7422 MB / 0.8106 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0003822/0.3867, allocations: 165.4 kB / 1.062 GB, free: 0.5742 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.992e-05/0.3867, allocations: 8 kB / 1.062 GB, free: 0.5664 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.621e-06/0.3867, allocations: 0 / 1.062 GB, free: 0.5664 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.604e-05/0.3867, allocations: 0 / 1.062 GB, free: 0.5664 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001552/0.3869, allocations: 35.97 kB / 1.062 GB, free: 0.5312 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.288e-05/0.3869, allocations: 7.938 kB / 1.062 GB, free: 0.5234 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001163/0.387, allocations: 27.86 kB / 1.062 GB, free: 0.4961 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.143e-05/0.387, allocations: 4 kB / 1.062 GB, free: 0.4922 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.403e-05/0.3871, allocations: 117.8 kB / 1.063 GB, free: 376 kB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.484e-05/0.3872, allocations: 11.84 kB / 1.063 GB, free: 364 kB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004792/0.3877, allocations: 201.6 kB / 1.063 GB, free: 152 kB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.815e-06/0.3877, allocations: 0 / 1.063 GB, free: 152 kB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.472e-06/0.3877, allocations: 4 kB / 1.063 GB, free: 148 kB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.791e-06/0.3877, allocations: 3.953 kB / 1.063 GB, free: 144 kB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002847/0.388, allocations: 217.4 kB / 1.063 GB, free: 15.88 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.422e-06/0.388, allocations: 0 / 1.063 GB, free: 15.88 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001686/0.3882, allocations: 35.97 kB / 1.063 GB, free: 15.84 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.555e-06/0.3882, allocations: 0 / 1.063 GB, free: 15.84 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.082e-05/0.3882, allocations: 0 / 1.063 GB, free: 15.84 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.419e-06/0.3882, allocations: 4 kB / 1.063 GB, free: 15.84 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.094e-06/0.3882, allocations: 0 / 1.063 GB, free: 15.84 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004569/0.3887, allocations: 354.5 kB / 1.063 GB, free: 15.48 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 7.813e-05/0.3888, allocations: 96.98 kB / 1.063 GB, free: 15.36 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.412e-05/0.3888, allocations: 4 kB / 1.063 GB, free: 15.36 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001707/0.389, allocations: 19.98 kB / 1.063 GB, free: 15.34 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.488e-05/0.3891, allocations: 11.98 kB / 1.063 GB, free: 15.33 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.466e-06/0.3891, allocations: 4 kB / 1.063 GB, free: 15.32 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 8.683e-05/0.3892, allocations: 118.4 kB / 1.064 GB, free: 15.21 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3892, allocations: 0 / 1.064 GB, free: 15.21 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002739/0.3894, allocations: 23.95 kB / 1.064 GB, free: 15.19 MB / 0.8262 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 (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.0001203/0.3896, allocations: 103.2 kB / 1.064 GB, free: 15.08 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.000409/0.39, allocations: 132.1 kB / 1.064 GB, free: 14.95 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 3.426e-06/0.39, allocations: 0 / 1.064 GB, free: 14.95 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001903/0.3902, allocations: 83.92 kB / 1.064 GB, free: 14.87 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004638/0.3907, allocations: 27.92 kB / 1.064 GB, free: 14.84 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005455/0.3912, allocations: 268 kB / 1.064 GB, free: 14.55 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003068/0.3915, allocations: 0.712 MB / 1.065 GB, free: 13.81 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 9.526e-05/0.3916, allocations: 8.562 kB / 1.065 GB, free: 13.8 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.677e-05/0.3917, allocations: 19.42 kB / 1.065 GB, free: 13.78 MB / 0.8262 GB Notification: Performance of SimCode: time 5.61e-07/0.3917, allocations: 0 / 1.065 GB, free: 13.78 MB / 0.8262 GB Notification: Performance of Templates: time 0.00431/0.396, allocations: 1.541 MB / 1.066 GB, free: 12.27 MB / 0.8262 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","/var/lib/jenkins/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