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: "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi_comparison,fileNamePrefix="Buildings_10_Buildings_Utilities_Psychrometrics_Functions_Examples_pW_TDewPoi_comparison",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi_comparison,fileNamePrefix="Buildings_10_Buildings_Utilities_Psychrometrics_Functions_Examples_pW_TDewPoi_comparison",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007306/0.007306, allocations: 97.64 kB / 15.73 MB, free: 5.988 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.001854/0.001854, allocations: 192 kB / 16.67 MB, free: 5.918 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.466/1.466, allocations: 222.9 MB / 240.4 MB, free: 4.312 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.737/2.737, allocations: 437 MB / 0.7105 GB, free: 4.961 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.002016/0.002016, allocations: 63.89 kB / 1.018 GB, free: 15.05 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3291/0.3311, allocations: 151.6 MB / 1.166 GB, free: 7.312 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi_comparison): time 0.002849/0.334, allocations: 1.296 MB / 1.167 GB, free: 6.004 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.001391/0.3354, allocations: 0.7673 MB / 1.168 GB, free: 5.234 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.542e-05/0.3355, allocations: 0 / 1.168 GB, free: 5.234 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 2.023e-05/0.3355, allocations: 3.938 kB / 1.168 GB, free: 5.23 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 5.154e-05/0.3356, allocations: 7.922 kB / 1.168 GB, free: 5.223 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005334/0.3361, allocations: 159.3 kB / 1.168 GB, free: 5.066 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 8.824e-05/0.3362, allocations: 23.92 kB / 1.168 GB, free: 5.043 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 4.149e-05/0.3363, allocations: 3.938 kB / 1.168 GB, free: 5.039 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 5.085e-05/0.3363, allocations: 23.91 kB / 1.168 GB, free: 5.016 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 6.845e-05/0.3364, allocations: 8 kB / 1.168 GB, free: 5.008 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 1.101e-05/0.3364, allocations: 0 / 1.168 GB, free: 5.008 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005079/0.3369, allocations: 287.5 kB / 1.169 GB, free: 4.727 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 1.336e-05/0.337, allocations: 3.938 kB / 1.169 GB, free: 4.723 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 2.898e-05/0.337, allocations: 8 kB / 1.169 GB, free: 4.715 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0003482/0.3373, allocations: 183.6 kB / 1.169 GB, free: 4.535 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 5.18e-06/0.3374, allocations: 0 / 1.169 GB, free: 4.535 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.583e-06/0.3374, allocations: 0 / 1.169 GB, free: 4.535 MB / 0.92 GB Notification: Performance of Transformations before backend: time 1.135e-05/0.3374, allocations: 0 / 1.169 GB, free: 4.535 MB / 0.92 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.0005791/0.338, allocations: 367.1 kB / 1.169 GB, free: 4.125 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 4.909e-05/0.338, allocations: 12.03 kB / 1.169 GB, free: 4.113 MB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.274e-05/0.3381, allocations: 34.75 kB / 1.169 GB, free: 4.07 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002648/0.3383, allocations: 24.84 kB / 1.169 GB, free: 4.047 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001428/0.3385, allocations: 164.3 kB / 1.169 GB, free: 3.848 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.398e-05/0.3385, allocations: 384 / 1.169 GB, free: 3.848 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.699e-05/0.3385, allocations: 4.375 kB / 1.169 GB, free: 3.844 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001417/0.3387, allocations: 54.23 kB / 1.169 GB, free: 3.785 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.497e-05/0.3387, allocations: 7.875 kB / 1.169 GB, free: 3.777 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.918e-06/0.3387, allocations: 0 / 1.169 GB, free: 3.777 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.993e-06/0.3387, allocations: 4 kB / 1.169 GB, free: 3.773 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.182e-05/0.3388, allocations: 23.98 kB / 1.17 GB, free: 3.75 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002152/0.339, allocations: 157.6 kB / 1.17 GB, free: 3.547 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001496/0.3392, allocations: 62.66 kB / 1.17 GB, free: 3.477 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.401e-05/0.3392, allocations: 28.89 kB / 1.17 GB, free: 3.445 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 3.186e-05/0.3393, allocations: 4 kB / 1.17 GB, free: 3.441 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.706e-05/0.3393, allocations: 30.56 kB / 1.17 GB, free: 3.402 MB / 0.92 GB Notification: Performance of pre-optimization done (n=6): time 1.222e-06/0.3393, allocations: 3.938 kB / 1.17 GB, free: 3.398 MB / 0.92 GB Notification: Performance of matching and sorting (n=6): time 0.0002227/0.3396, allocations: 77.62 kB / 1.17 GB, free: 3.316 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.659e-05/0.3396, allocations: 55.39 kB / 1.17 GB, free: 3.25 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.607e-05/0.3397, allocations: 89.86 kB / 1.17 GB, free: 3.152 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 2.332e-05/0.3397, allocations: 29.7 kB / 1.17 GB, free: 3.117 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 4.247e-05/0.3398, allocations: 84.27 kB / 1.17 GB, free: 3.031 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 3.391e-05/0.3398, allocations: 15.86 kB / 1.17 GB, free: 3.016 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.076e-05/0.3399, allocations: 21.7 kB / 1.17 GB, free: 2.988 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001621/0.34, allocations: 318.8 kB / 1.17 GB, free: 2.668 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.9e-05/0.3401, allocations: 8.25 kB / 1.17 GB, free: 2.66 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.98e-05/0.3401, allocations: 19.98 kB / 1.17 GB, free: 2.641 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.52e-05/0.3402, allocations: 36.8 kB / 1.171 GB, free: 2.602 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.733e-06/0.3402, allocations: 0 / 1.171 GB, free: 2.602 MB / 0.92 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001168/0.3403, allocations: 65.69 kB / 1.171 GB, free: 2.531 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.548e-05/0.3403, allocations: 7.938 kB / 1.171 GB, free: 2.523 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.298e-06/0.3404, allocations: 4 kB / 1.171 GB, free: 2.52 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.449e-05/0.3404, allocations: 0 / 1.171 GB, free: 2.52 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001281/0.3405, allocations: 15.98 kB / 1.171 GB, free: 2.504 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.619e-06/0.3405, allocations: 0 / 1.171 GB, free: 2.504 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.838e-05/0.3406, allocations: 3.938 kB / 1.171 GB, free: 2.5 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.055e-06/0.3406, allocations: 3.938 kB / 1.171 GB, free: 2.496 MB / 0.92 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.32e-05/0.3407, allocations: 121.7 kB / 1.171 GB, free: 2.367 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.608e-05/0.3407, allocations: 11.89 kB / 1.171 GB, free: 2.355 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002135/0.3409, allocations: 89.61 kB / 1.171 GB, free: 2.254 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.694e-06/0.3409, allocations: 0 / 1.171 GB, free: 2.254 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.827e-06/0.3409, allocations: 0 / 1.171 GB, free: 2.254 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.236e-06/0.3409, allocations: 0 / 1.171 GB, free: 2.254 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001502/0.3411, allocations: 165.7 kB / 1.171 GB, free: 2.043 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.092e-06/0.3411, allocations: 0 / 1.171 GB, free: 2.043 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.422e-05/0.3412, allocations: 19.98 kB / 1.171 GB, free: 2.023 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.135e-06/0.3412, allocations: 7.938 kB / 1.171 GB, free: 2.016 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.835e-06/0.3412, allocations: 0 / 1.171 GB, free: 2.016 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.688e-06/0.3412, allocations: 3.938 kB / 1.171 GB, free: 2.012 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.51e-07/0.3412, allocations: 0 / 1.171 GB, free: 2.012 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001404/0.3414, allocations: 97.3 kB / 1.171 GB, free: 1.898 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 7.708e-05/0.3415, allocations: 81.06 kB / 1.171 GB, free: 1.801 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.762e-05/0.3415, allocations: 7.938 kB / 1.171 GB, free: 1.793 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.887e-05/0.3416, allocations: 12 kB / 1.171 GB, free: 1.781 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2e-05/0.3416, allocations: 3.984 kB / 1.171 GB, free: 1.777 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.746e-06/0.3416, allocations: 4 kB / 1.171 GB, free: 1.773 MB / 0.92 GB Notification: Performance of sorting global known variables: time 4.959e-05/0.3417, allocations: 75.28 kB / 1.171 GB, free: 1.699 MB / 0.92 GB Notification: Performance of sort global known variables: time 1.41e-07/0.3417, allocations: 0 / 1.171 GB, free: 1.699 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.0001897/0.3419, allocations: 8 kB / 1.171 GB, free: 1.691 MB / 0.92 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.0004676/0.3423, allocations: 0.6398 MB / 1.172 GB, free: 1.023 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.0001251/0.3425, allocations: 39.98 kB / 1.172 GB, free: 0.9844 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 1.924e-06/0.3425, allocations: 0 / 1.172 GB, free: 0.9844 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 4.047e-05/0.3425, allocations: 27.92 kB / 1.172 GB, free: 0.957 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001858/0.3427, allocations: 4 kB / 1.172 GB, free: 0.9531 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004322/0.3432, allocations: 168.5 kB / 1.172 GB, free: 0.75 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003161/0.3435, allocations: 0.6807 MB / 1.173 GB, free: 44 kB / 0.92 GB Notification: Performance of simCode: alias equations: time 4.303e-05/0.3435, allocations: 0 / 1.173 GB, free: 44 kB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.937e-05/0.3436, allocations: 15.06 kB / 1.173 GB, free: 36 kB / 0.92 GB Notification: Performance of SimCode: time 3.8e-07/0.3436, allocations: 0 / 1.173 GB, free: 36 kB / 0.92 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02371/0.3673, allocations: 1.451 MB / 1.174 GB, free: 14.73 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.866/8.233, allocations: 10.77 kB / 1.174 GB, free: 14.72 MB / 0.9356 GB (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 & python3 -m fmpy simulate --output-file Buildings_10_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi_comparison_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_10_Buildings_Utilities_Psychrometrics_Functions_Examples_pW_TDewPoi_comparison.fmu > 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.csv","/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