Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_9_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_9_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.001038/0.001038, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001047/0.001047, allocations: 194.6 kB / 16.53 MB, free: 6.664 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.318/1.318, allocations: 222.9 MB / 240.2 MB, free: 4.406 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.318/2.318, allocations: 390.2 MB / 0.6647 GB, free: 440 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001465/0.001465, allocations: 67.89 kB / 0.8126 GB, free: 14.33 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6256/0.6271, allocations: 140.4 MB / 0.9497 GB, free: 9.133 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi_comparison): time 0.002059/0.6292, allocations: 1.279 MB / 0.951 GB, free: 8.113 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0009668/0.6302, allocations: 0.7675 MB / 0.9517 GB, free: 7.5 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.374e-05/0.6302, allocations: 1.469 kB / 0.9517 GB, free: 7.5 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 1.796e-05/0.6302, allocations: 0 / 0.9517 GB, free: 7.5 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 4.387e-05/0.6303, allocations: 7.922 kB / 0.9517 GB, free: 7.492 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.000434/0.6307, allocations: 170.1 kB / 0.9519 GB, free: 7.383 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 5.985e-05/0.6308, allocations: 27.17 kB / 0.9519 GB, free: 7.367 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 4.256e-05/0.6309, allocations: 7 kB / 0.9519 GB, free: 7.363 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 3.714e-05/0.6309, allocations: 7.812 kB / 0.9519 GB, free: 7.359 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 4.867e-05/0.631, allocations: 9.422 kB / 0.9519 GB, free: 7.355 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 8.987e-06/0.631, allocations: 0 / 0.9519 GB, free: 7.355 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003999/0.6314, allocations: 291.3 kB / 0.9522 GB, free: 7.184 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.094e-05/0.6314, allocations: 5.031 kB / 0.9522 GB, free: 7.18 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 2.51e-05/0.6314, allocations: 8.812 kB / 0.9522 GB, free: 7.176 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0002691/0.6317, allocations: 170 kB / 0.9524 GB, free: 7.09 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.617e-06/0.6317, allocations: 1.562 kB / 0.9524 GB, free: 7.09 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.363e-06/0.6317, allocations: 0 / 0.9524 GB, free: 7.09 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 5.49e-06/0.6317, allocations: 4 kB / 0.9524 GB, free: 7.086 MB / 0.7169 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.0003437/0.6321, allocations: 370.3 kB / 0.9527 GB, free: 6.691 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.859e-05/0.6321, allocations: 10.44 kB / 0.9528 GB, free: 6.691 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.416e-05/0.6321, allocations: 32.22 kB / 0.9528 GB, free: 6.652 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002401/0.6324, allocations: 22.66 kB / 0.9528 GB, free: 6.641 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.178e-05/0.6325, allocations: 169.4 kB / 0.953 GB, free: 6.438 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.235e-05/0.6325, allocations: 5.812 kB / 0.953 GB, free: 6.434 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.296e-05/0.6325, allocations: 1.469 kB / 0.953 GB, free: 6.434 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001116/0.6326, allocations: 56.25 kB / 0.953 GB, free: 6.383 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.346e-06/0.6326, allocations: 3.938 kB / 0.953 GB, free: 6.379 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.128e-05/0.6326, allocations: 1.219 kB / 0.953 GB, free: 6.379 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.659e-06/0.6327, allocations: 0 / 0.953 GB, free: 6.379 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.855e-05/0.6327, allocations: 25.97 kB / 0.9531 GB, free: 6.367 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001215/0.6328, allocations: 159.1 kB / 0.9532 GB, free: 6.168 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001115/0.633, allocations: 63.5 kB / 0.9533 GB, free: 6.121 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.246e-05/0.633, allocations: 24.59 kB / 0.9533 GB, free: 6.105 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 2.807e-05/0.633, allocations: 11.95 kB / 0.9533 GB, free: 6.094 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.081e-05/0.6331, allocations: 35.69 kB / 0.9533 GB, free: 6.051 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=6): time 1.102e-06/0.6331, allocations: 1.25 kB / 0.9533 GB, free: 6.051 MB / 0.7169 GB Notification: Performance of matching and sorting (n=6): time 0.0001799/0.6333, allocations: 76.12 kB / 0.9534 GB, free: 5.996 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.492e-05/0.6333, allocations: 60.56 kB / 0.9535 GB, free: 5.926 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.1e-05/0.6333, allocations: 95.17 kB / 0.9536 GB, free: 5.824 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 8.516e-06/0.6334, allocations: 26.92 kB / 0.9536 GB, free: 5.793 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 1.103e-05/0.6334, allocations: 80.14 kB / 0.9537 GB, free: 5.711 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.611e-05/0.6334, allocations: 22.14 kB / 0.9537 GB, free: 5.691 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.188e-05/0.6334, allocations: 19.16 kB / 0.9537 GB, free: 5.672 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.719e-05/0.6335, allocations: 314.8 kB / 0.954 GB, free: 5.355 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.648e-05/0.6335, allocations: 10.5 kB / 0.954 GB, free: 5.352 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.161e-05/0.6335, allocations: 14.12 kB / 0.954 GB, free: 5.344 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.504e-05/0.6336, allocations: 41.34 kB / 0.9541 GB, free: 5.316 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.112e-06/0.6336, allocations: 0 / 0.9541 GB, free: 5.316 MB / 0.7169 GB Notification: Performance of matching and sorting (n=6) (initialization): time 8.593e-05/0.6337, allocations: 62.88 kB / 0.9541 GB, free: 5.27 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.378e-05/0.6337, allocations: 11.47 kB / 0.9541 GB, free: 5.266 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.616e-06/0.6337, allocations: 3.938 kB / 0.9541 GB, free: 5.262 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.052e-05/0.6337, allocations: 0 / 0.9541 GB, free: 5.262 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001254/0.6339, allocations: 16.64 kB / 0.9542 GB, free: 5.258 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.431e-06/0.6339, allocations: 0 / 0.9542 GB, free: 5.258 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.614e-05/0.6339, allocations: 8.969 kB / 0.9542 GB, free: 5.25 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.885e-06/0.6339, allocations: 5.875 kB / 0.9542 GB, free: 5.246 MB / 0.7169 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 5.267e-05/0.634, allocations: 115.9 kB / 0.9543 GB, free: 5.125 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.181e-05/0.634, allocations: 5.094 kB / 0.9543 GB, free: 5.121 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001892/0.6342, allocations: 83.5 kB / 0.9544 GB, free: 5.055 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.154e-06/0.6342, allocations: 1.094 kB / 0.9544 GB, free: 5.055 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.478e-06/0.6342, allocations: 0 / 0.9544 GB, free: 5.055 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.865e-06/0.6342, allocations: 4 kB / 0.9544 GB, free: 5.051 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.211e-05/0.6343, allocations: 165.8 kB / 0.9545 GB, free: 4.848 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.22e-07/0.6343, allocations: 0 / 0.9545 GB, free: 4.848 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.291e-05/0.6344, allocations: 21.23 kB / 0.9546 GB, free: 4.84 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.005e-06/0.6344, allocations: 5.531 kB / 0.9546 GB, free: 4.836 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.903e-06/0.6344, allocations: 0 / 0.9546 GB, free: 4.836 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.142e-06/0.6344, allocations: 0 / 0.9546 GB, free: 4.836 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.11e-07/0.6344, allocations: 2.156 kB / 0.9546 GB, free: 4.836 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001046/0.6346, allocations: 98.16 kB / 0.9547 GB, free: 4.746 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 4.337e-05/0.6346, allocations: 83.59 kB / 0.9547 GB, free: 4.648 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.296e-05/0.6346, allocations: 3.938 kB / 0.9547 GB, free: 4.645 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.286e-05/0.6347, allocations: 1.312 kB / 0.9547 GB, free: 4.645 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.052e-05/0.6347, allocations: 6.484 kB / 0.9547 GB, free: 4.641 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.302e-06/0.6347, allocations: 2.062 kB / 0.9547 GB, free: 4.641 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 1.627e-05/0.6347, allocations: 80.56 kB / 0.9548 GB, free: 4.562 MB / 0.7169 GB Notification: Performance of sort global known variables: time 9e-08/0.6347, allocations: 0 / 0.9548 GB, free: 4.562 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.000185/0.6349, allocations: 7.844 kB / 0.9548 GB, free: 4.562 MB / 0.7169 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.0002491/0.6352, allocations: 0.6453 MB / 0.9555 GB, free: 3.934 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0001041/0.6353, allocations: 42.47 kB / 0.9555 GB, free: 3.914 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 4.458e-06/0.6353, allocations: 0 / 0.9555 GB, free: 3.914 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 3.471e-05/0.6354, allocations: 21.69 kB / 0.9555 GB, free: 3.906 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002073/0.6356, allocations: 8.641 kB / 0.9555 GB, free: 3.902 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003916/0.636, allocations: 173.8 kB / 0.9557 GB, free: 3.73 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001132/0.6361, allocations: 0.6827 MB / 0.9564 GB, free: 3.027 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 5.777e-05/0.6362, allocations: 15.19 kB / 0.9564 GB, free: 3.016 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.875e-05/0.6362, allocations: 15.09 kB / 0.9564 GB, free: 3.004 MB / 0.7169 GB Notification: Performance of SimCode: time 2.4e-07/0.6362, allocations: 0 / 0.9564 GB, free: 3.004 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01622/0.6524, allocations: 1.404 MB / 0.9578 GB, free: 2.254 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.189/7.841, allocations: 9.953 kB / 0.9578 GB, free: 2.246 MB / 0.7169 GB (rm -f Buildings_9_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi_comparison.pipe ; mkfifo Buildings_9_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi_comparison.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi_comparison.pipe >> ../files/Buildings_9_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi_comparison.sim & python3 -m fmpy simulate --output-file Buildings_9_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_9_Buildings_Utilities_Psychrometrics_Functions_Examples_pW_TDewPoi_comparison.fmu > Buildings_9_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi_comparison.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi_comparison_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Utilities_Psychrometrics_Functions_Examples_pW_TDewPoi_comparison.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi_comparison.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches