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.001072/0.001073, allocations: 108 kB / 15.6 MB, free: 132 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.00108/0.00108, allocations: 197.4 kB / 16.54 MB, free: 6.672 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.297/1.297, allocations: 222.9 MB / 240.2 MB, free: 4.391 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.462/2.462, allocations: 437.1 MB / 0.7104 GB, free: 5.016 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001281/0.001281, allocations: 71.91 kB / 0.8694 GB, free: 4.512 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5298/0.5311, allocations: 151.6 MB / 1.017 GB, free: 2.445 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi_comparison): time 0.002278/0.5334, allocations: 1.293 MB / 1.019 GB, free: 1.141 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.0009979/0.5344, allocations: 0.7553 MB / 1.019 GB, free: 392 kB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.504e-05/0.5345, allocations: 0 / 1.019 GB, free: 392 kB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 1.579e-05/0.5345, allocations: 4 kB / 1.019 GB, free: 388 kB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 4.758e-05/0.5346, allocations: 15.91 kB / 1.019 GB, free: 372 kB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.000465/0.5351, allocations: 167.2 kB / 1.02 GB, free: 204 kB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 5.322e-05/0.5351, allocations: 27.81 kB / 1.02 GB, free: 176 kB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 3.507e-05/0.5352, allocations: 0 / 1.02 GB, free: 176 kB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 3.327e-05/0.5352, allocations: 11.98 kB / 1.02 GB, free: 164 kB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 4.642e-05/0.5352, allocations: 11.94 kB / 1.02 GB, free: 152 kB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 8.065e-06/0.5353, allocations: 0 / 1.02 GB, free: 152 kB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000434/0.5357, allocations: 291.7 kB / 1.02 GB, free: 15.86 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 1.148e-05/0.5357, allocations: 3.984 kB / 1.02 GB, free: 15.86 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 3.015e-05/0.5358, allocations: 15.77 kB / 1.02 GB, free: 15.84 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0002866/0.5361, allocations: 173.9 kB / 1.02 GB, free: 15.68 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 3.417e-06/0.5361, allocations: 0 / 1.02 GB, free: 15.68 MB / 0.7794 GB Notification: Performance of FrontEnd: time 9.32e-07/0.5361, allocations: 0 / 1.02 GB, free: 15.68 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 3.737e-06/0.5361, allocations: 0 / 1.02 GB, free: 15.68 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.0003635/0.5364, allocations: 363.4 kB / 1.02 GB, free: 15.27 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.359e-05/0.5365, allocations: 8.031 kB / 1.02 GB, free: 15.26 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.853e-05/0.5365, allocations: 38.75 kB / 1.02 GB, free: 15.21 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002157/0.5367, allocations: 20.91 kB / 1.021 GB, free: 15.2 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.565e-05/0.5368, allocations: 164.3 kB / 1.021 GB, free: 15 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.147e-05/0.5369, allocations: 4.375 kB / 1.021 GB, free: 14.99 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.124e-05/0.5369, allocations: 4.312 kB / 1.021 GB, free: 14.99 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000108/0.537, allocations: 54.23 kB / 1.021 GB, free: 14.93 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.265e-06/0.537, allocations: 3.938 kB / 1.021 GB, free: 14.93 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.736e-06/0.537, allocations: 4 kB / 1.021 GB, free: 14.92 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.232e-06/0.537, allocations: 4 kB / 1.021 GB, free: 14.92 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.719e-05/0.5371, allocations: 23.98 kB / 1.021 GB, free: 14.89 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001428/0.5372, allocations: 157.7 kB / 1.021 GB, free: 14.69 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001097/0.5374, allocations: 62.59 kB / 1.021 GB, free: 14.62 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.265e-05/0.5374, allocations: 28.89 kB / 1.021 GB, free: 14.59 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 2.044e-05/0.5374, allocations: 0 / 1.021 GB, free: 14.59 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.209e-05/0.5375, allocations: 34.56 kB / 1.021 GB, free: 14.55 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=6): time 8.01e-07/0.5375, allocations: 0 / 1.021 GB, free: 14.55 MB / 0.7794 GB Notification: Performance of matching and sorting (n=6): time 0.0001669/0.5376, allocations: 81.53 kB / 1.021 GB, free: 14.46 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.399e-05/0.5377, allocations: 55.39 kB / 1.021 GB, free: 14.39 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.511e-05/0.5377, allocations: 93.86 kB / 1.021 GB, free: 14.29 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.379e-05/0.5378, allocations: 29.7 kB / 1.021 GB, free: 14.26 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 2.276e-05/0.5378, allocations: 80.14 kB / 1.021 GB, free: 14.18 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 3.028e-05/0.5378, allocations: 23.67 kB / 1.021 GB, free: 14.15 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.567e-05/0.5379, allocations: 25.83 kB / 1.021 GB, free: 14.12 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 8.005e-05/0.5379, allocations: 314.8 kB / 1.022 GB, free: 13.8 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.521e-05/0.538, allocations: 12 kB / 1.022 GB, free: 13.79 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.267e-05/0.538, allocations: 11.98 kB / 1.022 GB, free: 13.78 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.746e-05/0.5381, allocations: 32.86 kB / 1.022 GB, free: 13.75 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.213e-06/0.5381, allocations: 3.938 kB / 1.022 GB, free: 13.74 MB / 0.7794 GB Notification: Performance of matching and sorting (n=6) (initialization): time 9.892e-05/0.5382, allocations: 69.59 kB / 1.022 GB, free: 13.67 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.185e-05/0.5382, allocations: 7.938 kB / 1.022 GB, free: 13.66 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.268e-06/0.5382, allocations: 0 / 1.022 GB, free: 13.66 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.076e-05/0.5382, allocations: 4 kB / 1.022 GB, free: 13.66 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001238/0.5383, allocations: 19.92 kB / 1.022 GB, free: 13.64 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.41e-06/0.5384, allocations: 448 / 1.022 GB, free: 13.64 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.483e-05/0.5384, allocations: 0 / 1.022 GB, free: 13.64 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.446e-06/0.5384, allocations: 4 kB / 1.022 GB, free: 13.63 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 6.202e-05/0.5385, allocations: 111.4 kB / 1.022 GB, free: 13.52 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.768e-05/0.5385, allocations: 11.92 kB / 1.022 GB, free: 13.5 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001869/0.5387, allocations: 93.62 kB / 1.022 GB, free: 13.41 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.304e-06/0.5387, allocations: 0 / 1.022 GB, free: 13.41 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.767e-06/0.5387, allocations: 0 / 1.022 GB, free: 13.41 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.605e-06/0.5387, allocations: 0 / 1.022 GB, free: 13.41 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001139/0.5388, allocations: 161.6 kB / 1.022 GB, free: 13.2 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.978e-06/0.5388, allocations: 4 kB / 1.022 GB, free: 13.2 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.295e-05/0.5389, allocations: 19.92 kB / 1.022 GB, free: 13.18 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.847e-06/0.5389, allocations: 3.938 kB / 1.022 GB, free: 13.17 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.853e-06/0.539, allocations: 0 / 1.022 GB, free: 13.17 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.503e-06/0.539, allocations: 4 kB / 1.022 GB, free: 13.17 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.11e-07/0.539, allocations: 0 / 1.022 GB, free: 13.17 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001186/0.5391, allocations: 101.1 kB / 1.022 GB, free: 13.05 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 5.762e-05/0.5392, allocations: 77.11 kB / 1.022 GB, free: 12.96 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.68e-05/0.5392, allocations: 7.938 kB / 1.022 GB, free: 12.95 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.356e-05/0.5392, allocations: 4 kB / 1.022 GB, free: 12.95 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.667e-05/0.5393, allocations: 7.984 kB / 1.022 GB, free: 12.94 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.261e-06/0.5393, allocations: 4 kB / 1.022 GB, free: 12.93 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 2.765e-05/0.5393, allocations: 79.22 kB / 1.023 GB, free: 12.86 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.21e-07/0.5393, allocations: 3.938 kB / 1.023 GB, free: 12.85 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0001823/0.5395, allocations: 8 kB / 1.023 GB, free: 12.84 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.0003523/0.5399, allocations: 0.6398 MB / 1.023 GB, free: 12.17 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.000107/0.54, allocations: 43.92 kB / 1.023 GB, free: 12.13 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 3.857e-06/0.54, allocations: 4 kB / 1.023 GB, free: 12.12 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 3.239e-05/0.54, allocations: 19.98 kB / 1.023 GB, free: 12.11 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001856/0.5402, allocations: 9.125 kB / 1.023 GB, free: 12.1 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004077/0.5406, allocations: 164.2 kB / 1.023 GB, free: 11.9 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001942/0.5408, allocations: 0.6858 MB / 1.024 GB, free: 11.19 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 5.367e-05/0.5409, allocations: 3.984 kB / 1.024 GB, free: 11.18 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.877e-05/0.5409, allocations: 15.38 kB / 1.024 GB, free: 11.17 MB / 0.7794 GB Notification: Performance of SimCode: time 2.3e-07/0.5409, allocations: 0 / 1.024 GB, free: 11.17 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.9258/1.467, allocations: 1.397 MB / 1.025 GB, free: 9.898 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.54/14.01, allocations: 15.88 kB / 1.025 GB, free: 9.887 MB / 0.7794 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi_comparison_res.mat --tempDir=temp_Buildings_10_Buildings_Utilities_Psychrometrics_Functions_Examples_pW_TDewPoi_comparison_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 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.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