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.001863/0.001863, 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.002166/0.002166, 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.557/1.557, allocations: 230.6 MB / 252.8 MB, free: 8.965 MB / 206.1 MB " [Timeout remaining time 178] 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 3.37/3.37, allocations: 0.505 GB / 0.8066 GB, free: 23.1 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/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: 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.003629/0.003629, allocations: 64.31 kB / 1.172 GB, free: 17.54 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4117/0.4153, allocations: 180.2 MB / 1.348 GB, free: 10 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi): time 0.002522/0.4178, allocations: 1.296 MB / 1.349 GB, free: 8.695 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.001566/0.4194, allocations: 0.9247 MB / 1.35 GB, free: 7.766 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.431e-05/0.4194, allocations: 0 / 1.35 GB, free: 7.766 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 1.951e-05/0.4194, allocations: 0 / 1.35 GB, free: 7.766 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 4.434e-05/0.4195, allocations: 7.875 kB / 1.35 GB, free: 7.758 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007326/0.4202, allocations: 213.4 kB / 1.35 GB, free: 7.551 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 7.549e-05/0.4203, allocations: 19.88 kB / 1.35 GB, free: 7.531 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 4.646e-05/0.4203, allocations: 4 kB / 1.35 GB, free: 7.527 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 4.284e-05/0.4204, allocations: 7.984 kB / 1.35 GB, free: 7.52 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 5.921e-05/0.4204, allocations: 11.92 kB / 1.35 GB, free: 7.508 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 1.092e-05/0.4204, allocations: 0 / 1.35 GB, free: 7.508 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004406/0.4209, allocations: 244.9 kB / 1.35 GB, free: 7.27 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 1.379e-05/0.4209, allocations: 3.984 kB / 1.35 GB, free: 7.266 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 2.573e-05/0.4209, allocations: 7.984 kB / 1.35 GB, free: 7.258 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0003296/0.4212, allocations: 159.6 kB / 1.351 GB, free: 7.102 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 7.343e-06/0.4212, allocations: 0 / 1.351 GB, free: 7.102 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.893e-06/0.4213, allocations: 4 kB / 1.351 GB, free: 7.098 MB / 1.045 GB Notification: Performance of Transformations before backend: time 1.164e-05/0.4213, allocations: 4 kB / 1.351 GB, free: 7.094 MB / 1.045 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.0005498/0.4218, allocations: 359.1 kB / 1.351 GB, free: 6.695 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 5.328e-05/0.4219, allocations: 15.98 kB / 1.351 GB, free: 6.68 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.642e-05/0.4219, allocations: 30.75 kB / 1.351 GB, free: 6.641 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003029/0.4222, allocations: 20.91 kB / 1.351 GB, free: 6.621 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001355/0.4224, allocations: 164.3 kB / 1.351 GB, free: 6.422 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.83e-05/0.4224, allocations: 12.31 kB / 1.351 GB, free: 6.41 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.246e-05/0.4224, allocations: 7.938 kB / 1.351 GB, free: 6.402 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001439/0.4225, allocations: 45.62 kB / 1.351 GB, free: 6.352 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.557e-06/0.4225, allocations: 0 / 1.351 GB, free: 6.352 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.103e-05/0.4226, allocations: 0 / 1.351 GB, free: 6.352 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.835e-06/0.4226, allocations: 3.984 kB / 1.351 GB, free: 6.348 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.161e-05/0.4226, allocations: 15.98 kB / 1.351 GB, free: 6.332 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002246/0.4228, allocations: 153.7 kB / 1.351 GB, free: 6.133 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009752/0.4238, allocations: 138.5 kB / 1.352 GB, free: 5.988 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.845e-05/0.4239, allocations: 20.84 kB / 1.352 GB, free: 5.965 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001476/0.424, allocations: 85.09 kB / 1.352 GB, free: 5.863 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.579e-05/0.4241, allocations: 34.56 kB / 1.352 GB, free: 5.82 MB / 1.045 GB Notification: Performance of pre-optimization done (n=4): time 1.192e-06/0.4241, allocations: 4 kB / 1.352 GB, free: 5.816 MB / 1.045 GB Notification: Performance of matching and sorting (n=4): time 0.0002147/0.4243, allocations: 61.67 kB / 1.352 GB, free: 5.75 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.194e-05/0.4243, allocations: 51.41 kB / 1.352 GB, free: 5.688 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.011e-05/0.4244, allocations: 93.86 kB / 1.352 GB, free: 5.586 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 2.622e-05/0.4244, allocations: 29.7 kB / 1.352 GB, free: 5.551 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 5.006e-05/0.4245, allocations: 84.08 kB / 1.352 GB, free: 5.465 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 3.556e-05/0.4245, allocations: 7.906 kB / 1.352 GB, free: 5.457 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.123e-05/0.4246, allocations: 21.7 kB / 1.352 GB, free: 5.43 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001697/0.4247, allocations: 319 kB / 1.352 GB, free: 5.109 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.111e-05/0.4248, allocations: 8 kB / 1.352 GB, free: 5.102 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.193e-05/0.4248, allocations: 7.984 kB / 1.352 GB, free: 5.094 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.662e-05/0.4248, allocations: 28.8 kB / 1.352 GB, free: 5.062 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.415e-06/0.4248, allocations: 0 / 1.352 GB, free: 5.062 MB / 1.045 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001065/0.425, allocations: 61.58 kB / 1.352 GB, free: 4.996 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 2.011e-05/0.425, allocations: 4 kB / 1.352 GB, free: 4.992 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.9e-06/0.425, allocations: 0 / 1.352 GB, free: 4.992 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.668e-05/0.425, allocations: 3.984 kB / 1.352 GB, free: 4.988 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.346e-05/0.4251, allocations: 15.94 kB / 1.352 GB, free: 4.973 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.641e-06/0.4251, allocations: 0 / 1.352 GB, free: 4.973 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.897e-05/0.4251, allocations: 0 / 1.352 GB, free: 4.973 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.392e-06/0.4251, allocations: 0 / 1.352 GB, free: 4.973 MB / 1.045 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.61e-05/0.4252, allocations: 117.8 kB / 1.353 GB, free: 4.848 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.065e-05/0.4252, allocations: 0 / 1.353 GB, free: 4.848 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002733/0.4255, allocations: 97.03 kB / 1.353 GB, free: 4.738 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.314e-06/0.4255, allocations: 0 / 1.353 GB, free: 4.738 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.147e-06/0.4255, allocations: 0 / 1.353 GB, free: 4.738 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.346e-06/0.4255, allocations: 0 / 1.353 GB, free: 4.738 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001485/0.4256, allocations: 161.9 kB / 1.353 GB, free: 4.531 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.163e-06/0.4256, allocations: 0 / 1.353 GB, free: 4.531 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.711e-05/0.4257, allocations: 7.938 kB / 1.353 GB, free: 4.523 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.108e-06/0.4257, allocations: 4 kB / 1.353 GB, free: 4.52 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.166e-06/0.4257, allocations: 0 / 1.353 GB, free: 4.52 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.062e-06/0.4257, allocations: 4 kB / 1.353 GB, free: 4.516 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.22e-07/0.4257, allocations: 0 / 1.353 GB, free: 4.516 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001408/0.4259, allocations: 93 kB / 1.353 GB, free: 4.406 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 6.738e-05/0.4259, allocations: 85.09 kB / 1.353 GB, free: 4.305 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.271e-05/0.4259, allocations: 0 / 1.353 GB, free: 4.305 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.927e-05/0.426, allocations: 4 kB / 1.353 GB, free: 4.301 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.357e-05/0.426, allocations: 7.984 kB / 1.353 GB, free: 4.293 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.25e-06/0.426, allocations: 0 / 1.353 GB, free: 4.293 MB / 1.045 GB Notification: Performance of sorting global known variables: time 3.717e-05/0.426, allocations: 79.28 kB / 1.353 GB, free: 4.215 MB / 1.045 GB Notification: Performance of sort global known variables: time 6e-08/0.426, allocations: 0 / 1.353 GB, free: 4.215 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0002634/0.4263, allocations: 51.88 kB / 1.353 GB, free: 4.164 MB / 1.045 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.0006093/0.4269, allocations: 0.6825 MB / 1.354 GB, free: 3.449 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.0001085/0.427, allocations: 28.08 kB / 1.354 GB, free: 3.422 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 2.365e-06/0.427, allocations: 0 / 1.354 GB, free: 3.422 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 2.994e-05/0.4271, allocations: 19.88 kB / 1.354 GB, free: 3.402 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001708/0.4272, allocations: 8.312 kB / 1.354 GB, free: 3.395 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005161/0.4277, allocations: 168.1 kB / 1.354 GB, free: 3.191 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003184/0.4281, allocations: 0.6768 MB / 1.355 GB, free: 2.488 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 5.146e-05/0.4281, allocations: 8 kB / 1.355 GB, free: 2.48 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.291e-05/0.4282, allocations: 22.67 kB / 1.355 GB, free: 2.465 MB / 1.045 GB Notification: Performance of SimCode: time 3e-07/0.4282, allocations: 0 / 1.355 GB, free: 2.465 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02386/0.452, allocations: 2.031 MB / 1.357 GB, free: 0.5742 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.109/8.561, allocations: 4.531 kB / 1.357 GB, free: 0.5703 MB / 1.045 GB " [Timeout remaining time 291] (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/jenkins1/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: 15.738962210016325]