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.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.001131/0.001131, allocations: 104.6 kB / 16.41 MB, free: 6.465 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.001172/0.001172, allocations: 187 kB / 17.34 MB, free: 5.719 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.294/1.294, allocations: 222.9 MB / 241 MB, free: 15.06 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.419/2.419, allocations: 461.9 MB / 0.7355 GB, free: 11.04 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001282/0.001282, allocations: 59.91 kB / 1.055 GB, free: 7.707 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6894/0.6907, allocations: 157.4 MB / 1.208 GB, free: 13.61 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Psychrometrics.Validation.WetBulb_TDryBulPhi): time 0.001957/0.6927, allocations: 0.7609 MB / 1.209 GB, free: 12.85 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.001012/0.6937, allocations: 0.8779 MB / 1.21 GB, free: 11.96 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.862e-05/0.6938, allocations: 4 kB / 1.21 GB, free: 11.96 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 3.11e-05/0.6938, allocations: 3.938 kB / 1.21 GB, free: 11.95 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 9.444e-05/0.6939, allocations: 23.8 kB / 1.21 GB, free: 11.93 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001723/0.6941, allocations: 35.94 kB / 1.21 GB, free: 11.89 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0001451/0.6943, allocations: 103.6 kB / 1.21 GB, free: 11.79 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001187/0.6944, allocations: 15.98 kB / 1.21 GB, free: 11.78 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 9.464e-05/0.6945, allocations: 35.92 kB / 1.21 GB, free: 11.74 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001075/0.6946, allocations: 51.81 kB / 1.21 GB, free: 11.69 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 2.484e-05/0.6946, allocations: 12 kB / 1.21 GB, free: 11.68 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 2.164e-05/0.6947, allocations: 8 kB / 1.21 GB, free: 11.67 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 2.519e-05/0.6947, allocations: 19.91 kB / 1.21 GB, free: 11.65 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 5.539e-05/0.6948, allocations: 39.8 kB / 1.21 GB, free: 11.61 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0001337/0.6949, allocations: 95.45 kB / 1.21 GB, free: 11.52 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 3.065e-06/0.6949, allocations: 0 / 1.21 GB, free: 11.52 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.172e-06/0.6949, allocations: 0 / 1.21 GB, free: 11.52 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 6.893e-06/0.6949, allocations: 0 / 1.21 GB, free: 11.52 MB / 0.9356 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.0007415/0.6957, allocations: 409.1 kB / 1.211 GB, free: 11.07 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 3.459e-05/0.6957, allocations: 8.031 kB / 1.211 GB, free: 11.07 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.005e-05/0.6958, allocations: 12.83 kB / 1.211 GB, free: 11.05 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001257/0.6959, allocations: 184.1 kB / 1.211 GB, free: 10.84 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.369e-05/0.6959, allocations: 4.375 kB / 1.211 GB, free: 10.83 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.031e-05/0.6959, allocations: 8.375 kB / 1.211 GB, free: 10.82 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003232/0.6963, allocations: 115.9 kB / 1.211 GB, free: 10.7 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.084e-05/0.6963, allocations: 4.125 kB / 1.211 GB, free: 10.7 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.464e-05/0.6963, allocations: 7.938 kB / 1.211 GB, free: 10.69 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.443e-06/0.6964, allocations: 4 kB / 1.211 GB, free: 10.68 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003528/0.6967, allocations: 103.8 kB / 1.211 GB, free: 10.58 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005747/0.6973, allocations: 444.6 kB / 1.212 GB, free: 10.09 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003967/0.6977, allocations: 113.2 kB / 1.212 GB, free: 9.965 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001837/0.6979, allocations: 57.73 kB / 1.212 GB, free: 9.902 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 1.932e-05/0.6979, allocations: 0 / 1.212 GB, free: 9.902 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.09e-05/0.6979, allocations: 42.48 kB / 1.212 GB, free: 9.852 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=6): time 9.92e-07/0.698, allocations: 0 / 1.212 GB, free: 9.852 MB / 0.9356 GB Notification: Performance of matching and sorting (n=6): time 0.0006332/0.6986, allocations: 177.4 kB / 1.212 GB, free: 9.672 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.248e-05/0.6986, allocations: 81.11 kB / 1.212 GB, free: 9.574 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001161/0.6988, allocations: 139.9 kB / 1.212 GB, free: 9.43 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 1.871e-05/0.6988, allocations: 25.7 kB / 1.212 GB, free: 9.398 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 5.678e-05/0.6989, allocations: 100 kB / 1.212 GB, free: 9.297 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 2.538e-05/0.6989, allocations: 23.58 kB / 1.212 GB, free: 9.273 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.644e-05/0.6989, allocations: 25.7 kB / 1.212 GB, free: 9.242 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 9.853e-05/0.699, allocations: 322.8 kB / 1.213 GB, free: 8.918 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001686/0.6992, allocations: 39.95 kB / 1.213 GB, free: 8.879 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001758/0.6994, allocations: 69.66 kB / 1.213 GB, free: 8.805 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003224/0.6997, allocations: 105.6 kB / 1.213 GB, free: 8.695 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.954e-06/0.6997, allocations: 0 / 1.213 GB, free: 8.695 MB / 0.9356 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0004023/0.7002, allocations: 149.9 kB / 1.213 GB, free: 8.543 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.29e-05/0.7002, allocations: 4 kB / 1.213 GB, free: 8.539 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.839e-06/0.7002, allocations: 0 / 1.213 GB, free: 8.539 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.254e-05/0.7002, allocations: 4 kB / 1.213 GB, free: 8.535 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001809/0.7004, allocations: 31.91 kB / 1.213 GB, free: 8.504 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.951e-06/0.7004, allocations: 0 / 1.213 GB, free: 8.504 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001353/0.7005, allocations: 19.83 kB / 1.213 GB, free: 8.484 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.175e-05/0.7006, allocations: 4 kB / 1.213 GB, free: 8.48 MB / 0.9356 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.0001021/0.7007, allocations: 121.8 kB / 1.213 GB, free: 8.352 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.259e-05/0.7007, allocations: 7.906 kB / 1.213 GB, free: 8.344 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005321/0.7013, allocations: 185.8 kB / 1.213 GB, free: 8.148 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.487e-06/0.7013, allocations: 0 / 1.213 GB, free: 8.148 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.841e-06/0.7013, allocations: 0 / 1.213 GB, free: 8.148 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.551e-06/0.7013, allocations: 3.938 kB / 1.213 GB, free: 8.145 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002866/0.7016, allocations: 209.5 kB / 1.214 GB, free: 7.891 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.695e-06/0.7016, allocations: 0 / 1.214 GB, free: 7.891 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001741/0.7018, allocations: 31.97 kB / 1.214 GB, free: 7.859 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.673e-06/0.7018, allocations: 0 / 1.214 GB, free: 7.859 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.298e-05/0.7018, allocations: 7.938 kB / 1.214 GB, free: 7.852 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.074e-06/0.7018, allocations: 0 / 1.214 GB, free: 7.852 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.943e-06/0.7018, allocations: 7.938 kB / 1.214 GB, free: 7.844 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005214/0.7024, allocations: 334.5 kB / 1.214 GB, free: 7.5 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 8.39e-05/0.7025, allocations: 92.94 kB / 1.214 GB, free: 7.391 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.703e-05/0.7025, allocations: 4 kB / 1.214 GB, free: 7.387 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001797/0.7027, allocations: 15.98 kB / 1.214 GB, free: 7.371 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.982e-05/0.7028, allocations: 15.92 kB / 1.214 GB, free: 7.355 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.907e-06/0.7028, allocations: 4 kB / 1.214 GB, free: 7.352 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 8.288e-05/0.7029, allocations: 111.2 kB / 1.214 GB, free: 7.242 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.2e-07/0.7029, allocations: 0 / 1.214 GB, free: 7.242 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0002767/0.7031, allocations: 20 kB / 1.214 GB, free: 7.223 MB / 0.9356 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.0001364/0.7033, allocations: 99.19 kB / 1.214 GB, free: 7.117 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0004256/0.7037, allocations: 115.9 kB / 1.214 GB, free: 7.004 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 5.39e-06/0.7037, allocations: 0 / 1.214 GB, free: 7.004 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0002015/0.7039, allocations: 67.88 kB / 1.215 GB, free: 6.938 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005168/0.7045, allocations: 34.8 kB / 1.215 GB, free: 6.906 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005662/0.705, allocations: 261 kB / 1.215 GB, free: 6.613 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002839/0.7053, allocations: 0.6963 MB / 1.215 GB, free: 5.891 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.943e-05/0.7054, allocations: 19.44 kB / 1.216 GB, free: 5.871 MB / 0.9356 GB Notification: Performance of SimCode: time 2.104e-06/0.7054, allocations: 0 / 1.216 GB, free: 5.871 MB / 0.9356 GB Notification: Performance of Templates: time 0.003512/0.7089, allocations: 1.418 MB / 1.217 GB, free: 4.469 MB / 0.9356 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/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