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.001431/0.001436, allocations: 108.6 kB / 16.41 MB, free: 6.027 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.001376/0.001376, allocations: 188.7 kB / 17.34 MB, free: 5.633 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.435/1.435, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.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.166/2.166, allocations: 390.3 MB / 0.6655 GB, free: 0.625 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001321/0.001321, allocations: 63.89 kB / 0.9515 GB, free: 7.652 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7781/0.7794, allocations: 140.4 MB / 1.089 GB, free: 5.516 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi_comparison): time 0.00214/0.7816, allocations: 1.286 MB / 1.09 GB, free: 4.613 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.001004/0.7826, allocations: 0.7743 MB / 1.091 GB, free: 4.07 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.858e-05/0.7827, allocations: 0 / 1.091 GB, free: 4.07 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 1.956e-05/0.7827, allocations: 0.75 kB / 1.091 GB, free: 4.07 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 4.69e-05/0.7827, allocations: 6.25 kB / 1.091 GB, free: 4.066 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004877/0.7832, allocations: 160.5 kB / 1.091 GB, free: 3.996 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 7.422e-05/0.7833, allocations: 30.05 kB / 1.091 GB, free: 3.98 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 4.043e-05/0.7834, allocations: 7.547 kB / 1.091 GB, free: 3.977 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 4.314e-05/0.7834, allocations: 14.44 kB / 1.091 GB, free: 3.969 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 5.506e-05/0.7835, allocations: 10.42 kB / 1.091 GB, free: 3.965 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 9.598e-06/0.7835, allocations: 1.062 kB / 1.091 GB, free: 3.965 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004776/0.784, allocations: 280.3 kB / 1.091 GB, free: 3.883 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 1.246e-05/0.784, allocations: 1.594 kB / 1.091 GB, free: 3.883 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 2.76e-05/0.784, allocations: 14.41 kB / 1.091 GB, free: 3.875 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0003096/0.7843, allocations: 169.5 kB / 1.091 GB, free: 3.828 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.919e-06/0.7843, allocations: 4 kB / 1.091 GB, free: 3.824 MB / 0.8575 GB Notification: Performance of FrontEnd: time 2.014e-06/0.7844, allocations: 1.062 kB / 1.091 GB, free: 3.824 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 5.26e-06/0.7844, allocations: 4 kB / 1.091 GB, free: 3.82 MB / 0.8575 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.0003458/0.7847, allocations: 363.9 kB / 1.092 GB, free: 3.441 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.648e-05/0.7848, allocations: 9.922 kB / 1.092 GB, free: 3.441 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002329/0.785, allocations: 19.69 kB / 1.092 GB, free: 3.441 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.471e-05/0.7851, allocations: 164.9 kB / 1.092 GB, free: 3.242 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.043e-05/0.7851, allocations: 3.344 kB / 1.092 GB, free: 3.242 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.155e-05/0.7851, allocations: 5.75 kB / 1.092 GB, free: 3.238 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001113/0.7852, allocations: 49.73 kB / 1.092 GB, free: 3.199 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.294e-06/0.7852, allocations: 1.25 kB / 1.092 GB, free: 3.199 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.283e-05/0.7853, allocations: 11.86 kB / 1.092 GB, free: 3.188 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.908e-06/0.7853, allocations: 5.031 kB / 1.092 GB, free: 3.184 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.78e-05/0.7853, allocations: 25.62 kB / 1.092 GB, free: 3.176 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001368/0.7855, allocations: 163.5 kB / 1.092 GB, free: 2.977 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001075/0.7856, allocations: 61.34 kB / 1.092 GB, free: 2.938 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.171e-05/0.7856, allocations: 30.23 kB / 1.092 GB, free: 2.918 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.964e-05/0.7857, allocations: 1.375 kB / 1.092 GB, free: 2.918 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.404e-05/0.7857, allocations: 32.23 kB / 1.092 GB, free: 2.879 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=6): time 1.062e-06/0.7857, allocations: 0.875 kB / 1.092 GB, free: 2.879 MB / 0.8575 GB Notification: Performance of matching and sorting (n=6): time 0.0001734/0.7859, allocations: 82.48 kB / 1.092 GB, free: 2.824 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.866e-05/0.7859, allocations: 52.25 kB / 1.092 GB, free: 2.762 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.796e-05/0.7859, allocations: 96.91 kB / 1.092 GB, free: 2.66 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 8.747e-06/0.7859, allocations: 26.7 kB / 1.092 GB, free: 2.629 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 9.248e-06/0.786, allocations: 80.14 kB / 1.093 GB, free: 2.547 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 3.121e-05/0.786, allocations: 23.98 kB / 1.093 GB, free: 2.527 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.131e-05/0.786, allocations: 23.17 kB / 1.093 GB, free: 2.504 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 4.028e-05/0.7861, allocations: 313.2 kB / 1.093 GB, free: 2.191 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.603e-05/0.7861, allocations: 11.89 kB / 1.093 GB, free: 2.188 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.382e-05/0.7861, allocations: 12.67 kB / 1.093 GB, free: 2.184 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.239e-05/0.7862, allocations: 42.3 kB / 1.093 GB, free: 2.156 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/0.7862, allocations: 4 kB / 1.093 GB, free: 2.152 MB / 0.8575 GB Notification: Performance of matching and sorting (n=6) (initialization): time 9.392e-05/0.7863, allocations: 63.11 kB / 1.093 GB, free: 2.109 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.456e-05/0.7863, allocations: 5.094 kB / 1.093 GB, free: 2.109 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.25e-06/0.7863, allocations: 5.797 kB / 1.093 GB, free: 2.105 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.383e-05/0.7864, allocations: 0 / 1.093 GB, free: 2.105 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001222/0.7865, allocations: 14.47 kB / 1.093 GB, free: 2.105 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.232e-06/0.7865, allocations: 0.5625 kB / 1.093 GB, free: 2.105 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.374e-05/0.7865, allocations: 1.688 kB / 1.093 GB, free: 2.105 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.683e-06/0.7865, allocations: 2.266 kB / 1.093 GB, free: 2.105 MB / 0.8575 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 4.628e-05/0.7866, allocations: 119.9 kB / 1.093 GB, free: 1.98 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.156e-05/0.7866, allocations: 1.75 kB / 1.093 GB, free: 1.98 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001867/0.7868, allocations: 85.19 kB / 1.093 GB, free: 1.922 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.424e-06/0.7868, allocations: 1.031 kB / 1.093 GB, free: 1.922 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.018e-06/0.7868, allocations: 0.5156 kB / 1.093 GB, free: 1.922 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.719e-06/0.7868, allocations: 0.7969 kB / 1.093 GB, free: 1.922 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.596e-05/0.7869, allocations: 177.4 kB / 1.093 GB, free: 1.711 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.042e-06/0.7869, allocations: 0.5938 kB / 1.093 GB, free: 1.711 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.548e-05/0.787, allocations: 16.02 kB / 1.093 GB, free: 1.711 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.524e-06/0.787, allocations: 0.7812 kB / 1.093 GB, free: 1.711 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.997e-06/0.787, allocations: 5.641 kB / 1.093 GB, free: 1.707 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.743e-06/0.7871, allocations: 0.75 kB / 1.093 GB, free: 1.707 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.372e-06/0.7871, allocations: 3.938 kB / 1.093 GB, free: 1.703 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001076/0.7872, allocations: 92.97 kB / 1.094 GB, free: 1.625 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 4.358e-05/0.7872, allocations: 93.83 kB / 1.094 GB, free: 1.52 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.585e-05/0.7872, allocations: 5.578 kB / 1.094 GB, free: 1.516 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.228e-05/0.7873, allocations: 1.531 kB / 1.094 GB, free: 1.516 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.331e-05/0.7873, allocations: 7.969 kB / 1.094 GB, free: 1.512 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.071e-06/0.7873, allocations: 2.438 kB / 1.094 GB, free: 1.512 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 1.548e-05/0.7874, allocations: 76.69 kB / 1.094 GB, free: 1.438 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.2e-07/0.7874, allocations: 0 / 1.094 GB, free: 1.438 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0001835/0.7875, allocations: 8.312 kB / 1.094 GB, free: 1.438 MB / 0.8575 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.345e-05/0.7876, allocations: 107.3 kB / 1.094 GB, free: 1.344 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0001079/0.7878, allocations: 38.12 kB / 1.094 GB, free: 1.332 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.7878, allocations: 0.8438 kB / 1.094 GB, free: 1.332 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 3.691e-05/0.7878, allocations: 20.2 kB / 1.094 GB, free: 1.328 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002128/0.788, allocations: 13.34 kB / 1.094 GB, free: 1.32 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003228/0.7884, allocations: 167.5 kB / 1.094 GB, free: 1.164 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001074/0.7885, allocations: 0.6822 MB / 1.095 GB, free: 476 kB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.441e-05/0.7885, allocations: 15.84 kB / 1.095 GB, free: 464 kB / 0.8575 GB Notification: Performance of SimCode: time 2.31e-07/0.7885, allocations: 0.875 kB / 1.095 GB, free: 464 kB / 0.8575 GB Notification: Performance of Templates: time 0.001926/0.7905, allocations: 0.591 MB / 1.095 GB, free: 436 kB / 0.8575 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/jenkins1/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