Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 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,fileNamePrefix="Buildings_10_Buildings_Utilities_Psychrometrics_Functions_Examples_pW_TDewPoi",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi,fileNamePrefix="Buildings_10_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.005838/0.005838, allocations: 98.38 kB / 15.73 MB, free: 6.008 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.001107/0.001107, allocations: 191.1 kB / 16.67 MB, free: 5.934 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.377/1.377, allocations: 222.9 MB / 240.4 MB, free: 15.15 MB / 206.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.697/2.697, allocations: 437 MB / 0.7105 GB, free: 4.34 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001475/0.001475, allocations: 59.91 kB / 1.018 GB, free: 9.895 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7491/0.7506, allocations: 151.6 MB / 1.166 GB, free: 3.918 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi): time 0.002429/0.753, allocations: 1.27 MB / 1.167 GB, free: 2.641 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.001488/0.7545, allocations: 0.8638 MB / 1.168 GB, free: 1.773 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.067e-05/0.7546, allocations: 0 / 1.168 GB, free: 1.773 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 1.892e-05/0.7546, allocations: 3.984 kB / 1.168 GB, free: 1.77 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 4.404e-05/0.7547, allocations: 3.938 kB / 1.168 GB, free: 1.766 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006996/0.7554, allocations: 202.3 kB / 1.168 GB, free: 1.57 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 5.812e-05/0.7555, allocations: 15.94 kB / 1.168 GB, free: 1.555 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 4.113e-05/0.7555, allocations: 11.97 kB / 1.168 GB, free: 1.543 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 3.588e-05/0.7555, allocations: 11.94 kB / 1.168 GB, free: 1.531 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 4.614e-05/0.7556, allocations: 4 kB / 1.168 GB, free: 1.527 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 1.093e-05/0.7556, allocations: 4 kB / 1.168 GB, free: 1.523 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004033/0.756, allocations: 231.7 kB / 1.169 GB, free: 1.297 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 1.609e-05/0.7561, allocations: 11.97 kB / 1.169 GB, free: 1.285 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 2.593e-05/0.7561, allocations: 7.938 kB / 1.169 GB, free: 1.277 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.0003071/0.7564, allocations: 147.8 kB / 1.169 GB, free: 1.141 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 4.799e-06/0.7564, allocations: 0 / 1.169 GB, free: 1.141 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.623e-06/0.7564, allocations: 0 / 1.169 GB, free: 1.141 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 6.522e-06/0.7564, allocations: 0 / 1.169 GB, free: 1.141 MB / 0.8887 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.0004445/0.7569, allocations: 363.2 kB / 1.169 GB, free: 0.7383 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 4.331e-05/0.7569, allocations: 8.922 kB / 1.169 GB, free: 0.7305 MB / 0.8887 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.558e-05/0.757, allocations: 34.69 kB / 1.169 GB, free: 0.6875 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001783/0.7572, allocations: 12.92 kB / 1.169 GB, free: 0.6758 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001009/0.7573, allocations: 164.3 kB / 1.169 GB, free: 488 kB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.098e-05/0.7573, allocations: 4.375 kB / 1.169 GB, free: 484 kB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.036e-05/0.7573, allocations: 3.938 kB / 1.169 GB, free: 480 kB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001091/0.7574, allocations: 41.69 kB / 1.169 GB, free: 432 kB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.674e-06/0.7574, allocations: 4 kB / 1.169 GB, free: 428 kB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.121e-05/0.7574, allocations: 4 kB / 1.169 GB, free: 424 kB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.21e-06/0.7575, allocations: 3.984 kB / 1.169 GB, free: 420 kB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.267e-05/0.7575, allocations: 12 kB / 1.169 GB, free: 408 kB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001579/0.7577, allocations: 161.6 kB / 1.17 GB, free: 196 kB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000949/0.7586, allocations: 134.5 kB / 1.17 GB, free: 52 kB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.151e-05/0.7587, allocations: 24.84 kB / 1.17 GB, free: 24 kB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001151/0.7588, allocations: 81.11 kB / 1.17 GB, free: 15.93 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.706e-05/0.7589, allocations: 34.56 kB / 1.17 GB, free: 15.88 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=4): time 1.182e-06/0.7589, allocations: 0 / 1.17 GB, free: 15.88 MB / 0.9044 GB Notification: Performance of matching and sorting (n=4): time 0.0001714/0.759, allocations: 69.56 kB / 1.17 GB, free: 15.81 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.478e-05/0.7591, allocations: 59.34 kB / 1.17 GB, free: 15.74 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.862e-05/0.7591, allocations: 93.86 kB / 1.17 GB, free: 15.64 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 1.428e-05/0.7592, allocations: 25.7 kB / 1.17 GB, free: 15.61 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 2.651e-05/0.7592, allocations: 84.12 kB / 1.17 GB, free: 15.52 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 2.6e-05/0.7592, allocations: 7.953 kB / 1.17 GB, free: 15.51 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.231e-05/0.7593, allocations: 25.66 kB / 1.17 GB, free: 15.48 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001091/0.7594, allocations: 310.8 kB / 1.171 GB, free: 15.17 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.286e-05/0.7594, allocations: 8 kB / 1.171 GB, free: 15.16 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.862e-05/0.7594, allocations: 8 kB / 1.171 GB, free: 15.15 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.531e-05/0.7595, allocations: 40.91 kB / 1.171 GB, free: 15.11 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/0.7595, allocations: 0 / 1.171 GB, free: 15.11 MB / 0.9044 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.927e-05/0.7596, allocations: 57.84 kB / 1.171 GB, free: 15.05 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.226e-05/0.7596, allocations: 4 kB / 1.171 GB, free: 15.04 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.187e-06/0.7596, allocations: 0 / 1.171 GB, free: 15.04 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.33e-05/0.7597, allocations: 4 kB / 1.171 GB, free: 15.04 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.739e-05/0.7597, allocations: 4.047 kB / 1.171 GB, free: 15.04 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.9e-06/0.7597, allocations: 0 / 1.171 GB, free: 15.04 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.475e-05/0.7598, allocations: 11.97 kB / 1.171 GB, free: 15.02 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.864e-06/0.7598, allocations: 4 kB / 1.171 GB, free: 15.02 MB / 0.9044 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 7.17e-05/0.7599, allocations: 113.8 kB / 1.171 GB, free: 14.9 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.303e-05/0.7599, allocations: 4 kB / 1.171 GB, free: 14.89 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002476/0.7601, allocations: 77.11 kB / 1.171 GB, free: 14.8 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.414e-06/0.7601, allocations: 4 kB / 1.171 GB, free: 14.8 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.018e-06/0.7602, allocations: 0 / 1.171 GB, free: 14.8 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.766e-06/0.7602, allocations: 0 / 1.171 GB, free: 14.8 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001173/0.7603, allocations: 165.5 kB / 1.171 GB, free: 14.59 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.122e-06/0.7603, allocations: 0 / 1.171 GB, free: 14.59 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.639e-05/0.7604, allocations: 11.98 kB / 1.171 GB, free: 14.58 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.993e-06/0.7604, allocations: 0 / 1.171 GB, free: 14.58 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.696e-06/0.7604, allocations: 0 / 1.171 GB, free: 14.58 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.353e-06/0.7604, allocations: 0 / 1.171 GB, free: 14.58 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.31e-07/0.7604, allocations: 0 / 1.171 GB, free: 14.58 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001295/0.7605, allocations: 105 kB / 1.171 GB, free: 14.46 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 4.976e-05/0.7606, allocations: 81.11 kB / 1.171 GB, free: 14.36 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.434e-05/0.7606, allocations: 0 / 1.171 GB, free: 14.36 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.294e-05/0.7607, allocations: 7.922 kB / 1.171 GB, free: 14.35 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.668e-05/0.7607, allocations: 4 kB / 1.171 GB, free: 14.35 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.681e-06/0.7607, allocations: 0 / 1.171 GB, free: 14.35 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 3.503e-05/0.7607, allocations: 79.28 kB / 1.171 GB, free: 14.27 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.2e-07/0.7607, allocations: 0 / 1.171 GB, free: 14.27 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.000276/0.761, allocations: 55.95 kB / 1.171 GB, free: 14.21 MB / 0.9044 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.0006297/0.7617, allocations: 0.6875 MB / 1.172 GB, free: 13.5 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0001092/0.7618, allocations: 31.92 kB / 1.172 GB, free: 13.47 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.7618, allocations: 4 kB / 1.172 GB, free: 13.47 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 3.008e-05/0.7618, allocations: 16 kB / 1.172 GB, free: 13.45 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001604/0.762, allocations: 0 / 1.172 GB, free: 13.45 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004582/0.7625, allocations: 172 kB / 1.172 GB, free: 13.25 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002515/0.7627, allocations: 0.6807 MB / 1.173 GB, free: 12.54 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 5.659e-05/0.7628, allocations: 12 kB / 1.173 GB, free: 12.53 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.88e-05/0.7628, allocations: 11.42 kB / 1.173 GB, free: 12.52 MB / 0.9044 GB Notification: Performance of SimCode: time 2.81e-07/0.7628, allocations: 0 / 1.173 GB, free: 12.52 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01788/0.7807, allocations: 1.976 MB / 1.175 GB, free: 10.66 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.768/8.549, allocations: 13.09 kB / 1.175 GB, free: 10.66 MB / 0.9044 GB (rm -f Buildings_10_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi.pipe ; mkfifo Buildings_10_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi.pipe ; head -c 1048576 < Buildings_10_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi.pipe >> ../files/Buildings_10_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi.sim & python3 -m fmpy simulate --output-file Buildings_10_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_10_Buildings_Utilities_Psychrometrics_Functions_Examples_pW_TDewPoi.fmu > Buildings_10_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Utilities_Psychrometrics_Functions_Examples_pW_TDewPoi.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches