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.009419/0.009419, allocations: 103.5 kB / 15.73 MB, free: 6.051 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.002074/0.002074, allocations: 197.6 kB / 16.68 MB, free: 5.98 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.473/1.473, allocations: 222.9 MB / 240.4 MB, free: 4.32 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.786/2.786, allocations: 461.9 MB / 0.7348 GB, free: 14.64 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.00126/0.00126, allocations: 67.89 kB / 1.054 GB, free: 7.105 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4147/0.416, allocations: 157.4 MB / 1.208 GB, free: 9.598 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Psychrometrics.Validation.WetBulb_TDryBulPhi): time 0.003739/0.4198, allocations: 0.7476 MB / 1.208 GB, free: 8.848 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.002094/0.4219, allocations: 0.874 MB / 1.209 GB, free: 7.961 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001033/0.4221, allocations: 4 kB / 1.209 GB, free: 7.957 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 7.182e-05/0.4222, allocations: 7.875 kB / 1.209 GB, free: 7.949 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.0001736/0.4224, allocations: 15.86 kB / 1.209 GB, free: 7.934 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003456/0.4228, allocations: 43.88 kB / 1.209 GB, free: 7.891 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0002403/0.423, allocations: 95.7 kB / 1.209 GB, free: 7.797 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000179/0.4232, allocations: 31.91 kB / 1.209 GB, free: 7.766 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001615/0.4234, allocations: 39.89 kB / 1.21 GB, free: 7.727 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001659/0.4236, allocations: 47.83 kB / 1.21 GB, free: 7.68 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 3.742e-05/0.4236, allocations: 8 kB / 1.21 GB, free: 7.672 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 2.711e-05/0.4237, allocations: 8 kB / 1.21 GB, free: 7.664 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 4.162e-05/0.4237, allocations: 19.91 kB / 1.21 GB, free: 7.645 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 8.921e-05/0.4238, allocations: 39.8 kB / 1.21 GB, free: 7.605 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0002201/0.424, allocations: 95.59 kB / 1.21 GB, free: 7.512 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 6.653e-06/0.4241, allocations: 7.938 kB / 1.21 GB, free: 7.504 MB / 0.9669 GB Notification: Performance of FrontEnd: time 2.505e-06/0.4241, allocations: 0 / 1.21 GB, free: 7.504 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 8.937e-06/0.4241, allocations: 0 / 1.21 GB, free: 7.504 MB / 0.9669 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.001186/0.4253, allocations: 403.2 kB / 1.21 GB, free: 7.059 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 5.999e-05/0.4254, allocations: 12.62 kB / 1.21 GB, free: 7.047 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.776e-05/0.4255, allocations: 12.83 kB / 1.21 GB, free: 7.035 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002119/0.4257, allocations: 168.3 kB / 1.21 GB, free: 6.832 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.182e-05/0.4257, allocations: 4.375 kB / 1.21 GB, free: 6.828 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.291e-05/0.4258, allocations: 12.36 kB / 1.21 GB, free: 6.816 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005712/0.4264, allocations: 123.8 kB / 1.21 GB, free: 6.684 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.189e-05/0.4264, allocations: 192 / 1.21 GB, free: 6.684 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.623e-05/0.4264, allocations: 7.938 kB / 1.21 GB, free: 6.676 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.955e-06/0.4264, allocations: 4 kB / 1.21 GB, free: 6.672 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006672/0.4271, allocations: 95.91 kB / 1.211 GB, free: 6.578 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00119/0.4283, allocations: 440.5 kB / 1.211 GB, free: 6.094 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007925/0.4291, allocations: 121.1 kB / 1.211 GB, free: 5.957 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003384/0.4295, allocations: 57.73 kB / 1.211 GB, free: 5.895 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 2.723e-05/0.4295, allocations: 4 kB / 1.211 GB, free: 5.891 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.664e-05/0.4296, allocations: 30.56 kB / 1.211 GB, free: 5.852 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=6): time 1.914e-06/0.4296, allocations: 0 / 1.211 GB, free: 5.852 MB / 0.9669 GB Notification: Performance of matching and sorting (n=6): time 0.00121/0.4308, allocations: 181.4 kB / 1.211 GB, free: 5.668 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.603e-05/0.4309, allocations: 77.11 kB / 1.211 GB, free: 5.574 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002142/0.4312, allocations: 139.5 kB / 1.212 GB, free: 5.43 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 2.999e-05/0.4312, allocations: 25.7 kB / 1.212 GB, free: 5.398 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001071/0.4313, allocations: 107.9 kB / 1.212 GB, free: 5.289 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 4.722e-05/0.4314, allocations: 11.81 kB / 1.212 GB, free: 5.277 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001019/0.4315, allocations: 25.7 kB / 1.212 GB, free: 5.246 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.000186/0.4317, allocations: 322.8 kB / 1.212 GB, free: 4.922 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003277/0.4321, allocations: 52.11 kB / 1.212 GB, free: 4.871 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003406/0.4324, allocations: 69.52 kB / 1.212 GB, free: 4.797 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006456/0.4331, allocations: 109.6 kB / 1.212 GB, free: 4.684 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.067e-06/0.4331, allocations: 0 / 1.212 GB, free: 4.684 MB / 0.9669 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0007764/0.4339, allocations: 145.8 kB / 1.212 GB, free: 4.535 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 2.286e-05/0.4339, allocations: 7.938 kB / 1.212 GB, free: 4.527 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.588e-06/0.4339, allocations: 4 kB / 1.212 GB, free: 4.523 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.003e-05/0.434, allocations: 96 / 1.212 GB, free: 4.523 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003009/0.4343, allocations: 35.95 kB / 1.212 GB, free: 4.488 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.678e-06/0.4343, allocations: 0 / 1.212 GB, free: 4.488 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002238/0.4345, allocations: 31.77 kB / 1.212 GB, free: 4.457 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.949e-05/0.4346, allocations: 3.984 kB / 1.212 GB, free: 4.453 MB / 0.9669 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.0002563/0.4348, allocations: 113.8 kB / 1.213 GB, free: 4.332 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.872e-05/0.4349, allocations: 7.906 kB / 1.213 GB, free: 4.324 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009202/0.4359, allocations: 181.8 kB / 1.213 GB, free: 4.137 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.001e-06/0.4359, allocations: 0 / 1.213 GB, free: 4.137 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.318e-05/0.4359, allocations: 3.984 kB / 1.213 GB, free: 4.133 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.507e-06/0.4359, allocations: 3.938 kB / 1.213 GB, free: 4.129 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004851/0.4364, allocations: 213.4 kB / 1.213 GB, free: 3.871 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.306e-06/0.4365, allocations: 7.938 kB / 1.213 GB, free: 3.863 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002709/0.4368, allocations: 27.98 kB / 1.213 GB, free: 3.836 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.576e-06/0.4368, allocations: 4 kB / 1.213 GB, free: 3.832 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.061e-05/0.4368, allocations: 3.984 kB / 1.213 GB, free: 3.828 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.136e-06/0.4368, allocations: 0 / 1.213 GB, free: 3.828 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.174e-06/0.4368, allocations: 0 / 1.213 GB, free: 3.828 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009836/0.4378, allocations: 334.5 kB / 1.213 GB, free: 3.484 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001426/0.438, allocations: 93 kB / 1.213 GB, free: 3.375 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.803e-05/0.438, allocations: 0 / 1.213 GB, free: 3.375 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003147/0.4384, allocations: 15.97 kB / 1.213 GB, free: 3.359 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.621e-05/0.4385, allocations: 15.92 kB / 1.213 GB, free: 3.344 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.801e-05/0.4385, allocations: 4 kB / 1.213 GB, free: 3.34 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.0001332/0.4387, allocations: 115.3 kB / 1.214 GB, free: 3.227 MB / 0.9669 GB Notification: Performance of sort global known variables: time 3.5e-07/0.4387, allocations: 0 / 1.214 GB, free: 3.227 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0004907/0.4392, allocations: 16 kB / 1.214 GB, free: 3.211 MB / 0.9669 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.0002433/0.4394, allocations: 105.1 kB / 1.214 GB, free: 3.102 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0007219/0.4402, allocations: 111.8 kB / 1.214 GB, free: 2.992 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 3.296e-06/0.4402, allocations: 4 kB / 1.214 GB, free: 2.988 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.0003663/0.4406, allocations: 63.89 kB / 1.214 GB, free: 2.926 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007755/0.4414, allocations: 44.27 kB / 1.214 GB, free: 2.887 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007994/0.4422, allocations: 223.3 kB / 1.214 GB, free: 2.637 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004596/0.4427, allocations: 0.7002 MB / 1.215 GB, free: 1.91 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 0.0001219/0.4428, allocations: 8.562 kB / 1.215 GB, free: 1.902 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.543e-05/0.4429, allocations: 19.42 kB / 1.215 GB, free: 1.883 MB / 0.9669 GB Notification: Performance of SimCode: time 3.1e-07/0.4429, allocations: 0 / 1.215 GB, free: 1.883 MB / 0.9669 GB Notification: Performance of Templates: time 0.007353/0.4503, allocations: 1.813 MB / 1.217 GB, free: 96 kB / 0.9669 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