Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_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_10_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.000907/0.000907, allocations: 97.95 kB / 15.36 MB, free: 0.7344 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.005509/0.005509, allocations: 170.4 kB / 16.27 MB, free: 6.648 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.462/1.462, allocations: 223.3 MB / 240.3 MB, free: 5.359 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.575/2.575, allocations: 437.8 MB / 0.7121 GB, free: 6.949 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003457/0.0003458, allocations: 8 kB / 0.8728 GB, free: 3.289 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7443/0.7446, allocations: 153.8 MB / 1.023 GB, free: 15.85 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi_comparison): time 0.001562/0.7462, allocations: 1.011 MB / 1.024 GB, free: 14.84 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.00125/0.7475, allocations: 0.7632 MB / 1.025 GB, free: 14.07 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.423e-05/0.7476, allocations: 0 / 1.025 GB, free: 14.07 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 1.676e-05/0.7476, allocations: 0 / 1.025 GB, free: 14.07 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 6.369e-05/0.7477, allocations: 11.91 kB / 1.025 GB, free: 14.06 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005335/0.7482, allocations: 147.5 kB / 1.025 GB, free: 13.91 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 7.019e-05/0.7483, allocations: 31.8 kB / 1.025 GB, free: 13.88 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 4.273e-05/0.7483, allocations: 0 / 1.025 GB, free: 13.88 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 4.49e-05/0.7484, allocations: 12 kB / 1.025 GB, free: 13.87 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 7.348e-05/0.7485, allocations: 11.92 kB / 1.025 GB, free: 13.86 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 9.328e-06/0.7485, allocations: 0 / 1.025 GB, free: 13.86 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004796/0.749, allocations: 291.5 kB / 1.025 GB, free: 13.57 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 1.274e-05/0.749, allocations: 3.984 kB / 1.025 GB, free: 13.57 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 3.987e-05/0.749, allocations: 37.64 kB / 1.025 GB, free: 13.53 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0003059/0.7494, allocations: 165.7 kB / 1.025 GB, free: 13.37 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 5.551e-06/0.7494, allocations: 4 kB / 1.025 GB, free: 13.36 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.994e-06/0.7494, allocations: 4 kB / 1.025 GB, free: 13.36 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 4.599e-06/0.7494, allocations: 0 / 1.025 GB, free: 13.36 MB / 0.7794 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.0004228/0.7498, allocations: 359.4 kB / 1.026 GB, free: 12.96 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.04e-05/0.7499, allocations: 8.031 kB / 1.026 GB, free: 12.95 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002723/0.7501, allocations: 24.84 kB / 1.026 GB, free: 12.93 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001019/0.7503, allocations: 164.3 kB / 1.026 GB, free: 12.73 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.311e-05/0.7503, allocations: 4.375 kB / 1.026 GB, free: 12.72 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.077e-05/0.7503, allocations: 8.375 kB / 1.026 GB, free: 12.71 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001238/0.7504, allocations: 46.23 kB / 1.026 GB, free: 12.66 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.504e-06/0.7504, allocations: 192 / 1.026 GB, free: 12.66 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.456e-05/0.7505, allocations: 7.938 kB / 1.026 GB, free: 12.66 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.37e-06/0.7505, allocations: 0 / 1.026 GB, free: 12.66 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.147e-05/0.7505, allocations: 23.98 kB / 1.026 GB, free: 12.63 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001578/0.7507, allocations: 157.7 kB / 1.026 GB, free: 12.43 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001131/0.7508, allocations: 70.55 kB / 1.026 GB, free: 12.35 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.412e-05/0.7509, allocations: 24.86 kB / 1.026 GB, free: 12.32 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 2.506e-05/0.7509, allocations: 0 / 1.026 GB, free: 12.32 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.526e-05/0.7509, allocations: 38.56 kB / 1.026 GB, free: 12.28 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=6): time 8.11e-07/0.7509, allocations: 0 / 1.026 GB, free: 12.28 MB / 0.7794 GB Notification: Performance of matching and sorting (n=6): time 0.0002095/0.7512, allocations: 89.58 kB / 1.026 GB, free: 12.18 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.311e-05/0.7512, allocations: 51.41 kB / 1.026 GB, free: 12.12 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.961e-05/0.7513, allocations: 97.86 kB / 1.027 GB, free: 12.02 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.705e-05/0.7513, allocations: 25.7 kB / 1.027 GB, free: 11.98 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 2.491e-05/0.7513, allocations: 88.08 kB / 1.027 GB, free: 11.89 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 3.351e-05/0.7514, allocations: 19.73 kB / 1.027 GB, free: 11.88 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.65e-05/0.7514, allocations: 13.72 kB / 1.027 GB, free: 11.86 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 8.848e-05/0.7515, allocations: 310.8 kB / 1.027 GB, free: 11.54 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.521e-05/0.7515, allocations: 8 kB / 1.027 GB, free: 11.54 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.666e-05/0.7515, allocations: 20.05 kB / 1.027 GB, free: 11.52 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.898e-05/0.7516, allocations: 32.86 kB / 1.027 GB, free: 11.48 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.284e-06/0.7516, allocations: 4.125 kB / 1.027 GB, free: 11.48 MB / 0.7794 GB Notification: Performance of matching and sorting (n=6) (initialization): time 9.743e-05/0.7517, allocations: 65.62 kB / 1.027 GB, free: 11.41 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.518e-05/0.7517, allocations: 8 kB / 1.027 GB, free: 11.4 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.972e-06/0.7518, allocations: 3.938 kB / 1.027 GB, free: 11.39 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.029e-05/0.7518, allocations: 0 / 1.027 GB, free: 11.39 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001192/0.7519, allocations: 15.98 kB / 1.027 GB, free: 11.38 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.04e-06/0.7519, allocations: 0 / 1.027 GB, free: 11.38 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.492e-05/0.7519, allocations: 3.906 kB / 1.027 GB, free: 11.38 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.836e-06/0.752, allocations: 4 kB / 1.027 GB, free: 11.37 MB / 0.7794 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 7.729e-05/0.752, allocations: 114.4 kB / 1.027 GB, free: 11.25 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.312e-05/0.7521, allocations: 7.984 kB / 1.027 GB, free: 11.24 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001944/0.7523, allocations: 89.5 kB / 1.027 GB, free: 11.15 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.785e-06/0.7523, allocations: 0 / 1.027 GB, free: 11.15 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.269e-06/0.7523, allocations: 0 / 1.027 GB, free: 11.15 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.006e-06/0.7523, allocations: 0 / 1.027 GB, free: 11.15 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001191/0.7524, allocations: 165.7 kB / 1.028 GB, free: 10.94 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.094e-06/0.7524, allocations: 0 / 1.028 GB, free: 10.94 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.355e-05/0.7525, allocations: 19.98 kB / 1.028 GB, free: 10.92 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.325e-06/0.7525, allocations: 0 / 1.028 GB, free: 10.92 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.807e-06/0.7525, allocations: 3.938 kB / 1.028 GB, free: 10.91 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.714e-06/0.7525, allocations: 0 / 1.028 GB, free: 10.91 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.71e-07/0.7526, allocations: 0 / 1.028 GB, free: 10.91 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001325/0.7527, allocations: 108.9 kB / 1.028 GB, free: 10.79 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 5.374e-05/0.7528, allocations: 77.11 kB / 1.028 GB, free: 10.7 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.459e-05/0.7528, allocations: 11.94 kB / 1.028 GB, free: 10.68 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.4e-05/0.7528, allocations: 8.172 kB / 1.028 GB, free: 10.68 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.483e-05/0.7529, allocations: 0 / 1.028 GB, free: 10.68 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.046e-05/0.7529, allocations: 8 kB / 1.028 GB, free: 10.67 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 2.719e-05/0.7529, allocations: 79.22 kB / 1.028 GB, free: 10.59 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1e-07/0.7529, allocations: 0 / 1.028 GB, free: 10.59 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.00019/0.7531, allocations: 8 kB / 1.028 GB, free: 10.58 MB / 0.7794 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 0.0001092/0.7532, allocations: 115.2 kB / 1.028 GB, free: 10.46 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0001071/0.7533, allocations: 39.91 kB / 1.028 GB, free: 10.42 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.7533, allocations: 4 kB / 1.028 GB, free: 10.41 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 3.022e-05/0.7534, allocations: 16 kB / 1.028 GB, free: 10.4 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002034/0.7536, allocations: 8 kB / 1.028 GB, free: 10.39 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003179/0.7539, allocations: 140.9 kB / 1.028 GB, free: 10.23 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002084/0.7541, allocations: 0.6848 MB / 1.029 GB, free: 9.516 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 5.501e-05/0.7542, allocations: 3.984 kB / 1.029 GB, free: 9.512 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.524e-05/0.7542, allocations: 19.38 kB / 1.029 GB, free: 9.492 MB / 0.7794 GB Notification: Performance of SimCode: time 2.31e-07/0.7542, allocations: 0 / 1.029 GB, free: 9.492 MB / 0.7794 GB Notification: Performance of Templates: time 0.00261/0.7569, allocations: 0.5333 MB / 1.029 GB, free: 8.969 MB / 0.7794 GB make -j1 -f Buildings_10_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi_comparison.makefile (rm -f Buildings_10_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi_comparison.pipe ; mkfifo Buildings_10_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi_comparison.pipe ; head -c 1048576 < Buildings_10_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi_comparison.pipe >> ../files/Buildings_10_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi_comparison.sim & ./Buildings_10_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi_comparison -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi_comparison.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi_comparison_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Utilities_Psychrometrics_Functions_Examples_pW_TDewPoi_comparison.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi_comparison.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches