Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi.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,fileNamePrefix="Buildings_9_Buildings_Utilities_Psychrometrics_Functions_Examples_pW_TDewPoi",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi,fileNamePrefix="Buildings_9_Buildings_Utilities_Psychrometrics_Functions_Examples_pW_TDewPoi",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.004694/0.004694, allocations: 105 kB / 15.73 MB, free: 6.043 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.00114/0.00114, allocations: 191.1 kB / 16.67 MB, free: 5.977 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.336/1.336, 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 9.1.3-maint.9.1.x/package.mo): time 2.52/2.52, allocations: 390.2 MB / 0.6648 GB, free: 192 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001434/0.001434, allocations: 71.44 kB / 0.9504 GB, free: 5.938 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.26/0.2614, allocations: 140.4 MB / 1.087 GB, free: 1.965 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi): time 0.002601/0.2641, allocations: 1.262 MB / 1.089 GB, free: 0.6914 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.00146/0.2655, allocations: 0.8631 MB / 1.09 GB, free: 15.82 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.472e-05/0.2656, allocations: 3.938 kB / 1.09 GB, free: 15.82 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 1.759e-05/0.2656, allocations: 0 / 1.09 GB, free: 15.82 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 5.364e-05/0.2657, allocations: 7.922 kB / 1.09 GB, free: 15.81 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.000729/0.2664, allocations: 194.2 kB / 1.09 GB, free: 15.62 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 6.278e-05/0.2665, allocations: 19.92 kB / 1.09 GB, free: 15.61 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 3.937e-05/0.2665, allocations: 0 / 1.09 GB, free: 15.61 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 3.469e-05/0.2666, allocations: 8 kB / 1.09 GB, free: 15.6 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 5.386e-05/0.2666, allocations: 11.94 kB / 1.09 GB, free: 15.59 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 9.357e-06/0.2667, allocations: 0 / 1.09 GB, free: 15.59 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000394/0.2671, allocations: 237.7 kB / 1.09 GB, free: 15.36 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 1.637e-05/0.2671, allocations: 7.984 kB / 1.09 GB, free: 15.35 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 2.928e-05/0.2671, allocations: 8 kB / 1.09 GB, free: 15.34 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.000304/0.2674, allocations: 147.8 kB / 1.09 GB, free: 15.2 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.058e-06/0.2674, allocations: 0 / 1.09 GB, free: 15.2 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.172e-06/0.2674, allocations: 0 / 1.09 GB, free: 15.2 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 6.422e-06/0.2675, allocations: 0 / 1.09 GB, free: 15.2 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0004299/0.2679, allocations: 372.2 kB / 1.091 GB, free: 14.79 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.993e-05/0.2679, allocations: 8.031 kB / 1.091 GB, free: 14.78 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.085e-05/0.268, allocations: 30.75 kB / 1.091 GB, free: 14.74 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001795/0.2682, allocations: 8.922 kB / 1.091 GB, free: 14.73 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001077/0.2683, allocations: 164.4 kB / 1.091 GB, free: 14.53 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.065e-05/0.2683, allocations: 4.375 kB / 1.091 GB, free: 14.53 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.654e-05/0.2683, allocations: 7.938 kB / 1.091 GB, free: 14.52 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001209/0.2684, allocations: 41.69 kB / 1.091 GB, free: 14.47 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.038e-05/0.2685, allocations: 3.984 kB / 1.091 GB, free: 14.47 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.032e-05/0.2685, allocations: 7.938 kB / 1.091 GB, free: 14.46 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.867e-06/0.2685, allocations: 0 / 1.091 GB, free: 14.46 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.612e-05/0.2685, allocations: 19.94 kB / 1.091 GB, free: 14.44 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001557/0.2687, allocations: 157.6 kB / 1.091 GB, free: 14.24 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009346/0.2697, allocations: 138.5 kB / 1.091 GB, free: 14.09 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.379e-05/0.2697, allocations: 24.84 kB / 1.091 GB, free: 14.07 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001043/0.2698, allocations: 85.09 kB / 1.091 GB, free: 13.96 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.655e-05/0.2699, allocations: 30.56 kB / 1.091 GB, free: 13.93 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=4): time 1.312e-06/0.2699, allocations: 0 / 1.091 GB, free: 13.93 MB / 0.8575 GB Notification: Performance of matching and sorting (n=4): time 0.0001789/0.27, allocations: 65.61 kB / 1.091 GB, free: 13.86 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.489e-05/0.2701, allocations: 55.41 kB / 1.091 GB, free: 13.79 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.061e-05/0.2702, allocations: 97.86 kB / 1.091 GB, free: 13.68 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.554e-05/0.2702, allocations: 25.7 kB / 1.091 GB, free: 13.65 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 2.43e-05/0.2702, allocations: 80.14 kB / 1.092 GB, free: 13.57 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 3.133e-05/0.2702, allocations: 15.75 kB / 1.092 GB, free: 13.55 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.653e-05/0.2703, allocations: 21.7 kB / 1.092 GB, free: 13.53 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 9.428e-05/0.2704, allocations: 310.8 kB / 1.092 GB, free: 13.21 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.27e-05/0.2704, allocations: 8 kB / 1.092 GB, free: 13.21 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.233e-05/0.2704, allocations: 7.984 kB / 1.092 GB, free: 13.2 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.171e-05/0.2705, allocations: 28.98 kB / 1.092 GB, free: 13.17 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.683e-06/0.2705, allocations: 0 / 1.092 GB, free: 13.17 MB / 0.8575 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.159e-05/0.2706, allocations: 61.56 kB / 1.092 GB, free: 13.1 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.364e-05/0.2706, allocations: 4 kB / 1.092 GB, free: 13.1 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.819e-06/0.2706, allocations: 0 / 1.092 GB, free: 13.1 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.323e-05/0.2706, allocations: 0 / 1.092 GB, free: 13.1 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.891e-05/0.2707, allocations: 8 kB / 1.092 GB, free: 13.09 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.867e-06/0.2707, allocations: 7.969 kB / 1.092 GB, free: 13.08 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.878e-05/0.2708, allocations: 0 / 1.092 GB, free: 13.08 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.779e-06/0.2708, allocations: 8 kB / 1.092 GB, free: 13.07 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 (4): * Single equations (assignments): 4 * 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.088e-05/0.2709, allocations: 113.8 kB / 1.092 GB, free: 12.95 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.15e-05/0.2709, allocations: 0 / 1.092 GB, free: 12.95 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002691/0.2712, allocations: 85.05 kB / 1.092 GB, free: 12.86 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.245e-06/0.2712, allocations: 3.938 kB / 1.092 GB, free: 12.86 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.388e-06/0.2712, allocations: 4 kB / 1.092 GB, free: 12.85 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.765e-06/0.2712, allocations: 0 / 1.092 GB, free: 12.85 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001159/0.2713, allocations: 161.6 kB / 1.092 GB, free: 12.64 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.372e-06/0.2713, allocations: 0 / 1.092 GB, free: 12.64 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.445e-05/0.2714, allocations: 11.98 kB / 1.092 GB, free: 12.63 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.374e-06/0.2714, allocations: 0 / 1.092 GB, free: 12.63 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.384e-06/0.2714, allocations: 0 / 1.092 GB, free: 12.63 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.956e-06/0.2714, allocations: 4.062 kB / 1.092 GB, free: 12.63 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.82e-07/0.2714, allocations: 0 / 1.092 GB, free: 12.63 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001217/0.2715, allocations: 96.91 kB / 1.092 GB, free: 12.52 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 5.713e-05/0.2716, allocations: 85.11 kB / 1.093 GB, free: 12.41 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.297e-05/0.2716, allocations: 3.984 kB / 1.093 GB, free: 12.41 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.645e-05/0.2717, allocations: 0 / 1.093 GB, free: 12.41 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.039e-05/0.2717, allocations: 4 kB / 1.093 GB, free: 12.41 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.229e-06/0.2717, allocations: 0 / 1.093 GB, free: 12.41 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 2.937e-05/0.2717, allocations: 75.28 kB / 1.093 GB, free: 12.33 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.11e-07/0.2718, allocations: 0 / 1.093 GB, free: 12.33 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002543/0.272, allocations: 55.98 kB / 1.093 GB, free: 12.28 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 (5): * Single equations (assignments): 5 * 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.0006178/0.2726, allocations: 0.6949 MB / 1.093 GB, free: 11.56 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0001135/0.2728, allocations: 27.92 kB / 1.093 GB, free: 11.54 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 3.727e-06/0.2728, allocations: 4 kB / 1.093 GB, free: 11.53 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 2.844e-05/0.2728, allocations: 12 kB / 1.093 GB, free: 11.52 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001676/0.273, allocations: 11.94 kB / 1.093 GB, free: 11.51 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004707/0.2735, allocations: 176.2 kB / 1.094 GB, free: 11.3 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002246/0.2737, allocations: 0.6768 MB / 1.094 GB, free: 10.59 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 5.464e-05/0.2738, allocations: 15.98 kB / 1.094 GB, free: 10.58 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.699e-05/0.2738, allocations: 15.38 kB / 1.094 GB, free: 10.56 MB / 0.8575 GB Notification: Performance of SimCode: time 3.1e-07/0.2738, allocations: 0 / 1.094 GB, free: 10.56 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01969/0.2935, allocations: 1.962 MB / 1.096 GB, free: 8.719 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.281/7.575, allocations: 7.922 kB / 1.096 GB, free: 8.711 MB / 0.8575 GB (rm -f Buildings_9_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi.pipe ; mkfifo Buildings_9_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi.pipe >> ../files/Buildings_9_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi.sim & python3 -m fmpy simulate --output-file Buildings_9_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi_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.fmu > Buildings_9_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Utilities_Psychrometrics_Functions_Examples_pW_TDewPoi.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches