Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi_comparison.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.001308/0.001308, allocations: 116 kB / 17.17 MB, free: 6 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.001764/0.001764, allocations: 209.6 kB / 20.13 MB, free: 3.055 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.608/1.608, allocations: 230.6 MB / 253.5 MB, free: 15.13 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.099/3.099, allocations: 0.49 GB / 0.7923 GB, free: 1.402 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-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_comparison,fileNamePrefix="Buildings_12_Buildings_Utilities_Psychrometrics_Functions_Examples_pW_TDewPoi_comparison",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi_comparison,fileNamePrefix="Buildings_12_Buildings_Utilities_Psychrometrics_Functions_Examples_pW_TDewPoi_comparison",fmuType="cs",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.002028/0.002028, allocations: 71.89 kB / 1.15 GB, free: 15.39 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.131/1.133, allocations: 176.1 MB / 1.321 GB, free: 24.78 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi_comparison): time 0.002409/1.136, allocations: 1.299 MB / 1.323 GB, free: 23.87 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.001107/1.137, allocations: 0.8068 MB / 1.324 GB, free: 23.3 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.785e-05/1.137, allocations: 0 / 1.324 GB, free: 23.3 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 1.94e-05/1.137, allocations: 0 / 1.324 GB, free: 23.3 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 5.545e-05/1.137, allocations: 7.031 kB / 1.324 GB, free: 23.3 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.000478/1.137, allocations: 174.7 kB / 1.324 GB, free: 23.22 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 7.511e-05/1.137, allocations: 19.03 kB / 1.324 GB, free: 23.21 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 5.147e-05/1.138, allocations: 14.16 kB / 1.324 GB, free: 23.2 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 3.916e-05/1.138, allocations: 13.16 kB / 1.324 GB, free: 23.2 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 6.171e-05/1.138, allocations: 12.62 kB / 1.324 GB, free: 23.19 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 8.817e-06/1.138, allocations: 0 / 1.324 GB, free: 23.19 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003816/1.138, allocations: 293.4 kB / 1.324 GB, free: 23.1 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 1.06e-05/1.138, allocations: 3.938 kB / 1.324 GB, free: 23.1 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 2.578e-05/1.138, allocations: 13.11 kB / 1.324 GB, free: 23.09 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0002639/1.138, allocations: 175.8 kB / 1.324 GB, free: 23.04 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 4.398e-06/1.138, allocations: 0 / 1.324 GB, free: 23.04 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.624e-06/1.138, allocations: 2.875 kB / 1.324 GB, free: 23.04 MB / 1.061 GB Notification: Performance of Transformations before backend: time 6.232e-06/1.138, allocations: 0 / 1.324 GB, free: 23.04 MB / 1.061 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0004096/1.139, allocations: 383.9 kB / 1.325 GB, free: 22.64 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.362e-05/1.139, allocations: 15.98 kB / 1.325 GB, free: 22.64 MB / 1.061 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.884e-05/1.139, allocations: 192 / 1.325 GB, free: 22.64 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.121e-05/1.139, allocations: 30.75 kB / 1.325 GB, free: 22.6 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006837/1.14, allocations: 54.86 kB / 1.325 GB, free: 22.59 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.361e-05/1.14, allocations: 160.4 kB / 1.325 GB, free: 22.4 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.256e-06/1.14, allocations: 7.25 kB / 1.325 GB, free: 22.39 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.555e-05/1.14, allocations: 3.438 kB / 1.325 GB, free: 22.39 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001292/1.14, allocations: 49.23 kB / 1.325 GB, free: 22.36 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.037e-05/1.14, allocations: 3.938 kB / 1.325 GB, free: 22.35 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.288e-05/1.14, allocations: 8 kB / 1.325 GB, free: 22.34 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.432e-06/1.14, allocations: 3 kB / 1.325 GB, free: 22.34 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.986e-05/1.14, allocations: 22.92 kB / 1.325 GB, free: 22.34 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000142/1.14, allocations: 162.7 kB / 1.325 GB, free: 22.14 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001153/1.14, allocations: 55.55 kB / 1.325 GB, free: 22.11 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.99e-05/1.14, allocations: 23.39 kB / 1.325 GB, free: 22.09 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 2.454e-05/1.14, allocations: 0 / 1.325 GB, free: 22.09 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.693e-05/1.14, allocations: 41.91 kB / 1.325 GB, free: 22.04 MB / 1.061 GB Notification: Performance of pre-optimization done (n=6): time 8.72e-07/1.14, allocations: 2.719 kB / 1.325 GB, free: 22.04 MB / 1.061 GB Notification: Performance of matching and sorting (n=6): time 0.0002282/1.14, allocations: 78.3 kB / 1.325 GB, free: 21.99 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.522e-05/1.14, allocations: 54.28 kB / 1.325 GB, free: 21.93 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.941e-05/1.141, allocations: 93.52 kB / 1.325 GB, free: 21.83 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 1.048e-05/1.141, allocations: 25.7 kB / 1.325 GB, free: 21.8 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 1.743e-05/1.141, allocations: 86.77 kB / 1.326 GB, free: 21.71 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 3.634e-05/1.141, allocations: 26.59 kB / 1.326 GB, free: 21.69 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.45e-05/1.141, allocations: 19.88 kB / 1.326 GB, free: 21.67 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 6.475e-05/1.141, allocations: 317.6 kB / 1.326 GB, free: 21.35 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.882e-05/1.141, allocations: 12.88 kB / 1.326 GB, free: 21.35 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.083e-05/1.141, allocations: 9.5 kB / 1.326 GB, free: 21.34 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.402e-05/1.141, allocations: 40.44 kB / 1.326 GB, free: 21.32 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.815e-06/1.141, allocations: 0 / 1.326 GB, free: 21.32 MB / 1.061 GB Notification: Performance of matching and sorting (n=6) (initialization): time 9.044e-05/1.141, allocations: 62.77 kB / 1.326 GB, free: 21.28 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.604e-05/1.141, allocations: 13.75 kB / 1.326 GB, free: 21.27 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.549e-06/1.141, allocations: 0 / 1.326 GB, free: 21.27 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.994e-05/1.141, allocations: 0 / 1.326 GB, free: 21.27 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001304/1.141, allocations: 15.09 kB / 1.326 GB, free: 21.27 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.202e-06/1.141, allocations: 4 kB / 1.326 GB, free: 21.27 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.328e-05/1.141, allocations: 2.875 kB / 1.326 GB, free: 21.27 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.901e-06/1.141, allocations: 448 / 1.326 GB, free: 21.27 MB / 1.061 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 (6): * Single equations (assignments): 6 * 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.824e-05/1.141, allocations: 118.5 kB / 1.326 GB, free: 21.14 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.356e-05/1.141, allocations: 10.14 kB / 1.326 GB, free: 21.14 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001912/1.141, allocations: 91.2 kB / 1.326 GB, free: 21.07 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.846e-06/1.141, allocations: 2.875 kB / 1.326 GB, free: 21.07 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.6e-06/1.141, allocations: 4 kB / 1.326 GB, free: 21.07 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.106e-06/1.141, allocations: 0 / 1.326 GB, free: 21.07 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.693e-05/1.141, allocations: 161.5 kB / 1.326 GB, free: 20.87 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.093e-06/1.141, allocations: 0 / 1.326 GB, free: 20.87 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.57e-05/1.142, allocations: 15.06 kB / 1.326 GB, free: 20.87 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.356e-06/1.142, allocations: 3.938 kB / 1.326 GB, free: 20.87 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.478e-06/1.142, allocations: 2.844 kB / 1.326 GB, free: 20.87 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.303e-06/1.142, allocations: 3.938 kB / 1.326 GB, free: 20.86 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.31e-07/1.142, allocations: 0 / 1.326 GB, free: 20.86 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001141/1.142, allocations: 102.8 kB / 1.327 GB, free: 20.78 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 5.739e-05/1.142, allocations: 95.22 kB / 1.327 GB, free: 20.67 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.45e-05/1.142, allocations: 0 / 1.327 GB, free: 20.67 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.088e-05/1.142, allocations: 0 / 1.327 GB, free: 20.67 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.68e-05/1.142, allocations: 7.062 kB / 1.327 GB, free: 20.67 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.141e-06/1.142, allocations: 2.906 kB / 1.327 GB, free: 20.67 MB / 1.061 GB Notification: Performance of sorting global known variables: time 2.241e-05/1.142, allocations: 86.98 kB / 1.327 GB, free: 20.59 MB / 1.061 GB Notification: Performance of sort global known variables: time 7e-08/1.142, allocations: 0 / 1.327 GB, free: 20.59 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0001917/1.142, allocations: 8.594 kB / 1.327 GB, free: 20.59 MB / 1.061 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 (7): * Single equations (assignments): 7 * 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.0002891/1.142, allocations: 0.6287 MB / 1.327 GB, free: 19.98 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0001223/1.142, allocations: 40.22 kB / 1.327 GB, free: 19.96 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 3.376e-06/1.142, allocations: 10.94 kB / 1.327 GB, free: 19.96 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 2.85e-05/1.142, allocations: 19.61 kB / 1.327 GB, free: 19.95 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002354/1.143, allocations: 10.59 kB / 1.327 GB, free: 19.95 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004293/1.143, allocations: 164.3 kB / 1.328 GB, free: 19.79 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000114/1.143, allocations: 0.6777 MB / 1.328 GB, free: 19.1 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 4.158e-05/1.143, allocations: 10.66 kB / 1.328 GB, free: 19.09 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.237e-05/1.143, allocations: 17.52 kB / 1.328 GB, free: 19.08 MB / 1.061 GB Notification: Performance of SimCode: time 2.61e-07/1.143, allocations: 3.156 kB / 1.328 GB, free: 19.08 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01846/1.162, allocations: 1.488 MB / 1.33 GB, free: 18.71 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.547/9.708, allocations: 7.016 kB / 1.33 GB, free: 18.71 MB / 1.061 GB " [Timeout remaining time 290] (rm -f Buildings_12_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi_comparison.pipe ; mkfifo Buildings_12_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi_comparison.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi_comparison.pipe >> ../files/Buildings_12_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi_comparison.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi_comparison_res.mat --tempDir=temp_Buildings_12_Buildings_Utilities_Psychrometrics_Functions_Examples_pW_TDewPoi_comparison_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Utilities_Psychrometrics_Functions_Examples_pW_TDewPoi_comparison.fmu > Buildings_12_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi_comparison.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi_comparison_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Utilities_Psychrometrics_Functions_Examples_pW_TDewPoi_comparison.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi_comparison.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: 16.781705246015918]