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.007547/0.007547, allocations: 97.62 kB / 15.73 MB, free: 6.047 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.001784/0.001785, allocations: 201.9 kB / 16.68 MB, free: 5.969 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.392/1.392, allocations: 222.9 MB / 240.4 MB, free: 4.309 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.369/2.369, allocations: 390.2 MB / 0.6648 GB, free: 220 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001245/0.001245, allocations: 62.53 kB / 0.9504 GB, free: 5.953 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2522/0.2534, allocations: 140.4 MB / 1.087 GB, free: 2.012 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi_comparison): time 0.002295/0.2558, allocations: 1.289 MB / 1.089 GB, free: 0.7109 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.001137/0.2569, allocations: 0.7647 MB / 1.089 GB, free: 15.95 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.923e-05/0.257, allocations: 0 / 1.089 GB, free: 15.95 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 1.844e-05/0.257, allocations: 7.938 kB / 1.089 GB, free: 15.94 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 4.265e-05/0.2571, allocations: 3.938 kB / 1.089 GB, free: 15.93 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005534/0.2576, allocations: 163.2 kB / 1.09 GB, free: 15.77 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 6.694e-05/0.2577, allocations: 31.86 kB / 1.09 GB, free: 15.74 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 3.733e-05/0.2577, allocations: 4 kB / 1.09 GB, free: 15.74 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 3.721e-05/0.2578, allocations: 8 kB / 1.09 GB, free: 15.73 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 5.216e-05/0.2578, allocations: 15.91 kB / 1.09 GB, free: 15.71 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 7.725e-06/0.2579, allocations: 0 / 1.09 GB, free: 15.71 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004599/0.2583, allocations: 283.5 kB / 1.09 GB, free: 15.44 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 1.188e-05/0.2583, allocations: 0 / 1.09 GB, free: 15.44 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 2.84e-05/0.2584, allocations: 15.94 kB / 1.09 GB, free: 15.42 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0003007/0.2587, allocations: 175.7 kB / 1.09 GB, free: 15.25 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 3.877e-06/0.2587, allocations: 3.938 kB / 1.09 GB, free: 15.25 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.473e-06/0.2587, allocations: 0 / 1.09 GB, free: 15.25 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 4.839e-06/0.2587, allocations: 4 kB / 1.09 GB, free: 15.24 MB / 0.8575 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.0004215/0.2591, allocations: 367.1 kB / 1.091 GB, free: 14.83 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.835e-05/0.2592, allocations: 8.031 kB / 1.091 GB, free: 14.82 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.18e-05/0.2592, allocations: 34.75 kB / 1.091 GB, free: 14.78 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000247/0.2595, allocations: 20.86 kB / 1.091 GB, free: 14.76 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001073/0.2596, allocations: 168.3 kB / 1.091 GB, free: 14.56 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.628e-06/0.2596, allocations: 8.375 kB / 1.091 GB, free: 14.55 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.364e-05/0.2596, allocations: 4.375 kB / 1.091 GB, free: 14.55 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001312/0.2598, allocations: 50.19 kB / 1.091 GB, free: 14.49 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.947e-06/0.2598, allocations: 3.938 kB / 1.091 GB, free: 14.49 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.248e-06/0.2598, allocations: 0 / 1.091 GB, free: 14.49 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.078e-06/0.2598, allocations: 0 / 1.091 GB, free: 14.49 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.211e-05/0.2599, allocations: 23.98 kB / 1.091 GB, free: 14.46 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001582/0.26, allocations: 165.7 kB / 1.091 GB, free: 14.25 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001132/0.2602, allocations: 62.58 kB / 1.091 GB, free: 14.18 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.389e-05/0.2602, allocations: 24.86 kB / 1.091 GB, free: 14.16 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 2.369e-05/0.2602, allocations: 4.031 kB / 1.091 GB, free: 14.15 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.205e-05/0.2603, allocations: 34.5 kB / 1.091 GB, free: 14.11 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=6): time 3.466e-06/0.2603, allocations: 3.984 kB / 1.091 GB, free: 14.11 MB / 0.8575 GB Notification: Performance of matching and sorting (n=6): time 0.000193/0.2605, allocations: 81.56 kB / 1.091 GB, free: 14.02 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.948e-05/0.2605, allocations: 55.41 kB / 1.091 GB, free: 13.95 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.489e-05/0.2606, allocations: 93.86 kB / 1.091 GB, free: 13.85 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.466e-05/0.2606, allocations: 29.7 kB / 1.091 GB, free: 13.82 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 4.775e-05/0.2606, allocations: 80.14 kB / 1.091 GB, free: 13.73 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 3.374e-05/0.2607, allocations: 19.84 kB / 1.091 GB, free: 13.71 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.537e-05/0.2607, allocations: 17.72 kB / 1.091 GB, free: 13.69 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001043/0.2608, allocations: 318.8 kB / 1.092 GB, free: 13.37 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.017e-05/0.2609, allocations: 12.25 kB / 1.092 GB, free: 13.36 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.592e-05/0.2609, allocations: 15.94 kB / 1.092 GB, free: 13.34 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.157e-05/0.261, allocations: 40.97 kB / 1.092 GB, free: 13.3 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/0.261, allocations: 0 / 1.092 GB, free: 13.3 MB / 0.8575 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001059/0.2611, allocations: 69.64 kB / 1.092 GB, free: 13.23 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.474e-05/0.2611, allocations: 9.969 kB / 1.092 GB, free: 13.22 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.897e-06/0.2611, allocations: 0 / 1.092 GB, free: 13.22 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.188e-05/0.2611, allocations: 0 / 1.092 GB, free: 13.22 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001292/0.2613, allocations: 15.98 kB / 1.092 GB, free: 13.2 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.07e-06/0.2613, allocations: 0 / 1.092 GB, free: 13.2 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.262e-05/0.2613, allocations: 11.94 kB / 1.092 GB, free: 13.19 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.963e-06/0.2614, allocations: 0 / 1.092 GB, free: 13.19 MB / 0.8575 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.065e-05/0.2614, allocations: 113.8 kB / 1.092 GB, free: 13.07 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.624e-05/0.2615, allocations: 11.88 kB / 1.092 GB, free: 13.06 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001881/0.2617, allocations: 85.62 kB / 1.092 GB, free: 12.96 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.264e-06/0.2617, allocations: 0 / 1.092 GB, free: 12.96 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.621e-06/0.2617, allocations: 4 kB / 1.092 GB, free: 12.96 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.314e-06/0.2617, allocations: 0 / 1.092 GB, free: 12.96 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001213/0.2618, allocations: 169.6 kB / 1.092 GB, free: 12.75 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.333e-06/0.2618, allocations: 0 / 1.092 GB, free: 12.75 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001004/0.2619, allocations: 19.92 kB / 1.092 GB, free: 12.73 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.168e-06/0.2619, allocations: 3.938 kB / 1.092 GB, free: 12.72 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.837e-06/0.262, allocations: 4 kB / 1.092 GB, free: 12.72 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.482e-06/0.262, allocations: 0 / 1.092 GB, free: 12.72 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.294e-06/0.262, allocations: 4 kB / 1.092 GB, free: 12.71 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000141/0.2621, allocations: 85.31 kB / 1.092 GB, free: 12.61 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 6.538e-05/0.2622, allocations: 89.09 kB / 1.092 GB, free: 12.51 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.781e-05/0.2622, allocations: 15.88 kB / 1.093 GB, free: 12.49 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.562e-05/0.2623, allocations: 0 / 1.093 GB, free: 12.49 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.037e-05/0.2623, allocations: 7.984 kB / 1.093 GB, free: 12.48 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.99e-06/0.2623, allocations: 0 / 1.093 GB, free: 12.48 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 2.975e-05/0.2623, allocations: 79.28 kB / 1.093 GB, free: 12.41 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2623, allocations: 0 / 1.093 GB, free: 12.41 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002045/0.2626, allocations: 12 kB / 1.093 GB, free: 12.39 MB / 0.8575 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.0003905/0.263, allocations: 0.6443 MB / 1.093 GB, free: 11.72 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0001203/0.2631, allocations: 35.97 kB / 1.093 GB, free: 11.69 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.755e-06/0.2631, allocations: 7.938 kB / 1.093 GB, free: 11.68 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 3.754e-05/0.2631, allocations: 16 kB / 1.093 GB, free: 11.66 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002403/0.2634, allocations: 8 kB / 1.093 GB, free: 11.66 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004269/0.2638, allocations: 164.3 kB / 1.093 GB, free: 11.46 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002219/0.2641, allocations: 0.6768 MB / 1.094 GB, free: 10.75 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 4.912e-05/0.2641, allocations: 8.234 kB / 1.094 GB, free: 10.75 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.266e-05/0.2642, allocations: 19.42 kB / 1.094 GB, free: 10.73 MB / 0.8575 GB Notification: Performance of SimCode: time 1.844e-06/0.2642, allocations: 0 / 1.094 GB, free: 10.73 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01556/0.2797, allocations: 1.429 MB / 1.096 GB, free: 9.445 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.392/7.672, allocations: 13.17 kB / 1.096 GB, free: 9.434 MB / 0.8575 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