Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi_comparison.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.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi_comparison,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|p_w|p_w_ashrae|r_p",fileNamePrefix="Buildings_9_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi_comparison") translateModel(Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi_comparison,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|p_w|p_w_ashrae|r_p",fileNamePrefix="Buildings_9_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi_comparison") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001737/0.001737, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.00259/0.00259, allocations: 192.9 kB / 16.14 MB, free: 6.711 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.496/1.496, allocations: 222.9 MB / 239.8 MB, free: 4.609 MB / 190.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.526/2.526, allocations: 390.2 MB / 0.6642 GB, free: 0.5859 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001255/0.001255, allocations: 67.89 kB / 0.8119 GB, free: 14.88 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8492/0.8505, allocations: 140.3 MB / 0.9489 GB, free: 9.184 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi_comparison): time 0.002983/0.8535, allocations: 1.356 MB / 0.9502 GB, free: 8.105 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001203/0.8548, allocations: 0.7732 MB / 0.951 GB, free: 7.496 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.06e-05/0.8548, allocations: 3.938 kB / 0.951 GB, free: 7.492 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 2.108e-05/0.8548, allocations: 3.984 kB / 0.951 GB, free: 7.488 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 5.199e-05/0.8549, allocations: 8.891 kB / 0.951 GB, free: 7.48 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005299/0.8555, allocations: 149.6 kB / 0.9511 GB, free: 7.387 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 5.896e-05/0.8555, allocations: 24.17 kB / 0.9512 GB, free: 7.375 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 4.861e-05/0.8556, allocations: 5.438 kB / 0.9512 GB, free: 7.371 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 3.952e-05/0.8556, allocations: 8.688 kB / 0.9512 GB, free: 7.367 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 5.492e-05/0.8557, allocations: 13.3 kB / 0.9512 GB, free: 7.359 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 8.776e-06/0.8557, allocations: 0 / 0.9512 GB, free: 7.359 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000421/0.8561, allocations: 286.5 kB / 0.9515 GB, free: 7.191 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.221e-05/0.8562, allocations: 9.266 kB / 0.9515 GB, free: 7.184 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 2.828e-05/0.8562, allocations: 9.531 kB / 0.9515 GB, free: 7.18 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0003382/0.8565, allocations: 173.7 kB / 0.9517 GB, free: 7.09 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.619e-06/0.8565, allocations: 0 / 0.9517 GB, free: 7.09 MB / 0.7169 GB Notification: Performance of FrontEnd: time 8.31e-07/0.8565, allocations: 0 / 0.9517 GB, free: 7.09 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 5.16e-06/0.8566, allocations: 5.344 kB / 0.9517 GB, free: 7.086 MB / 0.7169 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0003645/0.8569, allocations: 362.4 kB / 0.952 GB, free: 6.699 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.037e-05/0.857, allocations: 9.812 kB / 0.952 GB, free: 6.699 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002549/0.8572, allocations: 19.28 kB / 0.952 GB, free: 6.691 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.805e-05/0.8573, allocations: 172.2 kB / 0.9522 GB, free: 6.484 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.601e-05/0.8573, allocations: 2.688 kB / 0.9522 GB, free: 6.484 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.575e-05/0.8574, allocations: 5.438 kB / 0.9522 GB, free: 6.48 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001293/0.8575, allocations: 48 kB / 0.9523 GB, free: 6.438 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.987e-06/0.8575, allocations: 192 / 0.9523 GB, free: 6.438 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.326e-05/0.8575, allocations: 5.219 kB / 0.9523 GB, free: 6.434 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.492e-06/0.8575, allocations: 1.219 kB / 0.9523 GB, free: 6.434 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.536e-05/0.8576, allocations: 24.2 kB / 0.9523 GB, free: 6.422 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001491/0.8578, allocations: 160.2 kB / 0.9524 GB, free: 6.223 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001264/0.8579, allocations: 67.16 kB / 0.9525 GB, free: 6.172 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.499e-05/0.8579, allocations: 28.08 kB / 0.9525 GB, free: 6.152 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 2.695e-05/0.858, allocations: 5.031 kB / 0.9525 GB, free: 6.148 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.941e-05/0.858, allocations: 31.62 kB / 0.9526 GB, free: 6.109 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=6): time 1.052e-06/0.858, allocations: 0 / 0.9526 GB, free: 6.109 MB / 0.7169 GB Notification: Performance of matching and sorting (n=6): time 0.0002036/0.8582, allocations: 77.47 kB / 0.9526 GB, free: 6.055 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.829e-05/0.8583, allocations: 52.62 kB / 0.9527 GB, free: 5.992 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.433e-05/0.8583, allocations: 94.83 kB / 0.9528 GB, free: 5.891 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.12e-05/0.8583, allocations: 39.52 kB / 0.9528 GB, free: 5.848 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 1.465e-05/0.8583, allocations: 80.14 kB / 0.9529 GB, free: 5.766 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 3.69e-05/0.8584, allocations: 22.08 kB / 0.9529 GB, free: 5.746 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.157e-05/0.8584, allocations: 17.41 kB / 0.9529 GB, free: 5.727 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.412e-05/0.8585, allocations: 316 kB / 0.9532 GB, free: 5.41 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.828e-05/0.8585, allocations: 10.34 kB / 0.9532 GB, free: 5.406 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.242e-05/0.8586, allocations: 14.31 kB / 0.9532 GB, free: 5.398 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.365e-05/0.8586, allocations: 37.69 kB / 0.9533 GB, free: 5.375 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.794e-06/0.8586, allocations: 4 kB / 0.9533 GB, free: 5.371 MB / 0.7169 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001003/0.8587, allocations: 62.19 kB / 0.9533 GB, free: 5.324 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.698e-05/0.8588, allocations: 5.188 kB / 0.9534 GB, free: 5.324 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.304e-06/0.8588, allocations: 7.922 kB / 0.9534 GB, free: 5.316 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.325e-05/0.8588, allocations: 5.031 kB / 0.9534 GB, free: 5.312 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001374/0.8589, allocations: 19.06 kB / 0.9534 GB, free: 5.305 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.67e-06/0.8589, allocations: 1.562 kB / 0.9534 GB, free: 5.305 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.947e-05/0.859, allocations: 5.594 kB / 0.9534 GB, free: 5.301 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.424e-06/0.859, allocations: 3.984 kB / 0.9534 GB, free: 5.297 MB / 0.7169 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (6): * Single equations (assignments): 6 * 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.19e-05/0.8591, allocations: 116.7 kB / 0.9535 GB, free: 5.176 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.301e-05/0.8591, allocations: 1.719 kB / 0.9535 GB, free: 5.176 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002034/0.8593, allocations: 94.75 kB / 0.9536 GB, free: 5.098 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.084e-06/0.8593, allocations: 0 / 0.9536 GB, free: 5.098 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.067e-06/0.8593, allocations: 1.688 kB / 0.9536 GB, free: 5.098 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.396e-06/0.8593, allocations: 448 / 0.9536 GB, free: 5.098 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.323e-05/0.8594, allocations: 162 kB / 0.9538 GB, free: 4.898 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.072e-06/0.8594, allocations: 0 / 0.9538 GB, free: 4.898 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.313e-05/0.8595, allocations: 20.52 kB / 0.9538 GB, free: 4.891 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.356e-06/0.8595, allocations: 1.625 kB / 0.9538 GB, free: 4.891 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.002e-05/0.8595, allocations: 3.938 kB / 0.9538 GB, free: 4.887 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.472e-06/0.8595, allocations: 0 / 0.9538 GB, free: 4.887 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.8595, allocations: 1.781 kB / 0.9538 GB, free: 4.887 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001132/0.8597, allocations: 97.61 kB / 0.9539 GB, free: 4.797 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 4.829e-05/0.8597, allocations: 88.12 kB / 0.954 GB, free: 4.695 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.636e-05/0.8597, allocations: 9.125 kB / 0.954 GB, free: 4.688 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.831e-05/0.8598, allocations: 5.125 kB / 0.954 GB, free: 4.684 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.88e-05/0.8598, allocations: 5.391 kB / 0.954 GB, free: 4.68 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.272e-06/0.8598, allocations: 6.656 kB / 0.954 GB, free: 4.676 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 1.741e-05/0.8599, allocations: 76.69 kB / 0.9541 GB, free: 4.602 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.21e-07/0.8599, allocations: 0 / 0.9541 GB, free: 4.602 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0001954/0.8601, allocations: 7.781 kB / 0.9541 GB, free: 4.602 MB / 0.7169 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (7): * Single equations (assignments): 7 * 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.826e-05/0.8602, allocations: 110.2 kB / 0.9542 GB, free: 4.504 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.00011/0.8603, allocations: 33.83 kB / 0.9542 GB, free: 4.492 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.824e-06/0.8603, allocations: 0 / 0.9542 GB, free: 4.492 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 3.588e-05/0.8603, allocations: 26.83 kB / 0.9542 GB, free: 4.48 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002429/0.8606, allocations: 6.75 kB / 0.9542 GB, free: 4.477 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003217/0.8609, allocations: 141.7 kB / 0.9544 GB, free: 4.344 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001005/0.861, allocations: 0.6794 MB / 0.955 GB, free: 3.645 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 5.856e-05/0.8611, allocations: 10.53 kB / 0.955 GB, free: 3.637 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.131e-05/0.8611, allocations: 14.34 kB / 0.9551 GB, free: 3.625 MB / 0.7169 GB Notification: Performance of SimCode: time 3e-07/0.8611, allocations: 0 / 0.9551 GB, free: 3.625 MB / 0.7169 GB Notification: Performance of Templates: time 0.002619/0.8638, allocations: 0.5324 MB / 0.9556 GB, free: 3.348 MB / 0.7169 GB make -j1 -f Buildings_9_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi_comparison.makefile (rm -f Buildings_9_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi_comparison.pipe ; mkfifo Buildings_9_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi_comparison.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi_comparison.pipe >> ../files/Buildings_9_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi_comparison.sim & ./Buildings_9_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi_comparison -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi_comparison.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi_comparison_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Utilities_Psychrometrics_Functions_Examples_pW_TDewPoi_comparison.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi_comparison.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches