Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/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_9_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_9_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.00181/0.00181, allocations: 105.1 kB / 16.41 MB, free: 6.41 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.001971/0.001971, allocations: 189.7 kB / 17.35 MB, free: 5.695 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.383/1.383, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.304/2.304, allocations: 390.3 MB / 0.6655 GB, free: 0.625 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001488/0.001488, allocations: 63.91 kB / 0.9515 GB, free: 7.66 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8358/0.8373, allocations: 140.4 MB / 1.089 GB, free: 5.777 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Psychrometrics.Validation.WetBulb_TDryBulPhi): time 0.001688/0.839, allocations: 0.7598 MB / 1.089 GB, free: 5.285 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.0008555/0.8399, allocations: 0.8755 MB / 1.09 GB, free: 4.625 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.454e-05/0.8399, allocations: 1.125 kB / 1.09 GB, free: 4.625 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 3.603e-05/0.84, allocations: 8.438 kB / 1.09 GB, free: 4.617 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 7.988e-05/0.84, allocations: 16.56 kB / 1.09 GB, free: 4.605 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001672/0.8402, allocations: 38.66 kB / 1.09 GB, free: 4.586 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0001248/0.8404, allocations: 97.41 kB / 1.09 GB, free: 4.543 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001124/0.8405, allocations: 27.12 kB / 1.09 GB, free: 4.527 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 8.701e-05/0.8406, allocations: 40.39 kB / 1.09 GB, free: 4.512 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001092/0.8407, allocations: 50.41 kB / 1.09 GB, free: 4.488 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 2.668e-05/0.8407, allocations: 7.906 kB / 1.09 GB, free: 4.488 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 2.145e-05/0.8407, allocations: 11.06 kB / 1.09 GB, free: 4.484 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 2.633e-05/0.8408, allocations: 23.55 kB / 1.091 GB, free: 4.469 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 4.479e-05/0.8408, allocations: 38.42 kB / 1.091 GB, free: 4.445 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0001351/0.841, allocations: 92.09 kB / 1.091 GB, free: 4.41 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 5.34e-06/0.841, allocations: 1.828 kB / 1.091 GB, free: 4.41 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.252e-06/0.841, allocations: 0 / 1.091 GB, free: 4.41 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 5.27e-06/0.841, allocations: 0 / 1.091 GB, free: 4.41 MB / 0.8575 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.0006689/0.8417, allocations: 412.3 kB / 1.091 GB, free: 4.02 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.684e-05/0.8417, allocations: 9.219 kB / 1.091 GB, free: 4.02 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.795e-05/0.8417, allocations: 9.25 kB / 1.091 GB, free: 4.016 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.09e-05/0.8418, allocations: 178.3 kB / 1.091 GB, free: 3.809 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.828e-06/0.8419, allocations: 2.469 kB / 1.091 GB, free: 3.809 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.91e-05/0.8419, allocations: 8.344 kB / 1.091 GB, free: 3.805 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003292/0.8422, allocations: 128.2 kB / 1.091 GB, free: 3.73 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.276e-06/0.8422, allocations: 192 / 1.091 GB, free: 3.73 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.495e-05/0.8422, allocations: 5.219 kB / 1.091 GB, free: 3.727 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.06e-06/0.8423, allocations: 1.312 kB / 1.091 GB, free: 3.727 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003667/0.8426, allocations: 97.27 kB / 1.091 GB, free: 3.707 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000491/0.8431, allocations: 443.6 kB / 1.092 GB, free: 3.297 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004016/0.8435, allocations: 117.3 kB / 1.092 GB, free: 3.227 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000204/0.8438, allocations: 61.02 kB / 1.092 GB, free: 3.199 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.701e-05/0.8438, allocations: 0.9688 kB / 1.092 GB, free: 3.199 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.269e-05/0.8438, allocations: 32.7 kB / 1.092 GB, free: 3.16 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=6): time 1.333e-06/0.8438, allocations: 0 / 1.092 GB, free: 3.16 MB / 0.8575 GB Notification: Performance of matching and sorting (n=6): time 0.0006863/0.8445, allocations: 177.5 kB / 1.092 GB, free: 3.094 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.451e-05/0.8445, allocations: 79.31 kB / 1.092 GB, free: 3 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.579e-05/0.8446, allocations: 142.4 kB / 1.092 GB, free: 2.883 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.318e-05/0.8446, allocations: 26.39 kB / 1.092 GB, free: 2.852 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 3.912e-05/0.8447, allocations: 97.06 kB / 1.093 GB, free: 2.758 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 2.012e-05/0.8447, allocations: 28.62 kB / 1.093 GB, free: 2.734 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.879e-05/0.8448, allocations: 27.52 kB / 1.093 GB, free: 2.711 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 4.926e-05/0.8448, allocations: 319.7 kB / 1.093 GB, free: 2.395 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001902/0.845, allocations: 47.7 kB / 1.093 GB, free: 2.383 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001817/0.8452, allocations: 61.2 kB / 1.093 GB, free: 2.355 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003572/0.8456, allocations: 106.6 kB / 1.093 GB, free: 2.316 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.454e-06/0.8456, allocations: 0 / 1.093 GB, free: 2.316 MB / 0.8575 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0004297/0.846, allocations: 151.6 kB / 1.093 GB, free: 2.25 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.486e-05/0.846, allocations: 11.72 kB / 1.093 GB, free: 2.246 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.502e-06/0.8461, allocations: 1.422 kB / 1.093 GB, free: 2.246 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.621e-05/0.8461, allocations: 4.688 kB / 1.093 GB, free: 2.242 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001848/0.8463, allocations: 25.44 kB / 1.093 GB, free: 2.242 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.464e-06/0.8463, allocations: 1.891 kB / 1.093 GB, free: 2.242 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000136/0.8464, allocations: 17.17 kB / 1.093 GB, free: 2.238 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.2e-05/0.8464, allocations: 3.125 kB / 1.093 GB, free: 2.238 MB / 0.8575 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 6.251e-05/0.8465, allocations: 118.6 kB / 1.093 GB, free: 2.117 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.034e-05/0.8466, allocations: 12.39 kB / 1.093 GB, free: 2.109 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005314/0.8471, allocations: 182.4 kB / 1.094 GB, free: 2.027 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.308e-06/0.8471, allocations: 5.594 kB / 1.094 GB, free: 2.023 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.409e-06/0.8471, allocations: 0 / 1.094 GB, free: 2.023 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.02e-06/0.8471, allocations: 9.422 kB / 1.094 GB, free: 2.016 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002409/0.8474, allocations: 207.2 kB / 1.094 GB, free: 1.805 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.483e-06/0.8474, allocations: 0.8438 kB / 1.094 GB, free: 1.805 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001793/0.8476, allocations: 36.94 kB / 1.094 GB, free: 1.797 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.695e-06/0.8476, allocations: 1.188 kB / 1.094 GB, free: 1.797 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.191e-05/0.8476, allocations: 1.719 kB / 1.094 GB, free: 1.797 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.124e-06/0.8476, allocations: 1.156 kB / 1.094 GB, free: 1.797 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.854e-06/0.8476, allocations: 0.5 kB / 1.094 GB, free: 1.797 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004576/0.8481, allocations: 334.5 kB / 1.094 GB, free: 1.547 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 5.096e-05/0.8481, allocations: 97.42 kB / 1.094 GB, free: 1.441 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.541e-05/0.8482, allocations: 2.828 kB / 1.094 GB, free: 1.441 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001943/0.8484, allocations: 15.55 kB / 1.094 GB, free: 1.438 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.878e-05/0.8484, allocations: 16.52 kB / 1.094 GB, free: 1.43 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.068e-05/0.8485, allocations: 3.594 kB / 1.094 GB, free: 1.43 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 6.978e-05/0.8485, allocations: 115.8 kB / 1.094 GB, free: 1.344 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.2e-07/0.8485, allocations: 0 / 1.094 GB, free: 1.344 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002905/0.8488, allocations: 15.53 kB / 1.094 GB, free: 1.344 MB / 0.8575 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 9.559e-05/0.8489, allocations: 103 kB / 1.095 GB, free: 1.254 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0004373/0.8494, allocations: 116.1 kB / 1.095 GB, free: 1.227 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 1.753e-06/0.8494, allocations: 0.6875 kB / 1.095 GB, free: 1.227 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.000211/0.8496, allocations: 65.97 kB / 1.095 GB, free: 1.211 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004698/0.8501, allocations: 33.45 kB / 1.095 GB, free: 1.195 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004671/0.8506, allocations: 249.2 kB / 1.095 GB, free: 0.9961 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001191/0.8507, allocations: 0.6968 MB / 1.096 GB, free: 308 kB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.489e-05/0.8508, allocations: 17.2 kB / 1.096 GB, free: 300 kB / 0.8575 GB Notification: Performance of SimCode: time 3.41e-07/0.8508, allocations: 4 kB / 1.096 GB, free: 296 kB / 0.8575 GB Notification: Performance of Templates: time 0.003379/0.8541, allocations: 1.418 MB / 1.097 GB, free: 176 kB / 0.8575 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.CDL.Psychrometrics.Validation.WetBulb_TDryBulPhi.makefile (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Psychrometrics.Validation.WetBulb_TDryBulPhi.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Psychrometrics.Validation.WetBulb_TDryBulPhi.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Psychrometrics.Validation.WetBulb_TDryBulPhi.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Psychrometrics.Validation.WetBulb_TDryBulPhi.sim & ./Buildings_9_Buildings.Controls.OBC.CDL.Psychrometrics.Validation.WetBulb_TDryBulPhi -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.CDL.Psychrometrics.Validation.WetBulb_TDryBulPhi.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Psychrometrics.Validation.WetBulb_TDryBulPhi_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Psychrometrics_Validation_WetBulb_TDryBulPhi.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.CDL.Psychrometrics.Validation.WetBulb_TDryBulPhi.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches