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.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_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.001778/0.001778, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.002039/0.002039, allocations: 190.9 kB / 16.25 MB, free: 6.637 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.474/1.474, allocations: 222.9 MB / 239.9 MB, free: 4.52 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.891/2.891, allocations: 437 MB / 0.7101 GB, free: 5.305 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001993/0.001993, allocations: 67.89 kB / 0.8687 GB, free: 5.102 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6112/0.6132, allocations: 151.6 MB / 1.017 GB, free: 2.734 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi_comparison): time 0.002865/0.6161, allocations: 1.35 MB / 1.018 GB, free: 1.375 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.001222/0.6174, allocations: 0.7592 MB / 1.019 GB, free: 0.6133 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.344e-05/0.6174, allocations: 0 / 1.019 GB, free: 0.6133 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 2.882e-05/0.6174, allocations: 0 / 1.019 GB, free: 0.6133 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 4.921e-05/0.6175, allocations: 7.922 kB / 1.019 GB, free: 0.6055 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005881/0.6181, allocations: 159.4 kB / 1.019 GB, free: 460 kB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 6.127e-05/0.6182, allocations: 23.86 kB / 1.019 GB, free: 436 kB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 5.151e-05/0.6182, allocations: 7.984 kB / 1.019 GB, free: 428 kB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 3.711e-05/0.6183, allocations: 8 kB / 1.019 GB, free: 420 kB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 4.876e-05/0.6183, allocations: 7.938 kB / 1.019 GB, free: 412 kB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 8.055e-06/0.6183, allocations: 0 / 1.019 GB, free: 412 kB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004407/0.6188, allocations: 287.5 kB / 1.019 GB, free: 124 kB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 1.247e-05/0.6188, allocations: 7.984 kB / 1.019 GB, free: 116 kB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 2.558e-05/0.6188, allocations: 11.92 kB / 1.019 GB, free: 104 kB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.0003153/0.6192, allocations: 169.7 kB / 1.02 GB, free: 15.94 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 4.719e-06/0.6192, allocations: 4 kB / 1.02 GB, free: 15.93 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.303e-06/0.6192, allocations: 0 / 1.02 GB, free: 15.93 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 5.35e-06/0.6192, allocations: 4 kB / 1.02 GB, free: 15.93 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.000456/0.6197, allocations: 363.4 kB / 1.02 GB, free: 15.52 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.935e-05/0.6197, allocations: 12.03 kB / 1.02 GB, free: 15.51 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002487/0.62, allocations: 16.91 kB / 1.02 GB, free: 15.5 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001216/0.6201, allocations: 172.3 kB / 1.02 GB, free: 15.29 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.318e-05/0.6201, allocations: 8.359 kB / 1.02 GB, free: 15.28 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.108e-05/0.6201, allocations: 4.375 kB / 1.02 GB, free: 15.28 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001377/0.6203, allocations: 50.23 kB / 1.02 GB, free: 15.22 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.634e-06/0.6203, allocations: 192 / 1.02 GB, free: 15.22 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.279e-05/0.6203, allocations: 3.938 kB / 1.02 GB, free: 15.22 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.448e-06/0.6203, allocations: 0 / 1.02 GB, free: 15.22 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.379e-05/0.6204, allocations: 23.98 kB / 1.02 GB, free: 15.2 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000179/0.6206, allocations: 161.7 kB / 1.02 GB, free: 14.99 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001278/0.6207, allocations: 62.53 kB / 1.02 GB, free: 14.92 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.846e-05/0.6208, allocations: 28.89 kB / 1.02 GB, free: 14.89 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 2.621e-05/0.6208, allocations: 0 / 1.02 GB, free: 14.89 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.108e-05/0.6208, allocations: 34.56 kB / 1.02 GB, free: 14.84 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=6): time 9.72e-07/0.6208, allocations: 0 / 1.02 GB, free: 14.84 MB / 0.7794 GB Notification: Performance of matching and sorting (n=6): time 0.0002083/0.6211, allocations: 89.45 kB / 1.021 GB, free: 14.75 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.121e-05/0.6211, allocations: 51.41 kB / 1.021 GB, free: 14.69 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.631e-05/0.6212, allocations: 93.86 kB / 1.021 GB, free: 14.59 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.971e-05/0.6212, allocations: 29.7 kB / 1.021 GB, free: 14.55 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 3.855e-05/0.6212, allocations: 80.14 kB / 1.021 GB, free: 14.47 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 3.482e-05/0.6213, allocations: 15.75 kB / 1.021 GB, free: 14.45 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.149e-05/0.6213, allocations: 25.64 kB / 1.021 GB, free: 14.42 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001287/0.6215, allocations: 318.8 kB / 1.021 GB, free: 14.1 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.659e-05/0.6215, allocations: 8 kB / 1.021 GB, free: 14.09 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.709e-05/0.6215, allocations: 16.11 kB / 1.021 GB, free: 14.08 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.896e-05/0.6216, allocations: 36.86 kB / 1.021 GB, free: 14.04 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.773e-06/0.6216, allocations: 0 / 1.021 GB, free: 14.04 MB / 0.7794 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001145/0.6217, allocations: 73.97 kB / 1.021 GB, free: 13.96 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.469e-05/0.6218, allocations: 5.562 kB / 1.021 GB, free: 13.96 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.496e-06/0.6218, allocations: 3.938 kB / 1.021 GB, free: 13.95 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.196e-05/0.6218, allocations: 0 / 1.021 GB, free: 13.95 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001263/0.6219, allocations: 15.98 kB / 1.021 GB, free: 13.94 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.925e-06/0.6219, allocations: 4 kB / 1.021 GB, free: 13.93 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.863e-05/0.622, allocations: 0 / 1.021 GB, free: 13.93 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.245e-06/0.622, allocations: 4 kB / 1.021 GB, free: 13.93 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.915e-05/0.6221, allocations: 117.8 kB / 1.021 GB, free: 13.8 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.147e-05/0.6221, allocations: 0 / 1.021 GB, free: 13.8 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002226/0.6223, allocations: 97.48 kB / 1.021 GB, free: 13.7 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.348e-06/0.6223, allocations: 4 kB / 1.021 GB, free: 13.7 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.837e-06/0.6224, allocations: 0 / 1.021 GB, free: 13.7 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.086e-06/0.6224, allocations: 4 kB / 1.021 GB, free: 13.7 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001428/0.6225, allocations: 161.7 kB / 1.022 GB, free: 13.49 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.312e-06/0.6225, allocations: 0 / 1.022 GB, free: 13.49 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.899e-05/0.6226, allocations: 15.98 kB / 1.022 GB, free: 13.47 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.154e-06/0.6226, allocations: 0 / 1.022 GB, free: 13.47 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.163e-05/0.6227, allocations: 7.938 kB / 1.022 GB, free: 13.46 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.523e-06/0.6227, allocations: 4 kB / 1.022 GB, free: 13.46 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.02e-07/0.6227, allocations: 0 / 1.022 GB, free: 13.46 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001497/0.6228, allocations: 104.9 kB / 1.022 GB, free: 13.34 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 7.351e-05/0.6229, allocations: 85.05 kB / 1.022 GB, free: 13.24 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.575e-05/0.6229, allocations: 3.938 kB / 1.022 GB, free: 13.23 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.243e-05/0.623, allocations: 7.984 kB / 1.022 GB, free: 13.23 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.873e-05/0.623, allocations: 4 kB / 1.022 GB, free: 13.22 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.979e-06/0.623, allocations: 0 / 1.022 GB, free: 13.22 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 3.59e-05/0.6231, allocations: 79.28 kB / 1.022 GB, free: 13.14 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.983e-06/0.6231, allocations: 0 / 1.022 GB, free: 13.14 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0001927/0.6233, allocations: 15.94 kB / 1.022 GB, free: 13.13 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 (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.0001267/0.6234, allocations: 107.9 kB / 1.022 GB, free: 13.01 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0001315/0.6235, allocations: 35.92 kB / 1.022 GB, free: 12.98 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.6236, allocations: 0 / 1.022 GB, free: 12.98 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 3.896e-05/0.6236, allocations: 24 kB / 1.022 GB, free: 12.95 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002531/0.6239, allocations: 8.734 kB / 1.022 GB, free: 12.95 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003491/0.6242, allocations: 146.6 kB / 1.022 GB, free: 12.78 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002893/0.6245, allocations: 0.6806 MB / 1.023 GB, free: 12.07 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 6.012e-05/0.6246, allocations: 4 kB / 1.023 GB, free: 12.07 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.459e-05/0.6246, allocations: 11.44 kB / 1.023 GB, free: 12.05 MB / 0.7794 GB Notification: Performance of SimCode: time 4e-07/0.6246, allocations: 0 / 1.023 GB, free: 12.05 MB / 0.7794 GB Notification: Performance of Templates: time 0.003016/0.6277, allocations: 0.5729 MB / 1.023 GB, free: 11.5 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=400 -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