Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi.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,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|T|TInv|p_w|dT",fileNamePrefix="Buildings_10_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi") translateModel(Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|T|TInv|p_w|dT",fileNamePrefix="Buildings_10_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001739/0.001739, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.002301/0.002301, allocations: 193.2 kB / 16.14 MB, free: 6.645 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.402/1.402, allocations: 222.9 MB / 239.8 MB, free: 4.574 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.572/2.572, allocations: 437 MB / 0.7099 GB, free: 5.254 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.002001/0.002001, allocations: 71.89 kB / 0.8685 GB, free: 5.164 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6442/0.6462, allocations: 151.6 MB / 1.017 GB, free: 2.781 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi): time 0.002346/0.6486, allocations: 1.342 MB / 1.018 GB, free: 1.43 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.001386/0.65, allocations: 0.9044 MB / 1.019 GB, free: 0.5195 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.448e-05/0.65, allocations: 0 / 1.019 GB, free: 0.5195 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 2.8e-05/0.65, allocations: 0 / 1.019 GB, free: 0.5195 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 4.879e-05/0.6501, allocations: 3.938 kB / 1.019 GB, free: 0.5156 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.000521/0.6506, allocations: 149.6 kB / 1.019 GB, free: 380 kB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 5.034e-05/0.6507, allocations: 23.86 kB / 1.019 GB, free: 356 kB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 4.523e-05/0.6507, allocations: 4 kB / 1.019 GB, free: 352 kB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 3.366e-05/0.6508, allocations: 7.938 kB / 1.019 GB, free: 344 kB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 4.527e-05/0.6508, allocations: 11.97 kB / 1.019 GB, free: 332 kB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 1.155e-05/0.6508, allocations: 4 kB / 1.019 GB, free: 328 kB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003125/0.6512, allocations: 190.1 kB / 1.019 GB, free: 140 kB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 1.021e-05/0.6512, allocations: 0 / 1.019 GB, free: 140 kB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 2.433e-05/0.6512, allocations: 11.94 kB / 1.019 GB, free: 128 kB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.0002587/0.6515, allocations: 153.7 kB / 1.019 GB, free: 15.98 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 3.838e-06/0.6515, allocations: 0 / 1.019 GB, free: 15.98 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.062e-06/0.6515, allocations: 0 / 1.019 GB, free: 15.98 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 4.238e-06/0.6515, allocations: 0 / 1.019 GB, free: 15.98 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0003719/0.6519, allocations: 355.5 kB / 1.02 GB, free: 15.58 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.491e-05/0.6519, allocations: 11.97 kB / 1.02 GB, free: 15.57 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000173/0.6521, allocations: 16.92 kB / 1.02 GB, free: 15.55 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001032/0.6522, allocations: 168.3 kB / 1.02 GB, free: 15.35 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.047e-05/0.6522, allocations: 4.375 kB / 1.02 GB, free: 15.35 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.391e-05/0.6522, allocations: 8.125 kB / 1.02 GB, free: 15.34 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001068/0.6524, allocations: 37.69 kB / 1.02 GB, free: 15.3 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.853e-06/0.6524, allocations: 0 / 1.02 GB, free: 15.3 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.341e-05/0.6524, allocations: 4 kB / 1.02 GB, free: 15.29 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.519e-06/0.6524, allocations: 0 / 1.02 GB, free: 15.29 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.423e-05/0.6525, allocations: 15.98 kB / 1.02 GB, free: 15.28 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001454/0.6526, allocations: 153.7 kB / 1.02 GB, free: 15.08 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009542/0.6536, allocations: 142.5 kB / 1.02 GB, free: 14.93 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.997e-05/0.6536, allocations: 20.8 kB / 1.02 GB, free: 14.91 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001158/0.6537, allocations: 85.09 kB / 1.02 GB, free: 14.8 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.158e-05/0.6538, allocations: 34.56 kB / 1.02 GB, free: 14.76 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=4): time 1.133e-06/0.6538, allocations: 4 kB / 1.02 GB, free: 14.76 MB / 0.7794 GB Notification: Performance of matching and sorting (n=4): time 0.0001724/0.654, allocations: 65.59 kB / 1.02 GB, free: 14.69 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.416e-05/0.654, allocations: 59.28 kB / 1.02 GB, free: 14.62 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.606e-05/0.6541, allocations: 89.86 kB / 1.021 GB, free: 14.52 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.352e-05/0.6541, allocations: 25.7 kB / 1.021 GB, free: 14.49 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 2.376e-05/0.6541, allocations: 84.12 kB / 1.021 GB, free: 14.4 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.903e-05/0.6541, allocations: 11.91 kB / 1.021 GB, free: 14.39 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.351e-05/0.6542, allocations: 17.72 kB / 1.021 GB, free: 14.37 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 9.039e-05/0.6543, allocations: 319 kB / 1.021 GB, free: 14.05 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.185e-05/0.6543, allocations: 7.984 kB / 1.021 GB, free: 14.04 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.884e-05/0.6543, allocations: 8.188 kB / 1.021 GB, free: 14.03 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.194e-05/0.6544, allocations: 28.94 kB / 1.021 GB, free: 14 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.813e-06/0.6544, allocations: 0 / 1.021 GB, free: 14 MB / 0.7794 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.799e-05/0.6545, allocations: 61.53 kB / 1.021 GB, free: 13.93 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.345e-05/0.6545, allocations: 11.92 kB / 1.021 GB, free: 13.92 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.551e-06/0.6545, allocations: 4 kB / 1.021 GB, free: 13.92 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.126e-05/0.6545, allocations: 0 / 1.021 GB, free: 13.92 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.639e-05/0.6546, allocations: 8 kB / 1.021 GB, free: 13.91 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.38e-06/0.6546, allocations: 0 / 1.021 GB, free: 13.91 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.217e-05/0.6547, allocations: 3.938 kB / 1.021 GB, free: 13.91 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.612e-06/0.6547, allocations: 4 kB / 1.021 GB, free: 13.9 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 (4): * Single equations (assignments): 4 * 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.523e-05/0.6547, allocations: 105.8 kB / 1.021 GB, free: 13.79 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.41e-05/0.6548, allocations: 7.938 kB / 1.021 GB, free: 13.78 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002523/0.655, allocations: 89.09 kB / 1.021 GB, free: 13.68 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.764e-06/0.655, allocations: 0 / 1.021 GB, free: 13.68 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.581e-06/0.655, allocations: 0 / 1.021 GB, free: 13.68 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.384e-06/0.655, allocations: 3.938 kB / 1.021 GB, free: 13.68 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001078/0.6552, allocations: 161.6 kB / 1.021 GB, free: 13.47 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.122e-06/0.6552, allocations: 0 / 1.021 GB, free: 13.47 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.31e-05/0.6552, allocations: 8 kB / 1.021 GB, free: 13.46 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.573e-06/0.6552, allocations: 0 / 1.021 GB, free: 13.46 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.528e-06/0.6552, allocations: 8 kB / 1.021 GB, free: 13.46 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.262e-06/0.6552, allocations: 0 / 1.021 GB, free: 13.46 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.81e-07/0.6553, allocations: 0 / 1.021 GB, free: 13.46 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001114/0.6554, allocations: 85.06 kB / 1.022 GB, free: 13.36 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 4.612e-05/0.6554, allocations: 89 kB / 1.022 GB, free: 13.25 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.367e-05/0.6554, allocations: 0 / 1.022 GB, free: 13.25 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.003e-05/0.6555, allocations: 3.938 kB / 1.022 GB, free: 13.25 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.563e-05/0.6555, allocations: 4 kB / 1.022 GB, free: 13.24 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.034e-06/0.6555, allocations: 7.984 kB / 1.022 GB, free: 13.23 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 3.39e-05/0.6556, allocations: 87.22 kB / 1.022 GB, free: 13.15 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.2e-07/0.6556, allocations: 0 / 1.022 GB, free: 13.15 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002374/0.6558, allocations: 40 kB / 1.022 GB, free: 13.11 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 (5): * Single equations (assignments): 5 * 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.0003544/0.6562, allocations: 173.2 kB / 1.022 GB, free: 12.94 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 9.861e-05/0.6563, allocations: 28.08 kB / 1.022 GB, free: 12.91 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/0.6563, allocations: 0 / 1.022 GB, free: 12.91 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 3.055e-05/0.6563, allocations: 19.94 kB / 1.022 GB, free: 12.89 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001642/0.6565, allocations: 13.8 kB / 1.022 GB, free: 12.88 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002974/0.6568, allocations: 124.4 kB / 1.022 GB, free: 12.73 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002167/0.657, allocations: 0.677 MB / 1.023 GB, free: 12.03 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 6.45e-05/0.6571, allocations: 16.08 kB / 1.023 GB, free: 12.01 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.626e-05/0.6571, allocations: 11.44 kB / 1.023 GB, free: 12 MB / 0.7794 GB Notification: Performance of SimCode: time 2.31e-07/0.6572, allocations: 0 / 1.023 GB, free: 12 MB / 0.7794 GB Notification: Performance of Templates: time 0.00334/0.6605, allocations: 1.043 MB / 1.024 GB, free: 10.96 MB / 0.7794 GB make -j1 -f Buildings_10_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi.makefile (rm -f Buildings_10_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi.pipe ; mkfifo Buildings_10_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi.pipe ; head -c 1048576 < Buildings_10_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi.pipe >> ../files/Buildings_10_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi.sim & ./Buildings_10_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Utilities_Psychrometrics_Functions_Examples_pW_TDewPoi.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches