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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.001084/0.001084, allocations: 86.25 kB / 15.06 MB, free: 1.09 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.001381/0.001381, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.475/1.475, allocations: 223.3 MB / 240 MB, free: 5.449 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.537/2.537, allocations: 390.9 MB / 0.666 GB, free: 2.422 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.000346/0.0003462, allocations: 12 kB / 0.8154 GB, free: 13.59 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8758/0.8762, allocations: 142.4 MB / 0.9544 GB, free: 7.695 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi_comparison): time 0.001211/0.8774, allocations: 1.004 MB / 0.9554 GB, free: 6.887 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001096/0.8786, allocations: 0.7161 MB / 0.9561 GB, free: 6.32 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.378e-05/0.8786, allocations: 0.8125 kB / 0.9561 GB, free: 6.32 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 1.361e-05/0.8786, allocations: 0 / 0.9561 GB, free: 6.32 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 7.168e-05/0.8787, allocations: 8.859 kB / 0.9561 GB, free: 6.312 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005819/0.8793, allocations: 145.7 kB / 0.9563 GB, free: 6.223 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 6.028e-05/0.8794, allocations: 22.48 kB / 0.9563 GB, free: 6.211 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 5.026e-05/0.8794, allocations: 4.969 kB / 0.9563 GB, free: 6.207 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 4.008e-05/0.8795, allocations: 13.47 kB / 0.9563 GB, free: 6.199 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 5.744e-05/0.8795, allocations: 11.88 kB / 0.9563 GB, free: 6.191 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 9.848e-06/0.8796, allocations: 1.156 kB / 0.9563 GB, free: 6.191 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004101/0.88, allocations: 281.5 kB / 0.9566 GB, free: 6.027 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 9.228e-06/0.88, allocations: 5.297 kB / 0.9566 GB, free: 6.023 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 2.851e-05/0.88, allocations: 29.11 kB / 0.9566 GB, free: 5.992 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.000198/0.8802, allocations: 108.1 kB / 0.9567 GB, free: 5.953 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.861e-06/0.8802, allocations: 3.938 kB / 0.9567 GB, free: 5.949 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.194e-06/0.8802, allocations: 0 / 0.9567 GB, free: 5.949 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.188e-06/0.8803, allocations: 0 / 0.9567 GB, free: 5.949 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.0003378/0.8806, allocations: 369.7 kB / 0.9571 GB, free: 5.559 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.983e-05/0.8806, allocations: 8.312 kB / 0.9571 GB, free: 5.559 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002316/0.8809, allocations: 18.38 kB / 0.9571 GB, free: 5.551 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.885e-05/0.881, allocations: 164.1 kB / 0.9573 GB, free: 5.352 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.376e-05/0.881, allocations: 1.469 kB / 0.9573 GB, free: 5.352 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.212e-05/0.881, allocations: 9.188 kB / 0.9573 GB, free: 5.344 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001176/0.8811, allocations: 55.08 kB / 0.9573 GB, free: 5.293 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.133e-06/0.8811, allocations: 1.312 kB / 0.9573 GB, free: 5.293 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.148e-05/0.8812, allocations: 0 / 0.9573 GB, free: 5.293 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.502e-06/0.8812, allocations: 5.109 kB / 0.9573 GB, free: 5.289 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.408e-05/0.8812, allocations: 28.27 kB / 0.9574 GB, free: 5.273 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001324/0.8814, allocations: 160.7 kB / 0.9575 GB, free: 5.074 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001168/0.8815, allocations: 58.64 kB / 0.9576 GB, free: 5.031 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.769e-05/0.8816, allocations: 27.67 kB / 0.9576 GB, free: 5.012 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 2.674e-05/0.8816, allocations: 9.094 kB / 0.9576 GB, free: 5.004 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.99e-05/0.8816, allocations: 31.5 kB / 0.9576 GB, free: 4.965 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=6): time 9.92e-07/0.8816, allocations: 0 / 0.9576 GB, free: 4.965 MB / 0.7169 GB Notification: Performance of matching and sorting (n=6): time 0.0001915/0.8818, allocations: 81.08 kB / 0.9577 GB, free: 4.906 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.608e-05/0.8818, allocations: 56.86 kB / 0.9578 GB, free: 4.84 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.594e-05/0.8819, allocations: 91.17 kB / 0.9578 GB, free: 4.742 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.068e-05/0.8819, allocations: 29.7 kB / 0.9579 GB, free: 4.707 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 1.367e-05/0.8819, allocations: 84.27 kB / 0.958 GB, free: 4.621 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 3.103e-05/0.882, allocations: 18.47 kB / 0.958 GB, free: 4.605 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.589e-06/0.882, allocations: 4 kB / 0.958 GB, free: 4.602 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.623e-05/0.882, allocations: 316.2 kB / 0.9583 GB, free: 4.285 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.372e-05/0.882, allocations: 10.44 kB / 0.9583 GB, free: 4.281 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.99e-05/0.8821, allocations: 14.23 kB / 0.9583 GB, free: 4.273 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.529e-05/0.8821, allocations: 10.91 kB / 0.9583 GB, free: 4.27 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.442e-06/0.8821, allocations: 0 / 0.9583 GB, free: 4.27 MB / 0.7169 GB Notification: Performance of matching and sorting (n=6) (initialization): time 8.701e-05/0.8822, allocations: 66.53 kB / 0.9584 GB, free: 4.219 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.476e-05/0.8822, allocations: 9.812 kB / 0.9584 GB, free: 4.215 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.909e-06/0.8822, allocations: 0 / 0.9584 GB, free: 4.215 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.313e-05/0.8823, allocations: 1.438 kB / 0.9584 GB, free: 4.215 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001263/0.8824, allocations: 15.11 kB / 0.9584 GB, free: 4.211 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.641e-06/0.8824, allocations: 0 / 0.9584 GB, free: 4.211 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.547e-05/0.8824, allocations: 9.297 kB / 0.9584 GB, free: 4.203 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.052e-06/0.8825, allocations: 1.469 kB / 0.9584 GB, free: 4.203 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 5.642e-05/0.8825, allocations: 111.6 kB / 0.9585 GB, free: 4.086 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.658e-06/0.8825, allocations: 2.812 kB / 0.9585 GB, free: 4.086 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001876/0.8827, allocations: 98.5 kB / 0.9586 GB, free: 4.004 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.916e-06/0.8827, allocations: 0 / 0.9586 GB, free: 4.004 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.93e-06/0.8827, allocations: 4.375 kB / 0.9586 GB, free: 4 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.188e-06/0.8828, allocations: 2.031 kB / 0.9586 GB, free: 4 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.898e-05/0.8828, allocations: 165.4 kB / 0.9588 GB, free: 3.797 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.993e-06/0.8828, allocations: 4 kB / 0.9588 GB, free: 3.793 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.604e-05/0.8829, allocations: 21.39 kB / 0.9588 GB, free: 3.785 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.923e-06/0.8829, allocations: 0 / 0.9588 GB, free: 3.785 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.716e-06/0.883, allocations: 0 / 0.9588 GB, free: 3.785 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.174e-06/0.883, allocations: 2.062 kB / 0.9588 GB, free: 3.785 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.81e-07/0.883, allocations: 0 / 0.9588 GB, free: 3.785 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001118/0.8831, allocations: 102 kB / 0.9589 GB, free: 3.691 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 5.367e-05/0.8831, allocations: 82.56 kB / 0.959 GB, free: 3.594 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.354e-05/0.8832, allocations: 1.531 kB / 0.959 GB, free: 3.594 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.413e-05/0.8832, allocations: 5.469 kB / 0.959 GB, free: 3.59 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.86e-05/0.8832, allocations: 9.484 kB / 0.959 GB, free: 3.582 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.571e-06/0.8833, allocations: 3.156 kB / 0.959 GB, free: 3.582 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 1.59e-05/0.8833, allocations: 79.22 kB / 0.9591 GB, free: 3.504 MB / 0.7169 GB Notification: Performance of sort global known variables: time 9e-08/0.8833, allocations: 0 / 0.9591 GB, free: 3.504 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0001871/0.8835, allocations: 8.812 kB / 0.9591 GB, free: 3.504 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 9.969e-05/0.8836, allocations: 108.9 kB / 0.9592 GB, free: 3.406 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0001075/0.8837, allocations: 42.34 kB / 0.9592 GB, free: 3.387 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.713e-06/0.8837, allocations: 4.094 kB / 0.9592 GB, free: 3.383 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 3.424e-05/0.8837, allocations: 22.2 kB / 0.9593 GB, free: 3.375 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000227/0.884, allocations: 12.19 kB / 0.9593 GB, free: 3.367 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003075/0.8843, allocations: 143 kB / 0.9594 GB, free: 3.234 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000113/0.8844, allocations: 0.6823 MB / 0.9601 GB, free: 2.531 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 5.7e-05/0.8845, allocations: 11.45 kB / 0.9601 GB, free: 2.523 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.965e-05/0.8845, allocations: 11.28 kB / 0.9601 GB, free: 2.516 MB / 0.7169 GB Notification: Performance of SimCode: time 2.8e-07/0.8845, allocations: 3.938 kB / 0.9601 GB, free: 2.512 MB / 0.7169 GB Notification: Performance of Templates: time 0.00254/0.8871, allocations: 0.5113 MB / 0.9606 GB, free: 2.242 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