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.001582/0.001583, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001949/0.001949, allocations: 194.2 kB / 16.25 MB, free: 6.629 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.545/1.545, allocations: 222.9 MB / 239.9 MB, free: 4.527 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.005/3.005, allocations: 472.7 MB / 0.7449 GB, free: 4.816 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001245/0.001245, allocations: 69.97 kB / 0.9116 GB, free: 33.55 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4512/0.4524, allocations: 159.9 MB / 1.068 GB, free: 10.69 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Psychrometrics.Validation.WetBulb_TDryBulPhi): time 0.002544/0.4551, allocations: 0.8164 MB / 1.069 GB, free: 9.875 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001198/0.4563, allocations: 0.878 MB / 1.069 GB, free: 8.984 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.502e-05/0.4564, allocations: 0 / 1.069 GB, free: 8.984 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 4.45e-05/0.4564, allocations: 3.938 kB / 1.069 GB, free: 8.98 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0001122/0.4566, allocations: 19.86 kB / 1.069 GB, free: 8.961 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002151/0.4568, allocations: 35.95 kB / 1.069 GB, free: 8.926 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0001351/0.4569, allocations: 95.64 kB / 1.07 GB, free: 8.832 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001472/0.4571, allocations: 23.98 kB / 1.07 GB, free: 8.809 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001041/0.4572, allocations: 35.91 kB / 1.07 GB, free: 8.773 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001127/0.4573, allocations: 55.75 kB / 1.07 GB, free: 8.719 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 3.148e-05/0.4573, allocations: 8 kB / 1.07 GB, free: 8.711 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 2.367e-05/0.4574, allocations: 8 kB / 1.07 GB, free: 8.703 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 3.093e-05/0.4574, allocations: 15.98 kB / 1.07 GB, free: 8.688 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 5.357e-05/0.4575, allocations: 35.8 kB / 1.07 GB, free: 8.652 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0001389/0.4576, allocations: 91.94 kB / 1.07 GB, free: 8.562 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 5.621e-06/0.4576, allocations: 0 / 1.07 GB, free: 8.562 MB / 0.8262 GB Notification: Performance of FrontEnd: time 3.437e-06/0.4576, allocations: 0 / 1.07 GB, free: 8.562 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 7.303e-06/0.4576, allocations: 3.938 kB / 1.07 GB, free: 8.559 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.0008082/0.4585, allocations: 415.2 kB / 1.07 GB, free: 8.102 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 7.708e-05/0.4585, allocations: 12.03 kB / 1.07 GB, free: 8.09 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.824e-05/0.4586, allocations: 8.844 kB / 1.07 GB, free: 8.082 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001789/0.4588, allocations: 176.2 kB / 1.07 GB, free: 7.871 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.909e-05/0.4588, allocations: 4.375 kB / 1.07 GB, free: 7.867 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.219e-05/0.4588, allocations: 4.375 kB / 1.07 GB, free: 7.863 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003636/0.4592, allocations: 135.4 kB / 1.071 GB, free: 7.723 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.033e-05/0.4592, allocations: 4.125 kB / 1.071 GB, free: 7.719 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.809e-05/0.4593, allocations: 3.938 kB / 1.071 GB, free: 7.715 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.51e-06/0.4593, allocations: 0 / 1.071 GB, free: 7.715 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003468/0.4596, allocations: 99.84 kB / 1.071 GB, free: 7.617 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007265/0.4604, allocations: 436.7 kB / 1.071 GB, free: 7.137 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004537/0.4608, allocations: 125.1 kB / 1.071 GB, free: 6.996 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001963/0.461, allocations: 53.67 kB / 1.071 GB, free: 6.938 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 2.41e-05/0.4611, allocations: 0 / 1.071 GB, free: 6.938 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.295e-05/0.4611, allocations: 42.5 kB / 1.071 GB, free: 6.887 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=6): time 1.262e-06/0.4611, allocations: 0 / 1.071 GB, free: 6.887 MB / 0.8262 GB Notification: Performance of matching and sorting (n=6): time 0.0006822/0.4618, allocations: 173.5 kB / 1.071 GB, free: 6.711 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.747e-05/0.4619, allocations: 81.05 kB / 1.072 GB, free: 6.613 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001272/0.462, allocations: 135.2 kB / 1.072 GB, free: 6.473 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 2.646e-05/0.462, allocations: 29.7 kB / 1.072 GB, free: 6.438 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 7.336e-05/0.4621, allocations: 104 kB / 1.072 GB, free: 6.332 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 2.568e-05/0.4621, allocations: 19.72 kB / 1.072 GB, free: 6.312 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.843e-05/0.4622, allocations: 25.7 kB / 1.072 GB, free: 6.281 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001298/0.4623, allocations: 322.8 kB / 1.072 GB, free: 5.957 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001923/0.4625, allocations: 43.95 kB / 1.072 GB, free: 5.914 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001709/0.4627, allocations: 61.67 kB / 1.072 GB, free: 5.848 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003364/0.4631, allocations: 102 kB / 1.072 GB, free: 5.742 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.304e-06/0.4631, allocations: 3.938 kB / 1.072 GB, free: 5.738 MB / 0.8262 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0004078/0.4635, allocations: 157.4 kB / 1.072 GB, free: 5.578 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 2.011e-05/0.4635, allocations: 4 kB / 1.072 GB, free: 5.574 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.482e-06/0.4635, allocations: 160 / 1.072 GB, free: 5.574 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.453e-05/0.4636, allocations: 0 / 1.072 GB, free: 5.574 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001724/0.4637, allocations: 31.97 kB / 1.073 GB, free: 5.543 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.879e-06/0.4637, allocations: 7.922 kB / 1.073 GB, free: 5.535 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000138/0.4639, allocations: 27.75 kB / 1.073 GB, free: 5.508 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.3e-05/0.4639, allocations: 4 kB / 1.073 GB, free: 5.504 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 0.0001079/0.464, allocations: 115.4 kB / 1.073 GB, free: 5.383 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.807e-05/0.4641, allocations: 11.91 kB / 1.073 GB, free: 5.371 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005251/0.4646, allocations: 181.7 kB / 1.073 GB, free: 5.18 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.452e-06/0.4646, allocations: 4 kB / 1.073 GB, free: 5.176 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.063e-06/0.4646, allocations: 0 / 1.073 GB, free: 5.176 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.955e-06/0.4647, allocations: 3.938 kB / 1.073 GB, free: 5.172 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003071/0.465, allocations: 213.5 kB / 1.073 GB, free: 4.914 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.665e-06/0.465, allocations: 4 kB / 1.073 GB, free: 4.91 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001605/0.4651, allocations: 27.97 kB / 1.073 GB, free: 4.883 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.605e-06/0.4652, allocations: 0 / 1.073 GB, free: 4.883 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.349e-05/0.4652, allocations: 0 / 1.073 GB, free: 4.883 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.825e-06/0.4652, allocations: 8 kB / 1.073 GB, free: 4.875 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.72e-07/0.4652, allocations: 3.938 kB / 1.073 GB, free: 4.871 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004738/0.4657, allocations: 330.4 kB / 1.073 GB, free: 4.531 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 9.518e-05/0.4658, allocations: 93 kB / 1.073 GB, free: 4.422 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.727e-05/0.4658, allocations: 11.98 kB / 1.074 GB, free: 4.41 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001975/0.466, allocations: 11.98 kB / 1.074 GB, free: 4.398 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.936e-05/0.4661, allocations: 15.92 kB / 1.074 GB, free: 4.383 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.658e-06/0.4661, allocations: 4 kB / 1.074 GB, free: 4.379 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 8.206e-05/0.4662, allocations: 111.2 kB / 1.074 GB, free: 4.27 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.2e-07/0.4662, allocations: 0 / 1.074 GB, free: 4.27 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.000274/0.4665, allocations: 16 kB / 1.074 GB, free: 4.254 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.000193/0.4667, allocations: 111.2 kB / 1.074 GB, free: 4.137 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0004284/0.4671, allocations: 111.9 kB / 1.074 GB, free: 4.027 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.775e-06/0.4671, allocations: 3.938 kB / 1.074 GB, free: 4.023 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001933/0.4673, allocations: 59.95 kB / 1.074 GB, free: 3.965 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005621/0.4679, allocations: 23.98 kB / 1.074 GB, free: 3.941 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006009/0.4685, allocations: 271.6 kB / 1.074 GB, free: 3.648 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000302/0.4688, allocations: 0.6963 MB / 1.075 GB, free: 2.926 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 9.826e-05/0.4689, allocations: 16.53 kB / 1.075 GB, free: 2.906 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.252e-05/0.469, allocations: 19.44 kB / 1.075 GB, free: 2.887 MB / 0.8262 GB Notification: Performance of SimCode: time 2.91e-07/0.469, allocations: 0 / 1.075 GB, free: 2.887 MB / 0.8262 GB Notification: Performance of Templates: time 0.004894/0.4739, allocations: 1.679 MB / 1.077 GB, free: 1.234 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