Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.1.0-master/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-master/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_latest_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_latest_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.005215/0.005215, 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.00118/0.00118, allocations: 191.8 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.378/1.378, allocations: 222.9 MB / 240.4 MB, free: 4.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-master/package.mo): time 2.792/2.792, allocations: 469.4 MB / 0.7421 GB, free: 7.555 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001259/0.001259, allocations: 71.97 kB / 1.064 GB, free: 13.9 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3345/0.3357, allocations: 159.1 MB / 1.22 GB, free: 14.67 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi_comparison): time 0.002722/0.3385, allocations: 1.305 MB / 1.221 GB, free: 13.35 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001237/0.3398, allocations: 0.761 MB / 1.222 GB, free: 12.59 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.168e-05/0.3398, allocations: 0 / 1.222 GB, free: 12.59 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 2.271e-05/0.3398, allocations: 0 / 1.222 GB, free: 12.59 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 5.252e-05/0.3399, allocations: 11.88 kB / 1.222 GB, free: 12.58 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005947/0.3405, allocations: 171.2 kB / 1.222 GB, free: 12.41 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 7.329e-05/0.3406, allocations: 27.86 kB / 1.222 GB, free: 12.38 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 4.626e-05/0.3407, allocations: 3.984 kB / 1.222 GB, free: 12.38 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 4.106e-05/0.3407, allocations: 8 kB / 1.222 GB, free: 12.37 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 7.144e-05/0.3408, allocations: 15.92 kB / 1.222 GB, free: 12.36 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.003e-05/0.3408, allocations: 0 / 1.222 GB, free: 12.36 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004887/0.3413, allocations: 283.5 kB / 1.222 GB, free: 12.08 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 1.424e-05/0.3413, allocations: 3.984 kB / 1.222 GB, free: 12.07 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 2.988e-05/0.3413, allocations: 11.92 kB / 1.222 GB, free: 12.06 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0003429/0.3417, allocations: 175.6 kB / 1.222 GB, free: 11.89 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.108e-06/0.3417, allocations: 4 kB / 1.222 GB, free: 11.89 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.583e-06/0.3417, allocations: 0 / 1.222 GB, free: 11.89 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 4.759e-06/0.3417, allocations: 0 / 1.222 GB, free: 11.89 MB / 0.9825 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.0004661/0.3422, allocations: 367.1 kB / 1.223 GB, free: 11.48 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.882e-05/0.3422, allocations: 8.031 kB / 1.223 GB, free: 11.47 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.132e-05/0.3423, allocations: 34.75 kB / 1.223 GB, free: 11.43 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002457/0.3425, allocations: 20.91 kB / 1.223 GB, free: 11.41 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001184/0.3427, allocations: 164.4 kB / 1.223 GB, free: 11.21 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.358e-05/0.3427, allocations: 8.297 kB / 1.223 GB, free: 11.2 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.238e-05/0.3427, allocations: 8.359 kB / 1.223 GB, free: 11.19 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001202/0.3428, allocations: 46.25 kB / 1.223 GB, free: 11.14 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.014e-05/0.3429, allocations: 7.875 kB / 1.223 GB, free: 11.13 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.085e-05/0.3429, allocations: 4 kB / 1.223 GB, free: 11.13 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.478e-06/0.3429, allocations: 0 / 1.223 GB, free: 11.13 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.344e-05/0.343, allocations: 19.98 kB / 1.223 GB, free: 11.11 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001811/0.3431, allocations: 165.6 kB / 1.223 GB, free: 10.9 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001345/0.3433, allocations: 70.62 kB / 1.223 GB, free: 10.82 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.725e-05/0.3433, allocations: 24.86 kB / 1.223 GB, free: 10.79 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 2.505e-05/0.3434, allocations: 0 / 1.223 GB, free: 10.79 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.586e-05/0.3434, allocations: 34.55 kB / 1.223 GB, free: 10.75 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=6): time 1.142e-06/0.3434, allocations: 0 / 1.223 GB, free: 10.75 MB / 0.9825 GB Notification: Performance of matching and sorting (n=6): time 0.0002103/0.3436, allocations: 81.62 kB / 1.223 GB, free: 10.66 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.862e-05/0.3437, allocations: 59.34 kB / 1.223 GB, free: 10.59 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.091e-05/0.3438, allocations: 93.86 kB / 1.224 GB, free: 10.49 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.853e-05/0.3438, allocations: 25.7 kB / 1.224 GB, free: 10.46 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 7.813e-05/0.3439, allocations: 84.08 kB / 1.224 GB, free: 10.38 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 4.095e-05/0.3439, allocations: 27.78 kB / 1.224 GB, free: 10.35 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.879e-05/0.344, allocations: 17.72 kB / 1.224 GB, free: 10.32 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001214/0.3441, allocations: 310.8 kB / 1.224 GB, free: 10.01 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.378e-05/0.3441, allocations: 16.11 kB / 1.224 GB, free: 9.996 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.321e-05/0.3442, allocations: 12 kB / 1.224 GB, free: 9.984 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.121e-05/0.3442, allocations: 36.84 kB / 1.224 GB, free: 9.945 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.823e-06/0.3442, allocations: 0 / 1.224 GB, free: 9.945 MB / 0.9825 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001183/0.3444, allocations: 61.69 kB / 1.224 GB, free: 9.879 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.711e-05/0.3444, allocations: 11.94 kB / 1.224 GB, free: 9.867 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.328e-06/0.3444, allocations: 0 / 1.224 GB, free: 9.867 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.434e-05/0.3444, allocations: 0 / 1.224 GB, free: 9.867 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001394/0.3446, allocations: 15.94 kB / 1.224 GB, free: 9.852 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.814e-06/0.3446, allocations: 3.984 kB / 1.224 GB, free: 9.848 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.747e-05/0.3446, allocations: 0 / 1.224 GB, free: 9.848 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.865e-06/0.3446, allocations: 8 kB / 1.224 GB, free: 9.84 MB / 0.9825 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.177e-05/0.3447, allocations: 109.8 kB / 1.224 GB, free: 9.723 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.988e-05/0.3448, allocations: 11.89 kB / 1.224 GB, free: 9.711 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002184/0.345, allocations: 85.56 kB / 1.224 GB, free: 9.617 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.104e-06/0.345, allocations: 0 / 1.224 GB, free: 9.617 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.551e-06/0.345, allocations: 4 kB / 1.224 GB, free: 9.613 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.378e-06/0.345, allocations: 7.922 kB / 1.224 GB, free: 9.605 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001312/0.3452, allocations: 161.7 kB / 1.225 GB, free: 9.398 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.865e-06/0.3452, allocations: 4 kB / 1.225 GB, free: 9.395 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001002/0.3453, allocations: 12.44 kB / 1.225 GB, free: 9.383 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.035e-06/0.3453, allocations: 11.91 kB / 1.225 GB, free: 9.371 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.985e-06/0.3453, allocations: 0 / 1.225 GB, free: 9.371 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.526e-06/0.3453, allocations: 4 kB / 1.225 GB, free: 9.367 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.3453, allocations: 3.938 kB / 1.225 GB, free: 9.363 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001485/0.3455, allocations: 101.1 kB / 1.225 GB, free: 9.246 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001234/0.3456, allocations: 81.09 kB / 1.225 GB, free: 9.148 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.854e-05/0.3456, allocations: 7.938 kB / 1.225 GB, free: 9.141 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.624e-05/0.3457, allocations: 3.938 kB / 1.225 GB, free: 9.137 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.466e-05/0.3457, allocations: 11.92 kB / 1.225 GB, free: 9.125 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.325e-06/0.3457, allocations: 7.984 kB / 1.225 GB, free: 9.117 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 3.72e-05/0.3458, allocations: 75.28 kB / 1.225 GB, free: 9.043 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.51e-07/0.3458, allocations: 0 / 1.225 GB, free: 9.043 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002003/0.346, allocations: 12.09 kB / 1.225 GB, free: 9.031 MB / 0.9825 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.0005202/0.3465, allocations: 0.632 MB / 1.225 GB, free: 8.371 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0001263/0.3467, allocations: 39.91 kB / 1.226 GB, free: 8.332 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.324e-06/0.3467, allocations: 0 / 1.226 GB, free: 8.332 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 3.707e-05/0.3467, allocations: 24 kB / 1.226 GB, free: 8.309 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002632/0.347, allocations: 12.09 kB / 1.226 GB, free: 8.301 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004706/0.3475, allocations: 168 kB / 1.226 GB, free: 8.098 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002794/0.3477, allocations: 0.6807 MB / 1.226 GB, free: 7.391 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 5.203e-05/0.3478, allocations: 8.25 kB / 1.226 GB, free: 7.383 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.447e-05/0.3479, allocations: 15.42 kB / 1.226 GB, free: 7.367 MB / 0.9825 GB Notification: Performance of SimCode: time 3.31e-07/0.3479, allocations: 0 / 1.226 GB, free: 7.367 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01884/0.3667, allocations: 1.44 MB / 1.228 GB, free: 6.07 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.52/7.887, allocations: 20.98 kB / 1.228 GB, free: 6.055 MB / 0.9825 GB (rm -f Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi_comparison.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi_comparison.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi_comparison.pipe >> ../files/Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi_comparison.sim & python3 -m fmpy simulate --output-file Buildings_latest_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_latest_Buildings_Utilities_Psychrometrics_Functions_Examples_pW_TDewPoi_comparison.fmu > Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi_comparison.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi_comparison_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Psychrometrics_Functions_Examples_pW_TDewPoi_comparison.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi_comparison.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches