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.001509/0.001509, 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.001762/0.001762, allocations: 193.8 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.451/1.451, allocations: 222.9 MB / 239.9 MB, free: 4.52 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.515/2.515, allocations: 390.2 MB / 0.6643 GB, free: 0.5156 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.00195/0.00195, allocations: 67.89 kB / 0.812 GB, free: 14.75 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9322/0.9342, allocations: 140.3 MB / 0.9491 GB, free: 9.117 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi_comparison): time 0.002585/0.9368, allocations: 1.356 MB / 0.9504 GB, free: 8.039 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0009564/0.9378, allocations: 0.7649 MB / 0.9512 GB, free: 7.43 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.712e-05/0.9378, allocations: 0 / 0.9512 GB, free: 7.43 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 1.969e-05/0.9379, allocations: 0 / 0.9512 GB, free: 7.43 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 5.02e-05/0.938, allocations: 5.312 kB / 0.9512 GB, free: 7.426 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005393/0.9385, allocations: 149.2 kB / 0.9513 GB, free: 7.336 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 5.799e-05/0.9386, allocations: 28.19 kB / 0.9513 GB, free: 7.32 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 4.069e-05/0.9386, allocations: 5.359 kB / 0.9513 GB, free: 7.316 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 4.046e-05/0.9387, allocations: 13.48 kB / 0.9514 GB, free: 7.309 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 5.256e-05/0.9387, allocations: 8.062 kB / 0.9514 GB, free: 7.305 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 8.576e-06/0.9387, allocations: 1.375 kB / 0.9514 GB, free: 7.305 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003918/0.9391, allocations: 286.9 kB / 0.9516 GB, free: 7.137 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.202e-05/0.9391, allocations: 1.5 kB / 0.9516 GB, free: 7.137 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 3.354e-05/0.9392, allocations: 15.89 kB / 0.9517 GB, free: 7.125 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0003077/0.9395, allocations: 173.9 kB / 0.9518 GB, free: 7.035 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.358e-06/0.9395, allocations: 1.469 kB / 0.9518 GB, free: 7.035 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.094e-06/0.9395, allocations: 3.938 kB / 0.9518 GB, free: 7.031 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.519e-06/0.9395, allocations: 0 / 0.9518 GB, free: 7.031 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.0003395/0.9399, allocations: 370.8 kB / 0.9522 GB, free: 6.637 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.795e-05/0.9399, allocations: 9.656 kB / 0.9522 GB, free: 6.637 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002489/0.9402, allocations: 19.25 kB / 0.9522 GB, free: 6.629 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.633e-05/0.9403, allocations: 170 kB / 0.9524 GB, free: 6.426 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.566e-06/0.9403, allocations: 384 / 0.9524 GB, free: 6.426 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.422e-05/0.9403, allocations: 3.719 kB / 0.9524 GB, free: 6.426 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001195/0.9404, allocations: 59 kB / 0.9524 GB, free: 6.371 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.825e-06/0.9404, allocations: 192 / 0.9524 GB, free: 6.371 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.273e-05/0.9404, allocations: 5.25 kB / 0.9524 GB, free: 6.367 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.398e-06/0.9405, allocations: 0 / 0.9524 GB, free: 6.367 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.075e-05/0.9405, allocations: 21.73 kB / 0.9525 GB, free: 6.359 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001296/0.9407, allocations: 160 kB / 0.9526 GB, free: 6.16 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001051/0.9408, allocations: 63.28 kB / 0.9527 GB, free: 6.113 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.015e-05/0.9408, allocations: 27.7 kB / 0.9527 GB, free: 6.094 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 2.419e-05/0.9408, allocations: 1.219 kB / 0.9527 GB, free: 6.094 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.51e-05/0.9409, allocations: 35.78 kB / 0.9527 GB, free: 6.051 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=6): time 1.132e-06/0.9409, allocations: 0 / 0.9527 GB, free: 6.051 MB / 0.7169 GB Notification: Performance of matching and sorting (n=6): time 0.0001807/0.9411, allocations: 76.72 kB / 0.9528 GB, free: 5.996 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.129e-05/0.9411, allocations: 60.64 kB / 0.9529 GB, free: 5.926 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.114e-05/0.9411, allocations: 91.08 kB / 0.9529 GB, free: 5.828 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.054e-05/0.9411, allocations: 26.86 kB / 0.953 GB, free: 5.797 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 1.211e-05/0.9412, allocations: 80.14 kB / 0.953 GB, free: 5.715 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 3.159e-05/0.9412, allocations: 22.53 kB / 0.9531 GB, free: 5.695 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.377e-05/0.9412, allocations: 22.42 kB / 0.9531 GB, free: 5.672 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.376e-05/0.9413, allocations: 312.1 kB / 0.9534 GB, free: 5.359 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.426e-05/0.9413, allocations: 9.875 kB / 0.9534 GB, free: 5.355 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.392e-05/0.9413, allocations: 26.23 kB / 0.9534 GB, free: 5.336 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.679e-05/0.9414, allocations: 36.48 kB / 0.9535 GB, free: 5.312 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.264e-06/0.9414, allocations: 1.219 kB / 0.9535 GB, free: 5.312 MB / 0.7169 GB Notification: Performance of matching and sorting (n=6) (initialization): time 9.049e-05/0.9415, allocations: 62.09 kB / 0.9535 GB, free: 5.266 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.452e-05/0.9415, allocations: 5.594 kB / 0.9535 GB, free: 5.266 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.2e-06/0.9415, allocations: 3.938 kB / 0.9535 GB, free: 5.262 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.247e-05/0.9416, allocations: 1.375 kB / 0.9535 GB, free: 5.262 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000127/0.9417, allocations: 15.33 kB / 0.9535 GB, free: 5.258 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.701e-06/0.9417, allocations: 0 / 0.9535 GB, free: 5.258 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.929e-05/0.9417, allocations: 8.969 kB / 0.9536 GB, free: 5.25 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.883e-06/0.9418, allocations: 1.906 kB / 0.9536 GB, free: 5.25 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 5.427e-05/0.9418, allocations: 116 kB / 0.9537 GB, free: 5.129 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.232e-05/0.9418, allocations: 1.062 kB / 0.9537 GB, free: 5.129 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001927/0.942, allocations: 90.55 kB / 0.9538 GB, free: 5.055 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.205e-06/0.942, allocations: 6.031 kB / 0.9538 GB, free: 5.051 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.907e-06/0.942, allocations: 0 / 0.9538 GB, free: 5.051 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.895e-06/0.9421, allocations: 3.938 kB / 0.9538 GB, free: 5.047 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.602e-05/0.9421, allocations: 161.4 kB / 0.9539 GB, free: 4.848 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.372e-06/0.9421, allocations: 1.188 kB / 0.9539 GB, free: 4.848 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.573e-05/0.9422, allocations: 20.14 kB / 0.9539 GB, free: 4.84 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.326e-06/0.9423, allocations: 1.312 kB / 0.9539 GB, free: 4.84 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.827e-06/0.9423, allocations: 3.938 kB / 0.9539 GB, free: 4.836 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.432e-06/0.9423, allocations: 1.219 kB / 0.9539 GB, free: 4.836 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.9423, allocations: 0 / 0.9539 GB, free: 4.836 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001115/0.9424, allocations: 107.3 kB / 0.954 GB, free: 4.738 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 4.387e-05/0.9424, allocations: 80.3 kB / 0.9541 GB, free: 4.645 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.436e-05/0.9425, allocations: 7.938 kB / 0.9541 GB, free: 4.637 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.665e-05/0.9425, allocations: 1.406 kB / 0.9541 GB, free: 4.637 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.116e-05/0.9426, allocations: 6.547 kB / 0.9541 GB, free: 4.633 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.902e-06/0.9426, allocations: 5.375 kB / 0.9541 GB, free: 4.629 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 1.474e-05/0.9426, allocations: 76.84 kB / 0.9542 GB, free: 4.555 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1e-07/0.9426, allocations: 4.094 kB / 0.9542 GB, free: 4.551 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0001885/0.9428, allocations: 7.875 kB / 0.9542 GB, free: 4.551 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.398e-05/0.9429, allocations: 109.2 kB / 0.9543 GB, free: 4.457 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0001152/0.943, allocations: 50.23 kB / 0.9544 GB, free: 4.43 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.545e-06/0.943, allocations: 0 / 0.9544 GB, free: 4.43 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 3.315e-05/0.943, allocations: 30.05 kB / 0.9544 GB, free: 4.414 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002198/0.9433, allocations: 7.844 kB / 0.9544 GB, free: 4.41 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003183/0.9436, allocations: 143.5 kB / 0.9545 GB, free: 4.277 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001024/0.9437, allocations: 0.6821 MB / 0.9552 GB, free: 3.574 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 5.927e-05/0.9438, allocations: 2.906 kB / 0.9552 GB, free: 3.574 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.19e-05/0.9438, allocations: 18.41 kB / 0.9552 GB, free: 3.559 MB / 0.7169 GB Notification: Performance of SimCode: time 2.31e-07/0.9438, allocations: 0 / 0.9552 GB, free: 3.559 MB / 0.7169 GB Notification: Performance of Templates: time 0.002718/0.9465, allocations: 0.5626 MB / 0.9558 GB, free: 3.266 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