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.001754/0.001754, allocations: 106.3 kB / 16.27 MB, free: 6.414 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.002002/0.002002, allocations: 190.3 kB / 17.2 MB, free: 5.953 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.444/1.444, allocations: 222.9 MB / 240.9 MB, free: 15.24 MB / 206.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.51/2.51, allocations: 437.1 MB / 0.7111 GB, free: 4.504 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.00195/0.00195, allocations: 64.23 kB / 0.8699 GB, free: 2.207 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3177/0.3197, allocations: 151.6 MB / 1.018 GB, free: 10.63 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi_comparison): time 0.002763/0.3225, allocations: 1.277 MB / 1.019 GB, free: 9.344 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.001351/0.3239, allocations: 0.7724 MB / 1.02 GB, free: 8.57 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.284e-05/0.3239, allocations: 4 kB / 1.02 GB, free: 8.566 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 1.927e-05/0.324, allocations: 0 / 1.02 GB, free: 8.566 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 4.956e-05/0.3241, allocations: 7.922 kB / 1.02 GB, free: 8.559 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006036/0.3247, allocations: 167.2 kB / 1.02 GB, free: 8.395 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 6.584e-05/0.3247, allocations: 23.81 kB / 1.02 GB, free: 8.371 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 5.665e-05/0.3248, allocations: 7.984 kB / 1.02 GB, free: 8.363 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 3.752e-05/0.3248, allocations: 4 kB / 1.02 GB, free: 8.359 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 6.716e-05/0.3249, allocations: 11.94 kB / 1.02 GB, free: 8.348 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 1.274e-05/0.3249, allocations: 8 kB / 1.02 GB, free: 8.34 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005036/0.3254, allocations: 287.5 kB / 1.02 GB, free: 8.059 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 1.425e-05/0.3255, allocations: 4 kB / 1.02 GB, free: 8.055 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 3.019e-05/0.3255, allocations: 11.92 kB / 1.02 GB, free: 8.043 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.0003122/0.3258, allocations: 171.9 kB / 1.021 GB, free: 7.875 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 4.208e-06/0.3258, allocations: 0 / 1.021 GB, free: 7.875 MB / 0.795 GB Notification: Performance of FrontEnd: time 1.353e-06/0.3258, allocations: 0 / 1.021 GB, free: 7.875 MB / 0.795 GB Notification: Performance of Transformations before backend: time 5.129e-06/0.3259, allocations: 0 / 1.021 GB, free: 7.875 MB / 0.795 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.0005535/0.3264, allocations: 367.3 kB / 1.021 GB, free: 7.465 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 4.397e-05/0.3265, allocations: 12.03 kB / 1.021 GB, free: 7.453 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002659/0.3267, allocations: 20.91 kB / 1.021 GB, free: 7.434 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001423/0.3269, allocations: 160.4 kB / 1.021 GB, free: 7.238 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.218e-05/0.3269, allocations: 12.38 kB / 1.021 GB, free: 7.227 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.907e-06/0.3269, allocations: 384 / 1.021 GB, free: 7.227 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001413/0.3271, allocations: 58.11 kB / 1.021 GB, free: 7.164 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.235e-06/0.3271, allocations: 192 / 1.021 GB, free: 7.164 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.767e-05/0.3271, allocations: 7.938 kB / 1.021 GB, free: 7.156 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.699e-06/0.3271, allocations: 4 kB / 1.021 GB, free: 7.152 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.11e-05/0.3272, allocations: 19.98 kB / 1.021 GB, free: 7.133 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002114/0.3274, allocations: 161.7 kB / 1.021 GB, free: 6.926 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001364/0.3276, allocations: 54.59 kB / 1.022 GB, free: 6.863 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.15e-05/0.3276, allocations: 28.89 kB / 1.022 GB, free: 6.832 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 2.682e-05/0.3277, allocations: 3.984 kB / 1.022 GB, free: 6.828 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.028e-05/0.3277, allocations: 42.5 kB / 1.022 GB, free: 6.777 MB / 0.795 GB Notification: Performance of pre-optimization done (n=6): time 1.042e-06/0.3277, allocations: 0 / 1.022 GB, free: 6.777 MB / 0.795 GB Notification: Performance of matching and sorting (n=6): time 0.000218/0.3279, allocations: 81.52 kB / 1.022 GB, free: 6.691 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.644e-05/0.328, allocations: 51.41 kB / 1.022 GB, free: 6.629 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.507e-05/0.3281, allocations: 97.86 kB / 1.022 GB, free: 6.523 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 1.987e-05/0.3281, allocations: 25.7 kB / 1.022 GB, free: 6.492 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 4.729e-05/0.3282, allocations: 80.14 kB / 1.022 GB, free: 6.41 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 4.132e-05/0.3282, allocations: 23.69 kB / 1.022 GB, free: 6.387 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.92e-05/0.3282, allocations: 21.83 kB / 1.022 GB, free: 6.359 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001507/0.3284, allocations: 314.8 kB / 1.022 GB, free: 6.043 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.986e-05/0.3285, allocations: 12 kB / 1.022 GB, free: 6.031 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.532e-05/0.3285, allocations: 11.98 kB / 1.022 GB, free: 6.02 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.041e-05/0.3286, allocations: 36.8 kB / 1.022 GB, free: 5.98 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.402e-06/0.3286, allocations: 0 / 1.022 GB, free: 5.98 MB / 0.795 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001158/0.3287, allocations: 65.59 kB / 1.022 GB, free: 5.91 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 1.582e-05/0.3287, allocations: 6.969 kB / 1.022 GB, free: 5.906 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.332e-06/0.3287, allocations: 4.375 kB / 1.022 GB, free: 5.902 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.169e-05/0.3287, allocations: 4 kB / 1.022 GB, free: 5.898 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001333/0.3289, allocations: 19.98 kB / 1.022 GB, free: 5.879 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.47e-06/0.3289, allocations: 0 / 1.022 GB, free: 5.879 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.708e-05/0.3289, allocations: 4 kB / 1.022 GB, free: 5.875 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.2e-06/0.3289, allocations: 4 kB / 1.022 GB, free: 5.871 MB / 0.795 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.844e-05/0.329, allocations: 110.4 kB / 1.023 GB, free: 5.754 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.456e-05/0.3291, allocations: 7.984 kB / 1.023 GB, free: 5.746 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002315/0.3293, allocations: 97.55 kB / 1.023 GB, free: 5.645 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.044e-06/0.3293, allocations: 0 / 1.023 GB, free: 5.645 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.038e-06/0.3293, allocations: 0 / 1.023 GB, free: 5.645 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.54e-06/0.3293, allocations: 4 kB / 1.023 GB, free: 5.641 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001548/0.3295, allocations: 173.5 kB / 1.023 GB, free: 5.422 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.132e-06/0.3295, allocations: 0 / 1.023 GB, free: 5.422 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.649e-05/0.3296, allocations: 15.98 kB / 1.023 GB, free: 5.406 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.643e-06/0.3296, allocations: 3.938 kB / 1.023 GB, free: 5.402 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.828e-06/0.3296, allocations: 3.938 kB / 1.023 GB, free: 5.398 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.262e-06/0.3296, allocations: 7.938 kB / 1.023 GB, free: 5.391 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.3296, allocations: 0 / 1.023 GB, free: 5.391 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001374/0.3298, allocations: 93.11 kB / 1.023 GB, free: 5.281 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 8.451e-05/0.3299, allocations: 85.11 kB / 1.023 GB, free: 5.18 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.566e-05/0.3299, allocations: 3.938 kB / 1.023 GB, free: 5.176 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.655e-05/0.3299, allocations: 3.984 kB / 1.023 GB, free: 5.172 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.738e-05/0.33, allocations: 4 kB / 1.023 GB, free: 5.168 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.679e-06/0.33, allocations: 4 kB / 1.023 GB, free: 5.164 MB / 0.795 GB Notification: Performance of sorting global known variables: time 4.444e-05/0.33, allocations: 75.28 kB / 1.023 GB, free: 5.09 MB / 0.795 GB Notification: Performance of sort global known variables: time 1.61e-07/0.33, allocations: 3.938 kB / 1.023 GB, free: 5.086 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.0001857/0.3302, allocations: 12 kB / 1.023 GB, free: 5.074 MB / 0.795 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.0001345/0.3304, allocations: 107.2 kB / 1.023 GB, free: 4.957 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.0001262/0.3305, allocations: 39.98 kB / 1.023 GB, free: 4.918 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 1.663e-06/0.3305, allocations: 0 / 1.023 GB, free: 4.918 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 3.642e-05/0.3305, allocations: 20.03 kB / 1.023 GB, free: 4.898 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001934/0.3308, allocations: 13.3 kB / 1.023 GB, free: 4.887 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004172/0.3312, allocations: 160.3 kB / 1.023 GB, free: 4.699 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003609/0.3315, allocations: 0.6807 MB / 1.024 GB, free: 3.992 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.798e-05/0.3316, allocations: 7.438 kB / 1.024 GB, free: 3.984 MB / 0.795 GB Notification: Performance of SimCode: time 2.3e-07/0.3316, allocations: 4 kB / 1.024 GB, free: 3.98 MB / 0.795 GB Notification: Performance of Templates: time 0.002257/0.3339, allocations: 0.5926 MB / 1.025 GB, free: 3.387 MB / 0.795 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/jenkins1/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