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/Buildings 9.1.1-maint.9.1.x/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.116/2.116, allocations: 387.4 MB / 394.9 MB, free: 13.37 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001395/0.001395, allocations: 176.6 kB / 487.4 MB, free: 5.051 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.338/1.338, allocations: 221.5 MB / 0.7824 GB, free: 0.9297 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008603/0.0008602, allocations: 110.3 kB / 0.9219 GB, free: 2.152 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 1.929e-05/1.93e-05, allocations: 4 kB / 1.067 GB, free: 185.7 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2849/0.2849, allocations: 142.4 MB / 1.206 GB, free: 43.91 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9482/1.233, allocations: 149.7 MB / 1.352 GB, free: 18.18 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002223/1.233, allocations: 78.44 kB / 1.352 GB, free: 18.18 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.007401/1.241, allocations: 2.482 MB / 1.355 GB, free: 33.75 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.042e-06/1.241, allocations: 5.25 kB / 1.355 GB, free: 33.75 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 5.14e-06/1.241, allocations: 0 / 1.355 GB, free: 33.75 MB / 0.8386 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.0002615/1.241, allocations: 350.6 kB / 1.355 GB, free: 33.39 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.154e-05/1.241, allocations: 8.516 kB / 1.355 GB, free: 33.39 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001912/1.241, allocations: 16.52 kB / 1.355 GB, free: 33.38 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.193e-05/1.242, allocations: 176.1 kB / 1.355 GB, free: 33.18 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.172e-05/1.242, allocations: 0 / 1.355 GB, free: 33.18 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.125e-05/1.242, allocations: 0 / 1.355 GB, free: 33.18 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.036e-05/1.242, allocations: 24.69 kB / 1.355 GB, free: 33.18 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.054e-05/1.242, allocations: 46 kB / 1.355 GB, free: 33.14 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.702e-06/1.242, allocations: 3.938 kB / 1.355 GB, free: 33.14 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.057e-05/1.242, allocations: 0 / 1.355 GB, free: 33.14 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.567e-06/1.242, allocations: 0 / 1.355 GB, free: 33.14 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001226/1.242, allocations: 146.8 kB / 1.355 GB, free: 32.98 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 9.125e-05/1.242, allocations: 58.23 kB / 1.355 GB, free: 32.95 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.525e-05/1.242, allocations: 19.72 kB / 1.355 GB, free: 32.94 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 2.776e-05/1.242, allocations: 8.078 kB / 1.355 GB, free: 32.94 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.791e-05/1.242, allocations: 31.12 kB / 1.356 GB, free: 32.9 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=6): time 9.41e-07/1.242, allocations: 0 / 1.356 GB, free: 32.9 MB / 0.8386 GB Notification: Performance of matching and sorting (n=6): time 0.0001406/1.242, allocations: 63 kB / 1.356 GB, free: 32.87 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.814e-05/1.242, allocations: 51.41 kB / 1.356 GB, free: 32.8 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.302e-05/1.242, allocations: 89.66 kB / 1.356 GB, free: 32.71 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 1.002e-05/1.242, allocations: 29.61 kB / 1.356 GB, free: 32.68 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 2.322e-05/1.242, allocations: 80.75 kB / 1.356 GB, free: 32.6 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 2.822e-05/1.242, allocations: 20.8 kB / 1.356 GB, free: 32.58 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.218e-06/1.242, allocations: 0 / 1.356 GB, free: 32.58 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 8.517e-05/1.243, allocations: 316 kB / 1.356 GB, free: 32.27 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.724e-05/1.243, allocations: 6.844 kB / 1.356 GB, free: 32.27 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.514e-05/1.243, allocations: 12.17 kB / 1.356 GB, free: 32.27 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.476e-05/1.243, allocations: 12.67 kB / 1.356 GB, free: 32.27 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.304e-06/1.243, allocations: 0.6562 kB / 1.356 GB, free: 32.27 MB / 0.8386 GB Notification: Performance of matching and sorting (n=6) (initialization): time 7.275e-05/1.243, allocations: 66.81 kB / 1.356 GB, free: 32.23 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.109e-05/1.243, allocations: 4.703 kB / 1.356 GB, free: 32.23 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.717e-06/1.243, allocations: 0 / 1.356 GB, free: 32.23 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.129e-05/1.243, allocations: 0 / 1.356 GB, free: 32.23 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000131/1.243, allocations: 18.62 kB / 1.356 GB, free: 32.23 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.925e-06/1.243, allocations: 0.625 kB / 1.356 GB, free: 32.23 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.258e-05/1.243, allocations: 0.75 kB / 1.356 GB, free: 32.23 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.382e-06/1.243, allocations: 3.844 kB / 1.356 GB, free: 32.23 MB / 0.8386 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 () * 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 8.959e-05/1.243, allocations: 105.5 kB / 1.356 GB, free: 32.12 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.411e-05/1.243, allocations: 8.641 kB / 1.356 GB, free: 32.11 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002213/1.243, allocations: 84.28 kB / 1.356 GB, free: 32.07 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.156e-06/1.243, allocations: 3.984 kB / 1.356 GB, free: 32.06 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.614e-06/1.243, allocations: 0.6094 kB / 1.356 GB, free: 32.06 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.797e-06/1.243, allocations: 5.719 kB / 1.356 GB, free: 32.06 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.317e-05/1.243, allocations: 147.7 kB / 1.357 GB, free: 31.89 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.344e-06/1.243, allocations: 4.734 kB / 1.357 GB, free: 31.89 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.874e-05/1.244, allocations: 18.14 kB / 1.357 GB, free: 31.89 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.713e-06/1.244, allocations: 0 / 1.357 GB, free: 31.89 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.495e-05/1.244, allocations: 8.422 kB / 1.357 GB, free: 31.88 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.523e-06/1.244, allocations: 0 / 1.357 GB, free: 31.88 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.091e-06/1.244, allocations: 1.625 kB / 1.357 GB, free: 31.88 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001236/1.244, allocations: 91.52 kB / 1.357 GB, free: 31.82 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 7.558e-05/1.244, allocations: 86.92 kB / 1.357 GB, free: 31.72 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.745e-05/1.244, allocations: 0 / 1.357 GB, free: 31.72 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.697e-05/1.244, allocations: 4.562 kB / 1.357 GB, free: 31.71 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.596e-05/1.244, allocations: 6 kB / 1.357 GB, free: 31.71 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.272e-06/1.244, allocations: 0.6562 kB / 1.357 GB, free: 31.71 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 4.262e-05/1.244, allocations: 75.28 kB / 1.357 GB, free: 31.64 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.3e-07/1.244, allocations: 0 / 1.357 GB, free: 31.64 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0001938/1.244, allocations: 7.719 kB / 1.357 GB, free: 31.64 MB / 0.8386 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 () * 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 0.0001514/1.244, allocations: 107.5 kB / 1.357 GB, free: 31.55 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0001112/1.244, allocations: 35.36 kB / 1.357 GB, free: 31.55 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 2.384e-06/1.244, allocations: 0 / 1.357 GB, free: 31.55 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 5.269e-05/1.244, allocations: 23.03 kB / 1.357 GB, free: 31.54 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001849/1.245, allocations: 4.578 kB / 1.357 GB, free: 31.54 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002954/1.245, allocations: 67.94 kB / 1.357 GB, free: 31.48 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002868/1.245, allocations: 0.6809 MB / 1.358 GB, free: 30.78 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 5.862e-05/1.245, allocations: 4.438 kB / 1.358 GB, free: 30.78 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.527e-05/1.245, allocations: 12.72 kB / 1.358 GB, free: 30.77 MB / 0.8386 GB Notification: Performance of SimCode: time 1.452e-06/1.245, allocations: 0 / 1.358 GB, free: 30.77 MB / 0.8386 GB Notification: Performance of Templates: time 0.002365/1.248, allocations: 0.5155 MB / 1.358 GB, free: 30.71 MB / 0.8386 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","../files/Buildings_9_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi_comparison.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches