Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001365/0.001365, allocations: 110.2 kB / 16.45 MB, free: 6.035 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001311/0.001311, allocations: 192.5 kB / 19.41 MB, free: 3.539 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.498/1.498, allocations: 225.6 MB / 247.8 MB, free: 13.91 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.753/2.753, allocations: 476.7 MB / 0.7611 GB, free: 11.28 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX,fileNamePrefix="Buildings_11_Buildings_Utilities_Psychrometrics_Functions_Examples_Density_pTX",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX,fileNamePrefix="Buildings_11_Buildings_Utilities_Psychrometrics_Functions_Examples_Density_pTX",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001955/0.001955, allocations: 71.88 kB / 1.104 GB, free: 9.242 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8773/0.8793, allocations: 168.7 MB / 1.269 GB, free: 5.195 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX): time 0.002423/0.8817, allocations: 1.291 MB / 1.27 GB, free: 3.895 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.1699/1.052, allocations: 132.4 MB / 1.399 GB, free: 14.98 MB / 1.107 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.176e-05/1.052, allocations: 0 / 1.399 GB, free: 14.98 MB / 1.107 GB Notification: Performance of NFTyping.typeComponents: time 2.768e-05/1.052, allocations: 3.984 kB / 1.399 GB, free: 14.98 MB / 1.107 GB Notification: Performance of NFTyping.typeBindings: time 5.271e-05/1.052, allocations: 3.938 kB / 1.399 GB, free: 14.97 MB / 1.107 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004262/1.052, allocations: 63.45 kB / 1.399 GB, free: 14.91 MB / 1.107 GB Notification: Performance of NFFlatten.flatten: time 9.738e-05/1.052, allocations: 27.86 kB / 1.399 GB, free: 14.89 MB / 1.107 GB Notification: Performance of NFFlatten.resolveConnections: time 4.302e-05/1.052, allocations: 4 kB / 1.399 GB, free: 14.88 MB / 1.107 GB Notification: Performance of NFEvalConstants.evaluate: time 4.606e-05/1.052, allocations: 11.98 kB / 1.399 GB, free: 14.87 MB / 1.107 GB Notification: Performance of NFSimplifyModel.simplify: time 6.583e-05/1.052, allocations: 7.938 kB / 1.399 GB, free: 14.86 MB / 1.107 GB Notification: Performance of NFPackage.collectConstants: time 1.219e-05/1.052, allocations: 0 / 1.399 GB, free: 14.86 MB / 1.107 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001052/1.053, allocations: 15.98 kB / 1.399 GB, free: 14.85 MB / 1.107 GB Notification: Performance of NFScalarize.scalarize: time 1.872e-05/1.053, allocations: 4 kB / 1.399 GB, free: 14.84 MB / 1.107 GB Notification: Performance of NFVerifyModel.verify: time 3.021e-05/1.053, allocations: 7.938 kB / 1.399 GB, free: 14.84 MB / 1.107 GB Notification: Performance of NFConvertDAE.convert: time 0.0001244/1.053, allocations: 19.97 kB / 1.399 GB, free: 14.82 MB / 1.107 GB Notification: Performance of FrontEnd - DAE generated: time 4.749e-06/1.053, allocations: 0 / 1.399 GB, free: 14.82 MB / 1.107 GB Notification: Performance of FrontEnd: time 2.044e-06/1.053, allocations: 0 / 1.399 GB, free: 14.82 MB / 1.107 GB Notification: Performance of Transformations before backend: time 5.37e-06/1.053, allocations: 4 kB / 1.399 GB, free: 14.81 MB / 1.107 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0004883/1.053, allocations: 335.5 kB / 1.4 GB, free: 14.44 MB / 1.107 GB Notification: Performance of prepare preOptimizeDAE: time 4.711e-05/1.053, allocations: 12.03 kB / 1.4 GB, free: 14.43 MB / 1.107 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.315e-05/1.053, allocations: 42.67 kB / 1.4 GB, free: 14.38 MB / 1.107 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.389e-05/1.053, allocations: 4.891 kB / 1.4 GB, free: 14.37 MB / 1.107 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001364/1.053, allocations: 164.4 kB / 1.4 GB, free: 14.17 MB / 1.107 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.078e-05/1.054, allocations: 26.27 kB / 1.4 GB, free: 14.14 MB / 1.107 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.035e-05/1.054, allocations: 4.375 kB / 1.4 GB, free: 14.14 MB / 1.107 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001403/1.054, allocations: 46 kB / 1.4 GB, free: 14.09 MB / 1.107 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.764e-06/1.054, allocations: 0 / 1.4 GB, free: 14.09 MB / 1.107 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.656e-06/1.054, allocations: 3.938 kB / 1.4 GB, free: 14.08 MB / 1.107 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.502e-06/1.054, allocations: 3.984 kB / 1.4 GB, free: 14.08 MB / 1.107 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.304e-05/1.054, allocations: 11.98 kB / 1.4 GB, free: 14.07 MB / 1.107 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002016/1.054, allocations: 157.6 kB / 1.4 GB, free: 13.86 MB / 1.107 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000109/1.054, allocations: 30.61 kB / 1.4 GB, free: 13.82 MB / 1.107 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.325e-05/1.054, allocations: 16.86 kB / 1.4 GB, free: 13.8 MB / 1.107 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000196/1.054, allocations: 89.19 kB / 1.4 GB, free: 13.7 MB / 1.107 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.556e-05/1.054, allocations: 38.5 kB / 1.4 GB, free: 13.65 MB / 1.107 GB Notification: Performance of pre-optimization done (n=3): time 9.62e-07/1.054, allocations: 0 / 1.4 GB, free: 13.65 MB / 1.107 GB Notification: Performance of matching and sorting (n=3): time 0.0002596/1.055, allocations: 57.61 kB / 1.4 GB, free: 13.59 MB / 1.107 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.66e-05/1.055, allocations: 51.41 kB / 1.401 GB, free: 13.53 MB / 1.107 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.746e-05/1.055, allocations: 105.8 kB / 1.401 GB, free: 13.41 MB / 1.107 GB Notification: Performance of collectPreVariables (initialization): time 1.919e-05/1.055, allocations: 29.69 kB / 1.401 GB, free: 13.38 MB / 1.107 GB Notification: Performance of collectInitialEqns (initialization): time 4.535e-05/1.055, allocations: 84.14 kB / 1.401 GB, free: 13.29 MB / 1.107 GB Notification: Performance of collectInitialBindings (initialization): time 2.518e-05/1.055, allocations: 7.906 kB / 1.401 GB, free: 13.29 MB / 1.107 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.104e-05/1.055, allocations: 17.72 kB / 1.401 GB, free: 13.26 MB / 1.107 GB Notification: Performance of setup shared object (initialization): time 0.0001387/1.055, allocations: 310.8 kB / 1.401 GB, free: 12.95 MB / 1.107 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.138e-05/1.055, allocations: 11.98 kB / 1.401 GB, free: 12.94 MB / 1.107 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.825e-05/1.055, allocations: 12 kB / 1.401 GB, free: 12.93 MB / 1.107 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.697e-05/1.055, allocations: 24.84 kB / 1.401 GB, free: 12.9 MB / 1.107 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.555e-06/1.055, allocations: 0 / 1.401 GB, free: 12.9 MB / 1.107 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001318/1.055, allocations: 49.62 kB / 1.401 GB, free: 12.84 MB / 1.107 GB Notification: Performance of prepare postOptimizeDAE: time 2.052e-05/1.055, allocations: 11.94 kB / 1.401 GB, free: 12.83 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.631e-06/1.055, allocations: 0 / 1.401 GB, free: 12.83 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.386e-05/1.055, allocations: 0 / 1.401 GB, free: 12.83 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.83e-05/1.055, allocations: 7.984 kB / 1.401 GB, free: 12.82 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.881e-06/1.056, allocations: 0 / 1.401 GB, free: 12.82 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.418e-05/1.056, allocations: 11.94 kB / 1.401 GB, free: 12.81 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.462e-06/1.056, allocations: 0 / 1.401 GB, free: 12.81 MB / 1.107 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 (3): * Single equations (assignments): 3 * 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 8.279e-05/1.056, allocations: 105.8 kB / 1.401 GB, free: 12.7 MB / 1.107 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.215e-05/1.056, allocations: 3.938 kB / 1.401 GB, free: 12.7 MB / 1.107 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001744/1.056, allocations: 65.11 kB / 1.401 GB, free: 12.62 MB / 1.107 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.796e-06/1.056, allocations: 0 / 1.401 GB, free: 12.62 MB / 1.107 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.012e-06/1.056, allocations: 0.5625 kB / 1.401 GB, free: 12.62 MB / 1.107 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.296e-06/1.056, allocations: 0 / 1.401 GB, free: 12.62 MB / 1.107 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001321/1.056, allocations: 157.7 kB / 1.401 GB, free: 12.42 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.654e-06/1.056, allocations: 3.938 kB / 1.401 GB, free: 12.41 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.724e-05/1.056, allocations: 11.98 kB / 1.402 GB, free: 12.4 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.228e-06/1.056, allocations: 3.938 kB / 1.402 GB, free: 12.4 MB / 1.107 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.544e-06/1.056, allocations: 0 / 1.402 GB, free: 12.4 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.473e-06/1.056, allocations: 0 / 1.402 GB, free: 12.4 MB / 1.107 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/1.056, allocations: 0 / 1.402 GB, free: 12.4 MB / 1.107 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001899/1.056, allocations: 81.06 kB / 1.402 GB, free: 12.3 MB / 1.107 GB Notification: Performance of postOpt removeConstants (simulation): time 7.008e-05/1.056, allocations: 85.03 kB / 1.402 GB, free: 12.2 MB / 1.107 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.288e-05/1.056, allocations: 0 / 1.402 GB, free: 12.2 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.027e-05/1.056, allocations: 8 kB / 1.402 GB, free: 12.19 MB / 1.107 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.236e-05/1.056, allocations: 0 / 1.402 GB, free: 12.19 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.327e-06/1.056, allocations: 3.938 kB / 1.402 GB, free: 12.19 MB / 1.107 GB Notification: Performance of sorting global known variables: time 4.505e-05/1.056, allocations: 83.27 kB / 1.402 GB, free: 12.11 MB / 1.107 GB Notification: Performance of sort global known variables: time 7e-08/1.056, allocations: 0 / 1.402 GB, free: 12.11 MB / 1.107 GB Notification: Performance of remove unused functions: time 0.0001967/1.057, allocations: 8 kB / 1.402 GB, free: 12.1 MB / 1.107 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 (3): * Single equations (assignments): 3 * 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.0005511/1.057, allocations: 0.6324 MB / 1.402 GB, free: 11.43 MB / 1.107 GB Notification: Performance of simCode: created initialization part: time 0.0001484/1.057, allocations: 23.92 kB / 1.402 GB, free: 11.41 MB / 1.107 GB Notification: Performance of simCode: created event and clocks part: time 1.913e-06/1.057, allocations: 0 / 1.402 GB, free: 11.41 MB / 1.107 GB Notification: Performance of simCode: created simulation system equations: time 4.869e-05/1.057, allocations: 11.98 kB / 1.402 GB, free: 11.4 MB / 1.107 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002695/1.058, allocations: 14.34 kB / 1.402 GB, free: 11.39 MB / 1.107 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005024/1.058, allocations: 165.2 kB / 1.403 GB, free: 11.18 MB / 1.107 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003473/1.058, allocations: 0.6768 MB / 1.403 GB, free: 10.48 MB / 1.107 GB Notification: Performance of simCode: alias equations: time 3.949e-05/1.059, allocations: 4 kB / 1.403 GB, free: 10.48 MB / 1.107 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.613e-05/1.059, allocations: 11.44 kB / 1.403 GB, free: 10.46 MB / 1.107 GB Notification: Performance of SimCode: time 5.91e-07/1.059, allocations: 0 / 1.403 GB, free: 10.46 MB / 1.107 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02381/1.082, allocations: 1.381 MB / 1.405 GB, free: 9.203 MB / 1.107 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.992/9.075, allocations: 7.109 kB / 1.405 GB, free: 9.199 MB / 1.107 GB " [Timeout remaining time 291] (rm -f Buildings_11_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX.pipe ; mkfifo Buildings_11_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX.pipe >> ../files/Buildings_11_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX_res.mat --tempDir=temp_Buildings_11_Buildings_Utilities_Psychrometrics_Functions_Examples_Density_pTX_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Utilities_Psychrometrics_Functions_Examples_Density_pTX.fmu > Buildings_11_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_Psychrometrics_Functions_Examples_Density_pTX.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX.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.256355163175613]