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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.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.001246/0.001246, allocations: 108 kB / 15.61 MB, free: 152 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.001543/0.001544, allocations: 194.6 kB / 16.53 MB, free: 6.664 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.515/1.515, allocations: 222.9 MB / 240.2 MB, free: 4.367 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.024/3.024, allocations: 472.7 MB / 0.7451 GB, free: 4.629 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001242/0.001242, allocations: 66.62 kB / 0.9121 GB, free: 33.41 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4184/0.4197, allocations: 159.9 MB / 1.068 GB, free: 10.37 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Psychrometrics.Validation.WetBulb_TDryBulPhi): time 0.002206/0.4219, allocations: 0.7581 MB / 1.069 GB, free: 9.613 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001072/0.423, allocations: 0.884 MB / 1.07 GB, free: 8.719 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.725e-05/0.4231, allocations: 0 / 1.07 GB, free: 8.719 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 4.209e-05/0.4231, allocations: 3.938 kB / 1.07 GB, free: 8.715 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 9.187e-05/0.4232, allocations: 23.78 kB / 1.07 GB, free: 8.691 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001834/0.4234, allocations: 31.95 kB / 1.07 GB, free: 8.66 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0001355/0.4236, allocations: 107.6 kB / 1.07 GB, free: 8.555 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001329/0.4237, allocations: 19.98 kB / 1.07 GB, free: 8.535 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 9.095e-05/0.4238, allocations: 31.92 kB / 1.07 GB, free: 8.504 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 9.806e-05/0.4239, allocations: 51.81 kB / 1.07 GB, free: 8.453 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 2.546e-05/0.4239, allocations: 11.94 kB / 1.07 GB, free: 8.441 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 2.02e-05/0.424, allocations: 8 kB / 1.07 GB, free: 8.434 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 2.852e-05/0.424, allocations: 15.97 kB / 1.07 GB, free: 8.418 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 5.514e-05/0.4241, allocations: 39.8 kB / 1.07 GB, free: 8.379 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0001307/0.4242, allocations: 87.94 kB / 1.07 GB, free: 8.293 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 8.747e-06/0.4242, allocations: 8 kB / 1.07 GB, free: 8.285 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.613e-06/0.4242, allocations: 0 / 1.07 GB, free: 8.285 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 7.584e-06/0.4242, allocations: 0 / 1.07 GB, free: 8.285 MB / 0.8262 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.0007478/0.425, allocations: 403.1 kB / 1.071 GB, free: 7.84 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.488e-05/0.425, allocations: 19.97 kB / 1.071 GB, free: 7.82 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.359e-05/0.4251, allocations: 8.844 kB / 1.071 GB, free: 7.812 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001435/0.4252, allocations: 180.2 kB / 1.071 GB, free: 7.598 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.69e-05/0.4252, allocations: 4.375 kB / 1.071 GB, free: 7.594 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.716e-05/0.4253, allocations: 4.375 kB / 1.071 GB, free: 7.59 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000336/0.4256, allocations: 123.9 kB / 1.071 GB, free: 7.457 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.524e-06/0.4256, allocations: 192 / 1.071 GB, free: 7.457 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.742e-05/0.4257, allocations: 7.938 kB / 1.071 GB, free: 7.449 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.941e-06/0.4257, allocations: 0 / 1.071 GB, free: 7.449 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003586/0.426, allocations: 103.8 kB / 1.071 GB, free: 7.348 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006265/0.4267, allocations: 440.7 kB / 1.071 GB, free: 6.863 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004087/0.4271, allocations: 113.1 kB / 1.072 GB, free: 6.734 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001891/0.4273, allocations: 57.73 kB / 1.072 GB, free: 6.672 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 2.421e-05/0.4273, allocations: 8 kB / 1.072 GB, free: 6.664 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.374e-05/0.4274, allocations: 38.48 kB / 1.072 GB, free: 6.617 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=6): time 1.243e-06/0.4274, allocations: 0 / 1.072 GB, free: 6.617 MB / 0.8262 GB Notification: Performance of matching and sorting (n=6): time 0.000666/0.428, allocations: 173.8 kB / 1.072 GB, free: 6.441 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.42e-05/0.4281, allocations: 81.05 kB / 1.072 GB, free: 6.344 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001202/0.4282, allocations: 139.4 kB / 1.072 GB, free: 6.199 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.958e-05/0.4282, allocations: 25.7 kB / 1.072 GB, free: 6.168 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 7.129e-05/0.4283, allocations: 99.98 kB / 1.072 GB, free: 6.066 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 2.3e-05/0.4284, allocations: 19.7 kB / 1.072 GB, free: 6.047 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.416e-05/0.4284, allocations: 25.7 kB / 1.072 GB, free: 6.016 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001276/0.4285, allocations: 322.8 kB / 1.073 GB, free: 5.691 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00017/0.4287, allocations: 43.95 kB / 1.073 GB, free: 5.648 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001713/0.4289, allocations: 61.66 kB / 1.073 GB, free: 5.582 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003394/0.4292, allocations: 109.7 kB / 1.073 GB, free: 5.469 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.56e-06/0.4293, allocations: 0 / 1.073 GB, free: 5.469 MB / 0.8262 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0003881/0.4297, allocations: 153.4 kB / 1.073 GB, free: 5.312 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.661e-05/0.4297, allocations: 5.094 kB / 1.073 GB, free: 5.309 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.763e-06/0.4297, allocations: 0 / 1.073 GB, free: 5.309 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.316e-05/0.4297, allocations: 0 / 1.073 GB, free: 5.309 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001696/0.4299, allocations: 35.91 kB / 1.073 GB, free: 5.273 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.462e-06/0.4299, allocations: 0 / 1.073 GB, free: 5.273 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001281/0.43, allocations: 23.77 kB / 1.073 GB, free: 5.25 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.274e-05/0.4301, allocations: 8 kB / 1.073 GB, free: 5.242 MB / 0.8262 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 9.214e-05/0.4301, allocations: 119.4 kB / 1.073 GB, free: 5.117 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.849e-05/0.4302, allocations: 7.906 kB / 1.073 GB, free: 5.109 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005375/0.4307, allocations: 173.8 kB / 1.073 GB, free: 4.926 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.541e-06/0.4308, allocations: 4 kB / 1.073 GB, free: 4.922 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.12e-06/0.4308, allocations: 0 / 1.073 GB, free: 4.922 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.122e-06/0.4308, allocations: 3.938 kB / 1.073 GB, free: 4.918 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003064/0.4311, allocations: 225.5 kB / 1.073 GB, free: 4.648 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.035e-06/0.4311, allocations: 4 kB / 1.073 GB, free: 4.645 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001576/0.4313, allocations: 27.97 kB / 1.074 GB, free: 4.617 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.404e-06/0.4313, allocations: 0 / 1.074 GB, free: 4.617 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.48e-05/0.4313, allocations: 4 kB / 1.074 GB, free: 4.613 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.392e-06/0.4313, allocations: 0 / 1.074 GB, free: 4.613 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.326e-06/0.4313, allocations: 0 / 1.074 GB, free: 4.613 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005466/0.4319, allocations: 338.5 kB / 1.074 GB, free: 4.266 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 7.349e-05/0.4319, allocations: 93 kB / 1.074 GB, free: 4.156 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.508e-05/0.432, allocations: 144 / 1.074 GB, free: 4.156 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001762/0.4322, allocations: 15.98 kB / 1.074 GB, free: 4.141 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.816e-05/0.4322, allocations: 15.91 kB / 1.074 GB, free: 4.125 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.941e-05/0.4323, allocations: 8 kB / 1.074 GB, free: 4.117 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 9.52e-05/0.4324, allocations: 116.8 kB / 1.074 GB, free: 4.004 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.1e-07/0.4324, allocations: 0 / 1.074 GB, free: 4.004 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002729/0.4326, allocations: 20 kB / 1.074 GB, free: 3.984 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 (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.0001584/0.4328, allocations: 99.72 kB / 1.074 GB, free: 3.879 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0004369/0.4333, allocations: 119.8 kB / 1.074 GB, free: 3.762 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.405e-06/0.4333, allocations: 0 / 1.074 GB, free: 3.762 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001972/0.4335, allocations: 63.94 kB / 1.074 GB, free: 3.699 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005179/0.434, allocations: 30.98 kB / 1.074 GB, free: 3.672 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006374/0.4346, allocations: 242.6 kB / 1.075 GB, free: 3.41 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004253/0.4351, allocations: 0.7002 MB / 1.075 GB, free: 2.684 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 8.876e-05/0.4352, allocations: 12.56 kB / 1.075 GB, free: 2.668 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.04e-05/0.4352, allocations: 19.42 kB / 1.075 GB, free: 2.648 MB / 0.8262 GB Notification: Performance of SimCode: time 6.01e-07/0.4352, allocations: 0 / 1.075 GB, free: 2.648 MB / 0.8262 GB Notification: Performance of Templates: time 0.005153/0.4404, allocations: 1.785 MB / 1.077 GB, free: 0.8867 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