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.001741/0.001741, allocations: 109.2 kB / 18.94 MB, free: 2.949 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.002009/0.002009, allocations: 218.7 kB / 22.26 MB, free: 5.125 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.556/1.556, allocations: 230.6 MB / 256 MB, free: 7.973 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.851/2.851, allocations: 476.7 MB / 0.7707 GB, free: 4.223 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.002072/0.002072, allocations: 68.95 kB / 1.117 GB, free: 8.965 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.351/0.353, allocations: 169.9 MB / 1.283 GB, free: 3.734 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi): time 0.002492/0.3555, allocations: 1.298 MB / 1.285 GB, free: 2.426 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001633/0.3572, allocations: 0.9444 MB / 1.286 GB, free: 1.477 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.016e-05/0.3572, allocations: 4 kB / 1.286 GB, free: 1.473 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 1.752e-05/0.3572, allocations: 0 / 1.286 GB, free: 1.473 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 4.732e-05/0.3573, allocations: 7.922 kB / 1.286 GB, free: 1.465 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007481/0.358, allocations: 202.5 kB / 1.286 GB, free: 1.27 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 6.405e-05/0.3581, allocations: 19.92 kB / 1.286 GB, free: 1.25 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 4.538e-05/0.3581, allocations: 4 kB / 1.286 GB, free: 1.246 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 4.431e-05/0.3582, allocations: 7.938 kB / 1.286 GB, free: 1.238 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 5.399e-05/0.3582, allocations: 11.94 kB / 1.286 GB, free: 1.227 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.144e-05/0.3582, allocations: 0 / 1.286 GB, free: 1.227 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004306/0.3587, allocations: 251.7 kB / 1.286 GB, free: 0.9805 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 1.035e-05/0.3587, allocations: 0 / 1.286 GB, free: 0.9805 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 2.286e-05/0.3587, allocations: 7.984 kB / 1.286 GB, free: 0.9727 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.000294/0.359, allocations: 159.6 kB / 1.286 GB, free: 0.8164 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 3.897e-06/0.359, allocations: 0 / 1.286 GB, free: 0.8164 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.303e-06/0.359, allocations: 4 kB / 1.286 GB, free: 0.8125 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 5.26e-06/0.359, allocations: 0 / 1.286 GB, free: 0.8125 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.0004593/0.3595, allocations: 284.1 kB / 1.286 GB, free: 0.5078 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.995e-05/0.3595, allocations: 12.03 kB / 1.286 GB, free: 0.4961 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.219e-05/0.3595, allocations: 30.75 kB / 1.287 GB, free: 468 kB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002565/0.3598, allocations: 20.88 kB / 1.287 GB, free: 448 kB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001202/0.3599, allocations: 118.4 kB / 1.287 GB, free: 304 kB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.149e-05/0.3599, allocations: 384 / 1.287 GB, free: 304 kB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.055e-05/0.3599, allocations: 3.938 kB / 1.287 GB, free: 300 kB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000124/0.3601, allocations: 49.61 kB / 1.287 GB, free: 244 kB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.015e-06/0.3601, allocations: 0 / 1.287 GB, free: 244 kB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.728e-06/0.3601, allocations: 4 kB / 1.287 GB, free: 240 kB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.328e-06/0.3601, allocations: 0 / 1.287 GB, free: 240 kB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.274e-05/0.3601, allocations: 19.98 kB / 1.287 GB, free: 220 kB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001728/0.3603, allocations: 128.8 kB / 1.287 GB, free: 48 kB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009374/0.3613, allocations: 134.5 kB / 1.287 GB, free: 15.9 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.994e-05/0.3613, allocations: 20.8 kB / 1.287 GB, free: 15.88 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 9.42e-05/0.3614, allocations: 11.98 kB / 1.287 GB, free: 15.87 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.018e-05/0.3614, allocations: 34.5 kB / 1.287 GB, free: 15.83 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=4): time 1.002e-06/0.3614, allocations: 0 / 1.287 GB, free: 15.83 MB / 0.9981 GB Notification: Performance of matching and sorting (n=4): time 0.0001677/0.3616, allocations: 57.69 kB / 1.287 GB, free: 15.77 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.608e-05/0.3616, allocations: 51.41 kB / 1.287 GB, free: 15.7 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.689e-05/0.3617, allocations: 101.8 kB / 1.287 GB, free: 15.59 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 1.843e-05/0.3617, allocations: 29.7 kB / 1.287 GB, free: 15.56 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 3.342e-05/0.3618, allocations: 80.14 kB / 1.287 GB, free: 15.48 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 2.664e-05/0.3618, allocations: 7.906 kB / 1.287 GB, free: 15.47 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.287e-05/0.3618, allocations: 17.72 kB / 1.287 GB, free: 15.45 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001346/0.362, allocations: 310.8 kB / 1.288 GB, free: 15.13 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.44e-05/0.362, allocations: 11.98 kB / 1.288 GB, free: 15.12 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.952e-05/0.362, allocations: 11.94 kB / 1.288 GB, free: 15.11 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.035e-05/0.3621, allocations: 33.23 kB / 1.288 GB, free: 15.07 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.532e-06/0.3621, allocations: 0 / 1.288 GB, free: 15.07 MB / 0.9981 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.095e-05/0.3622, allocations: 57.62 kB / 1.288 GB, free: 15.01 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.505e-05/0.3622, allocations: 10.5 kB / 1.288 GB, free: 15 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.737e-06/0.3622, allocations: 0 / 1.288 GB, free: 15 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.151e-05/0.3622, allocations: 0 / 1.288 GB, free: 15 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.557e-05/0.3622, allocations: 4 kB / 1.288 GB, free: 15 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.488e-06/0.3622, allocations: 0 / 1.288 GB, free: 15 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.06e-05/0.3623, allocations: 8 kB / 1.288 GB, free: 14.99 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.637e-05/0.3623, allocations: 7.922 kB / 1.288 GB, free: 14.98 MB / 0.9981 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.726e-05/0.3624, allocations: 117.7 kB / 1.288 GB, free: 14.86 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.333e-05/0.3624, allocations: 7.953 kB / 1.288 GB, free: 14.85 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002411/0.3626, allocations: 77.14 kB / 1.288 GB, free: 14.77 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.413e-06/0.3626, allocations: 0 / 1.288 GB, free: 14.77 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.57e-06/0.3626, allocations: 4 kB / 1.288 GB, free: 14.77 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.555e-06/0.3626, allocations: 4 kB / 1.288 GB, free: 14.76 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001225/0.3628, allocations: 132.7 kB / 1.288 GB, free: 14.59 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.012e-06/0.3628, allocations: 0 / 1.288 GB, free: 14.59 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.527e-05/0.3628, allocations: 11.98 kB / 1.288 GB, free: 14.58 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.653e-06/0.3628, allocations: 0 / 1.288 GB, free: 14.58 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.274e-06/0.3628, allocations: 0 / 1.288 GB, free: 14.58 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.477e-06/0.3628, allocations: 7.938 kB / 1.288 GB, free: 14.57 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.92e-07/0.3628, allocations: 3.938 kB / 1.288 GB, free: 14.57 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001346/0.363, allocations: 93.12 kB / 1.288 GB, free: 14.46 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 2.857e-05/0.363, allocations: 7.953 kB / 1.288 GB, free: 14.45 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.442e-05/0.363, allocations: 4 kB / 1.288 GB, free: 14.45 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.936e-05/0.3631, allocations: 3.984 kB / 1.288 GB, free: 14.44 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.326e-05/0.3631, allocations: 0 / 1.288 GB, free: 14.44 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.173e-06/0.3631, allocations: 4 kB / 1.288 GB, free: 14.44 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 3.782e-05/0.3631, allocations: 75.28 kB / 1.288 GB, free: 14.36 MB / 0.9981 GB Notification: Performance of sort global known variables: time 8e-08/0.3631, allocations: 0 / 1.288 GB, free: 14.36 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0002579/0.3634, allocations: 55.86 kB / 1.288 GB, free: 14.31 MB / 0.9981 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.000598/0.364, allocations: 0.6826 MB / 1.289 GB, free: 13.59 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 9.955e-05/0.3641, allocations: 23.98 kB / 1.289 GB, free: 13.57 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.943e-06/0.3641, allocations: 4 kB / 1.289 GB, free: 13.57 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 3.77e-05/0.3641, allocations: 15.94 kB / 1.289 GB, free: 13.55 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001661/0.3643, allocations: 7.984 kB / 1.289 GB, free: 13.54 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004702/0.3647, allocations: 176.4 kB / 1.289 GB, free: 13.33 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003115/0.3651, allocations: 0.6729 MB / 1.29 GB, free: 12.63 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 5.362e-05/0.3651, allocations: 11.98 kB / 1.29 GB, free: 12.62 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.59e-05/0.3651, allocations: 11.44 kB / 1.29 GB, free: 12.61 MB / 0.9981 GB Notification: Performance of SimCode: time 3.3e-07/0.3651, allocations: 0 / 1.29 GB, free: 12.61 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02815/0.3933, allocations: 2.143 MB / 1.292 GB, free: 10.6 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.75/11.15, allocations: 11.22 kB / 1.292 GB, free: 10.59 MB / 0.9981 GB " [Timeout remaining time 289] (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: 18.013592834999145]