Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.0008315/0.0008315, allocations: 80.44 kB / 19.17 MB, free: 0.7344 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.0007992/0.0007992, allocations: 166.3 kB / 22.46 MB, free: 2.098 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.9224/0.9224, allocations: 177.1 MB / 202.8 MB, free: 5.75 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.74/1.74, allocations: 377.8 MB / 0.6221 GB, free: 8.684 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.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_12_Buildings_Utilities_Psychrometrics_Functions_Examples_pW_TDewPoi",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi,fileNamePrefix="Buildings_12_Buildings_Utilities_Psychrometrics_Functions_Examples_pW_TDewPoi",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.272e-06/1.272e-06, allocations: 0 / 0.981 GB, free: 2.621 MB / 0.9323 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.357e-05/1.484e-05, allocations: 2.281 kB / 0.981 GB, free: 2.617 MB / 0.9323 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi): time 0.001635/0.00165, allocations: 1.294 MB / 0.9822 GB, free: 1.312 MB / 0.9323 GB Notification: Performance of NFInst.instExpressions: time 0.001008/0.002658, allocations: 0.8534 MB / 0.9831 GB, free: 464 kB / 0.9323 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.041e-05/0.002688, allocations: 0 / 0.9831 GB, free: 464 kB / 0.9323 GB Notification: Performance of NFTyping.typeComponents: time 1.856e-05/0.002707, allocations: 3.938 kB / 0.9831 GB, free: 460 kB / 0.9323 GB Notification: Performance of NFTyping.typeBindings: time 3.987e-05/0.002747, allocations: 7.922 kB / 0.9831 GB, free: 452 kB / 0.9323 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004963/0.003243, allocations: 202.2 kB / 0.9833 GB, free: 252 kB / 0.9323 GB Notification: Performance of NFFlatten.flatten: time 5.743e-05/0.0033, allocations: 19.88 kB / 0.9833 GB, free: 232 kB / 0.9323 GB Notification: Performance of NFFlatten.resolveConnections: time 3.695e-05/0.003337, allocations: 4 kB / 0.9833 GB, free: 228 kB / 0.9323 GB Notification: Performance of NFEvalConstants.evaluate: time 5.676e-05/0.003394, allocations: 11.98 kB / 0.9833 GB, free: 216 kB / 0.9323 GB Notification: Performance of NFSimplifyModel.simplify: time 4.163e-05/0.003436, allocations: 4 kB / 0.9833 GB, free: 212 kB / 0.9323 GB Notification: Performance of NFPackage.collectConstants: time 1.284e-05/0.003448, allocations: 0 / 0.9833 GB, free: 212 kB / 0.9323 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002746/0.003723, allocations: 235.5 kB / 0.9835 GB, free: 15.98 MB / 0.948 GB Notification: Performance of NFScalarize.scalarize: time 1.33e-05/0.003736, allocations: 4 kB / 0.9835 GB, free: 15.97 MB / 0.948 GB Notification: Performance of NFVerifyModel.verify: time 1.701e-05/0.003753, allocations: 7.984 kB / 0.9835 GB, free: 15.96 MB / 0.948 GB Notification: Performance of NFConvertDAE.convert: time 0.000217/0.00397, allocations: 199.5 kB / 0.9837 GB, free: 15.77 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 1.934e-06/0.003972, allocations: 0 / 0.9837 GB, free: 15.77 MB / 0.948 GB Notification: Performance of FrontEnd: time 9.42e-07/0.003973, allocations: 0 / 0.9837 GB, free: 15.77 MB / 0.948 GB Notification: Performance of Transformations before backend: time 4.339e-06/0.003978, allocations: 0 / 0.9837 GB, free: 15.77 MB / 0.948 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.000323/0.004301, allocations: 286.1 kB / 0.984 GB, free: 15.46 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 3.941e-05/0.00434, allocations: 12.03 kB / 0.984 GB, free: 15.45 MB / 0.948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.815e-05/0.004368, allocations: 30.75 kB / 0.984 GB, free: 15.41 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001726/0.004541, allocations: 20.91 kB / 0.9841 GB, free: 15.39 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.187e-05/0.004603, allocations: 105.8 kB / 0.9842 GB, free: 15.26 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.829e-06/0.004612, allocations: 4.375 kB / 0.9842 GB, free: 15.26 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.313e-06/0.00462, allocations: 384 / 0.9842 GB, free: 15.26 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001262/0.004746, allocations: 71.7 kB / 0.9842 GB, free: 15.18 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.494e-06/0.004753, allocations: 0 / 0.9842 GB, free: 15.18 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.232e-05/0.004766, allocations: 4 kB / 0.9842 GB, free: 15.17 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.741e-06/0.004772, allocations: 0 / 0.9842 GB, free: 15.17 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.932e-05/0.004821, allocations: 19.92 kB / 0.9843 GB, free: 15.15 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001373/0.004958, allocations: 140.7 kB / 0.9844 GB, free: 14.97 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005392/0.005497, allocations: 126.5 kB / 0.9845 GB, free: 14.84 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.307e-05/0.00553, allocations: 20.8 kB / 0.9845 GB, free: 14.82 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001046/0.005635, allocations: 27.91 kB / 0.9846 GB, free: 14.79 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.41e-05/0.005659, allocations: 34.5 kB / 0.9846 GB, free: 14.75 MB / 0.948 GB Notification: Performance of pre-optimization done (n=4): time 1.523e-06/0.005661, allocations: 0 / 0.9846 GB, free: 14.75 MB / 0.948 GB Notification: Performance of matching and sorting (n=4): time 0.0001658/0.005826, allocations: 61.62 kB / 0.9846 GB, free: 14.68 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.813e-05/0.005855, allocations: 51.41 kB / 0.9847 GB, free: 14.62 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.884e-05/0.005903, allocations: 101.8 kB / 0.9848 GB, free: 14.51 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 1.131e-05/0.005915, allocations: 25.7 kB / 0.9848 GB, free: 14.48 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 1.946e-05/0.005934, allocations: 80.14 kB / 0.9849 GB, free: 14.39 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 2.5e-05/0.005959, allocations: 7.906 kB / 0.9849 GB, free: 14.39 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.626e-05/0.005985, allocations: 17.72 kB / 0.9849 GB, free: 14.36 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 7.798e-05/0.006063, allocations: 323 kB / 0.9852 GB, free: 14.04 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.571e-05/0.006079, allocations: 8 kB / 0.9852 GB, free: 14.03 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.292e-05/0.006092, allocations: 4 kB / 0.9852 GB, free: 14.03 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.175e-05/0.006134, allocations: 32.78 kB / 0.9853 GB, free: 13.99 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.185e-06/0.006136, allocations: 0 / 0.9853 GB, free: 13.99 MB / 0.948 GB Notification: Performance of matching and sorting (n=4) (initialization): time 6.043e-05/0.006196, allocations: 53.69 kB / 0.9853 GB, free: 13.93 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.412e-05/0.00621, allocations: 7.938 kB / 0.9853 GB, free: 13.93 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.849e-06/0.006215, allocations: 0 / 0.9853 GB, free: 13.93 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.013e-05/0.006225, allocations: 0 / 0.9853 GB, free: 13.93 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.428e-05/0.00627, allocations: 8 kB / 0.9853 GB, free: 13.92 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.99e-06/0.006275, allocations: 0 / 0.9853 GB, free: 13.92 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.499e-05/0.00629, allocations: 4 kB / 0.9853 GB, free: 13.91 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.025e-06/0.006298, allocations: 7.984 kB / 0.9853 GB, free: 13.91 MB / 0.948 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 5.515e-05/0.006353, allocations: 109.8 kB / 0.9855 GB, free: 13.79 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.241e-06/0.006359, allocations: 3.938 kB / 0.9855 GB, free: 13.79 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001644/0.006524, allocations: 81.14 kB / 0.9855 GB, free: 13.7 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.134e-06/0.006526, allocations: 4 kB / 0.9855 GB, free: 13.7 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.058e-06/0.00653, allocations: 0 / 0.9855 GB, free: 13.7 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.825e-06/0.006533, allocations: 0 / 0.9855 GB, free: 13.7 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.322e-05/0.006606, allocations: 140.6 kB / 0.9857 GB, free: 13.52 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.82e-07/0.006607, allocations: 0 / 0.9857 GB, free: 13.52 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.547e-05/0.006632, allocations: 8 kB / 0.9857 GB, free: 13.51 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.775e-06/0.006635, allocations: 3.938 kB / 0.9857 GB, free: 13.5 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.384e-06/0.006642, allocations: 0 / 0.9857 GB, free: 13.5 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.193e-06/0.006643, allocations: 0 / 0.9857 GB, free: 13.5 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.412e-06/0.006645, allocations: 7.922 kB / 0.9857 GB, free: 13.5 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.41e-05/0.006719, allocations: 101 kB / 0.9858 GB, free: 13.38 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 2.374e-05/0.006743, allocations: 4 kB / 0.9858 GB, free: 13.38 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.759e-06/0.006752, allocations: 3.938 kB / 0.9858 GB, free: 13.37 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.345e-05/0.006776, allocations: 8 kB / 0.9858 GB, free: 13.36 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.331e-05/0.006789, allocations: 3.984 kB / 0.9858 GB, free: 13.36 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.708e-06/0.006794, allocations: 4 kB / 0.9858 GB, free: 13.36 MB / 0.948 GB Notification: Performance of sorting global known variables: time 2.231e-05/0.006816, allocations: 75.28 kB / 0.9859 GB, free: 13.28 MB / 0.948 GB Notification: Performance of sort global known variables: time 5e-08/0.006816, allocations: 0 / 0.9859 GB, free: 13.28 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.0001632/0.006979, allocations: 51.88 kB / 0.9859 GB, free: 13.23 MB / 0.948 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.0003576/0.007337, allocations: 0.6904 MB / 0.9866 GB, free: 12.51 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 7.921e-05/0.007416, allocations: 28.31 kB / 0.9866 GB, free: 12.48 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 1.473e-06/0.007418, allocations: 0 / 0.9866 GB, free: 12.48 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 1.603e-05/0.007434, allocations: 16 kB / 0.9866 GB, free: 12.47 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001275/0.007561, allocations: 6.5 kB / 0.9867 GB, free: 12.46 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003643/0.007926, allocations: 162.3 kB / 0.9868 GB, free: 12.27 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.605e-05/0.007962, allocations: 67.34 kB / 0.9869 GB, free: 12.18 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 3.874e-05/0.008, allocations: 16.06 kB / 0.9869 GB, free: 12.16 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.902e-05/0.008029, allocations: 16.5 kB / 0.9869 GB, free: 12.15 MB / 0.948 GB Notification: Performance of SimCode: time 4.01e-07/0.00803, allocations: 0 / 0.9869 GB, free: 12.15 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01397/0.022, allocations: 2.705 MB / 0.9895 GB, free: 9.586 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.558/6.58, allocations: 7.422 kB / 0.9896 GB, free: 9.582 MB / 0.948 GB " [Timeout remaining time 293] (rm -f Buildings_12_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi.pipe ; mkfifo Buildings_12_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi.pipe >> ../files/Buildings_12_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi.sim & python3 -m fmpy simulate --output-file Buildings_12_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_12_Buildings_Utilities_Psychrometrics_Functions_Examples_pW_TDewPoi.fmu > Buildings_12_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Utilities_Psychrometrics_Functions_Examples_pW_TDewPoi.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 10.745231893844903]