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.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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.0009849/0.0009849, allocations: 92 kB / 15.06 MB, free: 1.098 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.001198/0.001198, allocations: 172.7 kB / 15.95 MB, free: 208 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.482/1.482, allocations: 223.3 MB / 240 MB, free: 5.445 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.862/2.862, allocations: 437.7 MB / 0.7117 GB, free: 7.059 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003294/0.0003294, allocations: 12 kB / 0.8722 GB, free: 3.703 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7664/0.7668, allocations: 153.8 MB / 1.022 GB, free: 72 kB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi_comparison): time 0.001631/0.7684, allocations: 1.007 MB / 1.023 GB, free: 15.06 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.001205/0.7697, allocations: 0.7209 MB / 1.024 GB, free: 14.34 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.37e-05/0.7697, allocations: 4 kB / 1.024 GB, free: 14.33 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 1.647e-05/0.7698, allocations: 0 / 1.024 GB, free: 14.33 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 6.59e-05/0.7698, allocations: 11.91 kB / 1.024 GB, free: 14.32 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005641/0.7704, allocations: 135.5 kB / 1.024 GB, free: 14.19 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 7.615e-05/0.7705, allocations: 27.86 kB / 1.024 GB, free: 14.16 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 4.801e-05/0.7705, allocations: 0 / 1.024 GB, free: 14.16 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 4.746e-05/0.7706, allocations: 8 kB / 1.024 GB, free: 14.15 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 6.31e-05/0.7707, allocations: 19.86 kB / 1.024 GB, free: 14.13 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 9.257e-06/0.7707, allocations: 0 / 1.024 GB, free: 14.13 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005069/0.7712, allocations: 283.5 kB / 1.025 GB, free: 13.86 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 1.498e-05/0.7712, allocations: 7.969 kB / 1.025 GB, free: 13.85 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 3.328e-05/0.7713, allocations: 29.7 kB / 1.025 GB, free: 13.81 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0002498/0.7715, allocations: 101.8 kB / 1.025 GB, free: 13.71 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 5.841e-06/0.7715, allocations: 0 / 1.025 GB, free: 13.71 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.653e-06/0.7715, allocations: 0 / 1.025 GB, free: 13.71 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 5.46e-06/0.7715, allocations: 0 / 1.025 GB, free: 13.71 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.0004657/0.772, allocations: 363.2 kB / 1.025 GB, free: 13.31 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.469e-05/0.7721, allocations: 8.562 kB / 1.025 GB, free: 13.3 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000277/0.7724, allocations: 23.97 kB / 1.025 GB, free: 13.28 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001325/0.7725, allocations: 167 kB / 1.025 GB, free: 13.08 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.576e-05/0.7725, allocations: 7.953 kB / 1.025 GB, free: 13.07 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.726e-05/0.7725, allocations: 4 kB / 1.025 GB, free: 13.07 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001483/0.7727, allocations: 45.67 kB / 1.025 GB, free: 13.02 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.848e-06/0.7727, allocations: 3.938 kB / 1.025 GB, free: 13.01 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.49e-05/0.7727, allocations: 4 kB / 1.025 GB, free: 13.01 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.829e-06/0.7728, allocations: 4 kB / 1.025 GB, free: 13 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.979e-05/0.7728, allocations: 23.98 kB / 1.025 GB, free: 12.98 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001943/0.773, allocations: 161.7 kB / 1.025 GB, free: 12.77 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001226/0.7732, allocations: 58.53 kB / 1.026 GB, free: 12.71 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.894e-05/0.7732, allocations: 32.84 kB / 1.026 GB, free: 12.67 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 2.986e-05/0.7733, allocations: 0 / 1.026 GB, free: 12.67 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.917e-05/0.7733, allocations: 38.56 kB / 1.026 GB, free: 12.62 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=6): time 1.152e-06/0.7733, allocations: 0 / 1.026 GB, free: 12.62 MB / 0.7794 GB Notification: Performance of matching and sorting (n=6): time 0.0002403/0.7735, allocations: 77.58 kB / 1.026 GB, free: 12.54 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.313e-05/0.7736, allocations: 59.34 kB / 1.026 GB, free: 12.47 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.013e-05/0.7737, allocations: 93.86 kB / 1.026 GB, free: 12.37 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.309e-05/0.7737, allocations: 25.7 kB / 1.026 GB, free: 12.34 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 2.828e-05/0.7737, allocations: 80.14 kB / 1.026 GB, free: 12.26 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 4.04e-05/0.7738, allocations: 19.75 kB / 1.026 GB, free: 12.24 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.998e-06/0.7738, allocations: 128 / 1.026 GB, free: 12.24 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001133/0.7739, allocations: 318.8 kB / 1.026 GB, free: 11.92 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.019e-05/0.7739, allocations: 12 kB / 1.026 GB, free: 11.91 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.264e-05/0.774, allocations: 11.98 kB / 1.026 GB, free: 11.89 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.362e-05/0.774, allocations: 12 kB / 1.026 GB, free: 11.88 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.823e-06/0.774, allocations: 0 / 1.026 GB, free: 11.88 MB / 0.7794 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001036/0.7741, allocations: 65.64 kB / 1.026 GB, free: 11.81 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.755e-05/0.7741, allocations: 8 kB / 1.026 GB, free: 11.8 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.79e-06/0.7742, allocations: 0 / 1.026 GB, free: 11.8 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.152e-05/0.7742, allocations: 0 / 1.026 GB, free: 11.8 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000136/0.7743, allocations: 28.3 kB / 1.026 GB, free: 11.78 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.643e-06/0.7743, allocations: 0 / 1.026 GB, free: 11.78 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.67e-05/0.7744, allocations: 3.906 kB / 1.026 GB, free: 11.77 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.03e-05/0.7744, allocations: 8 kB / 1.026 GB, free: 11.77 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001309/0.7745, allocations: 109.8 kB / 1.026 GB, free: 11.65 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.338e-05/0.7745, allocations: 7.953 kB / 1.026 GB, free: 11.64 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002161/0.7748, allocations: 89.62 kB / 1.027 GB, free: 11.55 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.298e-06/0.7748, allocations: 3.984 kB / 1.027 GB, free: 11.54 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.143e-05/0.7748, allocations: 0 / 1.027 GB, free: 11.54 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.836e-06/0.7748, allocations: 7.875 kB / 1.027 GB, free: 11.54 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001154/0.7749, allocations: 165.6 kB / 1.027 GB, free: 11.32 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.553e-06/0.7749, allocations: 0 / 1.027 GB, free: 11.32 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.253e-05/0.775, allocations: 15.98 kB / 1.027 GB, free: 11.31 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.635e-06/0.775, allocations: 4 kB / 1.027 GB, free: 11.3 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.003e-05/0.7751, allocations: 3.953 kB / 1.027 GB, free: 11.3 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.345e-06/0.7751, allocations: 4 kB / 1.027 GB, free: 11.3 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.7751, allocations: 0 / 1.027 GB, free: 11.3 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001323/0.7752, allocations: 89.12 kB / 1.027 GB, free: 11.19 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 6.889e-05/0.7753, allocations: 85.09 kB / 1.027 GB, free: 11.09 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.357e-05/0.7753, allocations: 0 / 1.027 GB, free: 11.09 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.922e-05/0.7754, allocations: 11.95 kB / 1.027 GB, free: 11.08 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.345e-05/0.7754, allocations: 7.922 kB / 1.027 GB, free: 11.07 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.823e-06/0.7754, allocations: 4 kB / 1.027 GB, free: 11.07 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 2.979e-05/0.7754, allocations: 79.28 kB / 1.027 GB, free: 10.99 MB / 0.7794 GB Notification: Performance of sort global known variables: time 3.11e-07/0.7755, allocations: 0 / 1.027 GB, free: 10.99 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0001876/0.7756, allocations: 8 kB / 1.027 GB, free: 10.98 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 (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.0001275/0.7758, allocations: 111.2 kB / 1.027 GB, free: 10.86 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0001117/0.7759, allocations: 31.98 kB / 1.027 GB, free: 10.83 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 3.176e-06/0.7759, allocations: 0 / 1.027 GB, free: 10.83 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 3.646e-05/0.7759, allocations: 27.92 kB / 1.027 GB, free: 10.8 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002277/0.7762, allocations: 8.094 kB / 1.027 GB, free: 10.79 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003442/0.7765, allocations: 144.5 kB / 1.027 GB, free: 10.62 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002771/0.7768, allocations: 0.682 MB / 1.028 GB, free: 9.918 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 6.391e-05/0.7769, allocations: 11.94 kB / 1.028 GB, free: 9.906 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.404e-05/0.7769, allocations: 11.44 kB / 1.028 GB, free: 9.895 MB / 0.7794 GB Notification: Performance of SimCode: time 3.71e-07/0.7769, allocations: 4 kB / 1.028 GB, free: 9.891 MB / 0.7794 GB Notification: Performance of Templates: time 0.00276/0.7797, allocations: 0.5186 MB / 1.029 GB, free: 9.379 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