Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.00147/0.00147, allocations: 111 kB / 16.46 MB, free: 6.453 MB / 14.72 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.001521/0.001521, allocations: 213.7 kB / 19.43 MB, free: 3.625 MB / 14.72 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 1.55/1.55, allocations: 230.6 MB / 252.8 MB, free: 8.98 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.814/2.814, allocations: 476.7 MB / 0.7672 GB, free: 5.242 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/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_11_Buildings_Utilities_Psychrometrics_Functions_Examples_pW_TDewPoi",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi,fileNamePrefix="Buildings_11_Buildings_Utilities_Psychrometrics_Functions_Examples_pW_TDewPoi",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002094/0.002094, allocations: 71.89 kB / 1.112 GB, free: 1.582 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9452/0.9473, allocations: 169.9 MB / 1.278 GB, free: 13.46 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi): time 0.0027/0.95, allocations: 1.299 MB / 1.28 GB, free: 12.16 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001666/0.9517, allocations: 0.9176 MB / 1.28 GB, free: 11.23 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.387e-05/0.9517, allocations: 0 / 1.28 GB, free: 11.23 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 2.128e-05/0.9517, allocations: 11.88 kB / 1.28 GB, free: 11.22 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 4.327e-05/0.9517, allocations: 3.984 kB / 1.28 GB, free: 11.22 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007575/0.9525, allocations: 207.5 kB / 1.281 GB, free: 11.02 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 6.436e-05/0.9526, allocations: 15.88 kB / 1.281 GB, free: 11.01 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 4.388e-05/0.9526, allocations: 8 kB / 1.281 GB, free: 11 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 4.531e-05/0.9527, allocations: 11.98 kB / 1.281 GB, free: 10.99 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 5.86e-05/0.9527, allocations: 7.938 kB / 1.281 GB, free: 10.98 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.046e-05/0.9527, allocations: 4 kB / 1.281 GB, free: 10.98 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004211/0.9531, allocations: 247.7 kB / 1.281 GB, free: 10.73 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 1.227e-05/0.9532, allocations: 3.984 kB / 1.281 GB, free: 10.73 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 2.174e-05/0.9532, allocations: 7.938 kB / 1.281 GB, free: 10.72 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0003185/0.9535, allocations: 161.6 kB / 1.281 GB, free: 10.57 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.589e-06/0.9535, allocations: 0 / 1.281 GB, free: 10.57 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.172e-06/0.9535, allocations: 0 / 1.281 GB, free: 10.57 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 5.721e-06/0.9535, allocations: 0 / 1.281 GB, free: 10.57 MB / 0.9825 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.0005278/0.954, allocations: 359.2 kB / 1.281 GB, free: 10.17 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.563e-05/0.9541, allocations: 16.03 kB / 1.281 GB, free: 10.15 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.473e-05/0.9541, allocations: 30.75 kB / 1.281 GB, free: 10.11 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000279/0.9544, allocations: 24.86 kB / 1.281 GB, free: 10.09 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001295/0.9545, allocations: 164.3 kB / 1.282 GB, free: 9.891 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.618e-06/0.9545, allocations: 384 / 1.282 GB, free: 9.891 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.331e-05/0.9546, allocations: 11.88 kB / 1.282 GB, free: 9.879 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001172/0.9547, allocations: 45.67 kB / 1.282 GB, free: 9.828 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.652e-06/0.9547, allocations: 0 / 1.282 GB, free: 9.828 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.281e-05/0.9547, allocations: 4 kB / 1.282 GB, free: 9.824 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.218e-06/0.9547, allocations: 4 kB / 1.282 GB, free: 9.82 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.559e-05/0.9548, allocations: 15.98 kB / 1.282 GB, free: 9.805 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001898/0.9549, allocations: 153.7 kB / 1.282 GB, free: 9.605 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00096/0.9559, allocations: 134.5 kB / 1.282 GB, free: 9.465 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.043e-05/0.9559, allocations: 20.84 kB / 1.282 GB, free: 9.441 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001299/0.9561, allocations: 85.11 kB / 1.282 GB, free: 9.34 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.606e-05/0.9561, allocations: 34.56 kB / 1.282 GB, free: 9.297 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=4): time 1.212e-06/0.9561, allocations: 0 / 1.282 GB, free: 9.297 MB / 0.9825 GB Notification: Performance of matching and sorting (n=4): time 0.0001843/0.9563, allocations: 65.61 kB / 1.282 GB, free: 9.227 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.641e-05/0.9563, allocations: 51.41 kB / 1.282 GB, free: 9.164 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000174/0.9565, allocations: 89.95 kB / 1.282 GB, free: 9.066 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.954e-05/0.9565, allocations: 37.73 kB / 1.282 GB, free: 9.023 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 4.113e-05/0.9566, allocations: 80.14 kB / 1.282 GB, free: 8.941 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 3.247e-05/0.9566, allocations: 15.83 kB / 1.282 GB, free: 8.926 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.145e-05/0.9566, allocations: 17.72 kB / 1.282 GB, free: 8.902 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001664/0.9568, allocations: 310.8 kB / 1.283 GB, free: 8.59 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.537e-05/0.9568, allocations: 8 kB / 1.283 GB, free: 8.582 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.064e-05/0.9569, allocations: 11.98 kB / 1.283 GB, free: 8.57 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.431e-05/0.9569, allocations: 20.86 kB / 1.283 GB, free: 8.547 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.577e-06/0.9569, allocations: 8 kB / 1.283 GB, free: 8.539 MB / 0.9825 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.547e-05/0.957, allocations: 57.56 kB / 1.283 GB, free: 8.477 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.963e-05/0.957, allocations: 11.98 kB / 1.283 GB, free: 8.465 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.2e-06/0.957, allocations: 0 / 1.283 GB, free: 8.465 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.395e-05/0.9571, allocations: 0 / 1.283 GB, free: 8.465 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.601e-05/0.9571, allocations: 4 kB / 1.283 GB, free: 8.461 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.079e-06/0.9571, allocations: 4 kB / 1.283 GB, free: 8.457 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.955e-05/0.9571, allocations: 3.938 kB / 1.283 GB, free: 8.453 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.841e-06/0.9571, allocations: 0 / 1.283 GB, free: 8.453 MB / 0.9825 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 9.624e-05/0.9572, allocations: 121.8 kB / 1.283 GB, free: 8.324 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.276e-05/0.9573, allocations: 7.891 kB / 1.283 GB, free: 8.316 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002609/0.9575, allocations: 77.48 kB / 1.283 GB, free: 8.227 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.144e-05/0.9575, allocations: 8 kB / 1.283 GB, free: 8.219 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.607e-06/0.9575, allocations: 0 / 1.283 GB, free: 8.219 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.338e-06/0.9575, allocations: 7.984 kB / 1.283 GB, free: 8.211 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001569/0.9577, allocations: 165.6 kB / 1.283 GB, free: 8 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.22e-07/0.9577, allocations: 0 / 1.283 GB, free: 8 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.397e-05/0.9578, allocations: 8 kB / 1.283 GB, free: 7.992 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.523e-06/0.9578, allocations: 0 / 1.283 GB, free: 7.992 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.023e-06/0.9578, allocations: 0 / 1.283 GB, free: 7.992 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.052e-06/0.9578, allocations: 4 kB / 1.283 GB, free: 7.988 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.72e-07/0.9578, allocations: 0 / 1.283 GB, free: 7.988 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001373/0.9579, allocations: 89.05 kB / 1.283 GB, free: 7.883 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 6.048e-05/0.958, allocations: 85.06 kB / 1.283 GB, free: 7.781 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.198e-05/0.958, allocations: 0 / 1.283 GB, free: 7.781 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.262e-05/0.958, allocations: 8 kB / 1.283 GB, free: 7.773 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.837e-05/0.958, allocations: 7.922 kB / 1.283 GB, free: 7.766 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.083e-06/0.958, allocations: 4 kB / 1.283 GB, free: 7.762 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 3.772e-05/0.9581, allocations: 75.28 kB / 1.284 GB, free: 7.688 MB / 0.9825 GB Notification: Performance of sort global known variables: time 7.1e-08/0.9581, allocations: 0 / 1.284 GB, free: 7.688 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002595/0.9583, allocations: 51.88 kB / 1.284 GB, free: 7.637 MB / 0.9825 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.000712/0.9591, allocations: 0.6832 MB / 1.284 GB, free: 6.922 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0001081/0.9592, allocations: 27.92 kB / 1.284 GB, free: 6.895 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.9592, allocations: 0 / 1.284 GB, free: 6.895 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 2.791e-05/0.9592, allocations: 12 kB / 1.284 GB, free: 6.883 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001714/0.9594, allocations: 8 kB / 1.284 GB, free: 6.875 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005462/0.9599, allocations: 182.7 kB / 1.284 GB, free: 6.66 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003142/0.9602, allocations: 0.6768 MB / 1.285 GB, free: 5.957 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 5.473e-05/0.9603, allocations: 11.94 kB / 1.285 GB, free: 5.945 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.203e-05/0.9603, allocations: 23.36 kB / 1.285 GB, free: 5.922 MB / 0.9825 GB Notification: Performance of SimCode: time 2.8e-07/0.9603, allocations: 0 / 1.285 GB, free: 5.922 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02362/0.9839, allocations: 2.032 MB / 1.287 GB, free: 4.004 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.167/9.151, allocations: 9.828 kB / 1.287 GB, free: 4 MB / 0.9825 GB " [Timeout remaining time 291] (rm -f Buildings_11_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi.pipe ; mkfifo Buildings_11_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi.pipe >> ../files/Buildings_11_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi.sim & python3 -m fmpy simulate --output-file Buildings_11_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi_res.csv --start-time 0 --stop-time 1 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_11_Buildings_Utilities_Psychrometrics_Functions_Examples_pW_TDewPoi.fmu > Buildings_11_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_Psychrometrics_Functions_Examples_pW_TDewPoi.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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: 15.471230611903593]