Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0008828/0.0008828, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0009043/0.0009043, allocations: 169.9 kB / 22.46 MB, free: 2.105 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9117/0.9117, allocations: 177.1 MB / 202.8 MB, free: 5.73 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 1.801/1.801, allocations: 389 MB / 0.633 GB, free: 12.69 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi,fileNamePrefix="Buildings_latest_Buildings_Utilities_Psychrometrics_Functions_Examples_pW_TDewPoi",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi,fileNamePrefix="Buildings_latest_Buildings_Utilities_Psychrometrics_Functions_Examples_pW_TDewPoi",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.163e-06/1.163e-06, allocations: 0 / 0.9997 GB, free: 13.52 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.109e-05/1.225e-05, allocations: 2.281 kB / 0.9997 GB, free: 13.52 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi): time 0.001392/0.001404, allocations: 1.292 MB / 1.001 GB, free: 12.21 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.001021/0.002425, allocations: 0.8542 MB / 1.002 GB, free: 11.36 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.887e-05/0.002444, allocations: 0 / 1.002 GB, free: 11.36 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 1.843e-05/0.002462, allocations: 3.984 kB / 1.002 GB, free: 11.35 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 3.41e-05/0.002496, allocations: 7.922 kB / 1.002 GB, free: 11.34 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004405/0.002937, allocations: 205.7 kB / 1.002 GB, free: 11.14 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 4.632e-05/0.002983, allocations: 15.94 kB / 1.002 GB, free: 11.13 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 3.083e-05/0.003014, allocations: 0 / 1.002 GB, free: 11.13 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 4.183e-05/0.003056, allocations: 15.92 kB / 1.002 GB, free: 11.11 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 3.756e-05/0.003093, allocations: 7.984 kB / 1.002 GB, free: 11.11 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 1.169e-05/0.003105, allocations: 7.984 kB / 1.002 GB, free: 11.1 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002434/0.003348, allocations: 227.6 kB / 1.002 GB, free: 10.88 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 1.016e-05/0.003358, allocations: 3.984 kB / 1.002 GB, free: 10.87 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 1.54e-05/0.003374, allocations: 7.938 kB / 1.002 GB, free: 10.86 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.000205/0.003579, allocations: 195.5 kB / 1.002 GB, free: 10.67 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 1.613e-06/0.00358, allocations: 4 kB / 1.002 GB, free: 10.67 MB / 0.9636 GB Notification: Performance of FrontEnd: time 7.71e-07/0.003581, allocations: 0 / 1.002 GB, free: 10.67 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 3.276e-06/0.003585, allocations: 4 kB / 1.002 GB, free: 10.66 MB / 0.9636 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.0002753/0.00386, allocations: 278.1 kB / 1.003 GB, free: 10.36 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 3.194e-05/0.003892, allocations: 8.75 kB / 1.003 GB, free: 10.36 MB / 0.9636 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.287e-05/0.003915, allocations: 30.75 kB / 1.003 GB, free: 10.32 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001552/0.00407, allocations: 24.86 kB / 1.003 GB, free: 10.29 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.733e-05/0.004127, allocations: 105.8 kB / 1.003 GB, free: 10.16 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.857e-06/0.004136, allocations: 4.375 kB / 1.003 GB, free: 10.16 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.652e-06/0.004143, allocations: 8.312 kB / 1.003 GB, free: 10.15 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.499e-05/0.004238, allocations: 79.64 kB / 1.003 GB, free: 10.06 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.792e-06/0.004244, allocations: 3.984 kB / 1.003 GB, free: 10.06 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.805e-06/0.004252, allocations: 0 / 1.003 GB, free: 10.06 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.617e-06/0.004256, allocations: 0 / 1.003 GB, free: 10.06 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.741e-05/0.004293, allocations: 16 kB / 1.003 GB, free: 10.04 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001039/0.004397, allocations: 128.7 kB / 1.003 GB, free: 9.875 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004518/0.004849, allocations: 134.5 kB / 1.003 GB, free: 9.734 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.499e-05/0.004874, allocations: 20.91 kB / 1.003 GB, free: 9.711 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 6.398e-05/0.004938, allocations: 8 kB / 1.003 GB, free: 9.703 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.783e-05/0.004956, allocations: 42.44 kB / 1.003 GB, free: 9.652 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=4): time 9.02e-07/0.004957, allocations: 3.938 kB / 1.003 GB, free: 9.648 MB / 0.9636 GB Notification: Performance of matching and sorting (n=4): time 0.0001234/0.00508, allocations: 61.67 kB / 1.003 GB, free: 9.582 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.141e-05/0.005102, allocations: 51.41 kB / 1.003 GB, free: 9.52 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.349e-05/0.005135, allocations: 93.86 kB / 1.003 GB, free: 9.418 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 1.011e-05/0.005145, allocations: 29.7 kB / 1.004 GB, free: 9.383 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 1.706e-05/0.005162, allocations: 84.27 kB / 1.004 GB, free: 9.297 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 2.006e-05/0.005182, allocations: 11.91 kB / 1.004 GB, free: 9.285 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.58e-05/0.005208, allocations: 21.7 kB / 1.004 GB, free: 9.258 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 6.358e-05/0.005272, allocations: 310.8 kB / 1.004 GB, free: 8.945 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.441e-05/0.005286, allocations: 8 kB / 1.004 GB, free: 8.938 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.136e-05/0.005297, allocations: 4.188 kB / 1.004 GB, free: 8.934 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.136e-05/0.005339, allocations: 36.86 kB / 1.004 GB, free: 8.895 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.413e-06/0.00534, allocations: 0 / 1.004 GB, free: 8.895 MB / 0.9636 GB Notification: Performance of matching and sorting (n=4) (initialization): time 5.178e-05/0.005392, allocations: 53.69 kB / 1.004 GB, free: 8.836 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.066e-05/0.005403, allocations: 7.938 kB / 1.004 GB, free: 8.828 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.376e-06/0.005406, allocations: 0 / 1.004 GB, free: 8.828 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.988e-06/0.005416, allocations: 8 kB / 1.004 GB, free: 8.82 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.365e-05/0.00545, allocations: 7.984 kB / 1.004 GB, free: 8.812 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.998e-06/0.005454, allocations: 0 / 1.004 GB, free: 8.812 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.397e-05/0.005468, allocations: 0 / 1.004 GB, free: 8.812 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.14e-06/0.005473, allocations: 4 kB / 1.004 GB, free: 8.809 MB / 0.9636 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 4.589e-05/0.005519, allocations: 113.8 kB / 1.004 GB, free: 8.688 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.985e-06/0.005527, allocations: 15.83 kB / 1.004 GB, free: 8.672 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001464/0.005673, allocations: 77.2 kB / 1.004 GB, free: 8.582 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.573e-06/0.005675, allocations: 0 / 1.004 GB, free: 8.582 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.296e-06/0.005678, allocations: 0 / 1.004 GB, free: 8.582 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.276e-06/0.005681, allocations: 3.984 kB / 1.004 GB, free: 8.578 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.357e-05/0.005745, allocations: 128.7 kB / 1.004 GB, free: 8.41 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.22e-07/0.005746, allocations: 0 / 1.004 GB, free: 8.41 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.304e-05/0.005769, allocations: 8 kB / 1.004 GB, free: 8.402 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.138e-06/0.005773, allocations: 7.922 kB / 1.004 GB, free: 8.395 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.41e-06/0.005778, allocations: 0 / 1.004 GB, free: 8.395 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.52e-07/0.005779, allocations: 4 kB / 1.004 GB, free: 8.391 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.533e-06/0.005781, allocations: 4.062 kB / 1.004 GB, free: 8.387 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.476e-05/0.005845, allocations: 89.06 kB / 1.004 GB, free: 8.281 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 1.912e-05/0.005864, allocations: 0 / 1.004 GB, free: 8.281 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.777e-06/0.005873, allocations: 7.938 kB / 1.004 GB, free: 8.273 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.173e-05/0.005895, allocations: 3.938 kB / 1.004 GB, free: 8.27 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.242e-05/0.005907, allocations: 7.984 kB / 1.004 GB, free: 8.262 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.188e-06/0.005912, allocations: 4 kB / 1.005 GB, free: 8.258 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 1.822e-05/0.00593, allocations: 75.28 kB / 1.005 GB, free: 8.184 MB / 0.9636 GB Notification: Performance of sort global known variables: time 5e-08/0.00593, allocations: 0 / 1.005 GB, free: 8.184 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.0003944/0.006324, allocations: 51.95 kB / 1.005 GB, free: 8.133 MB / 0.9636 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.0003283/0.006653, allocations: 0.6942 MB / 1.005 GB, free: 7.41 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 6.903e-05/0.006722, allocations: 27.98 kB / 1.005 GB, free: 7.383 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 1.383e-06/0.006723, allocations: 0 / 1.005 GB, free: 7.383 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 1.546e-05/0.006738, allocations: 16 kB / 1.005 GB, free: 7.367 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001126/0.006851, allocations: 7.922 kB / 1.005 GB, free: 7.359 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003116/0.007163, allocations: 170.3 kB / 1.006 GB, free: 7.152 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.114e-05/0.007194, allocations: 67.36 kB / 1.006 GB, free: 7.066 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 3.676e-05/0.007231, allocations: 11.97 kB / 1.006 GB, free: 7.055 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.762e-05/0.007258, allocations: 16.5 kB / 1.006 GB, free: 7.039 MB / 0.9636 GB Notification: Performance of SimCode: time 2.81e-07/0.007258, allocations: 0 / 1.006 GB, free: 7.039 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01356/0.02082, allocations: 2.714 MB / 1.008 GB, free: 4.465 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.148/7.169, allocations: 14.45 kB / 1.008 GB, free: 4.453 MB / 0.9636 GB " [Timeout remaining time 293] (rm -f Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi.pipe >> ../files/Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi.sim & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi_res.csv --start-time 0 --stop-time 1 --timeout 800 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_latest_Buildings_Utilities_Psychrometrics_Functions_Examples_pW_TDewPoi.fmu > Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Psychrometrics_Functions_Examples_pW_TDewPoi.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 11.363631610758603]