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.001425/0.001425, allocations: 110.8 kB / 17.54 MB, free: 4.641 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.001411/0.001411, allocations: 189.9 kB / 20.71 MB, free: 1.484 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.31/1.31, allocations: 225.6 MB / 249.3 MB, free: 3.34 MB / 190.1 MB " [Timeout remaining time 179] 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.497/2.497, allocations: 476.7 MB / 0.7628 GB, free: 15.19 MB / 0.6075 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.001813/0.001813, allocations: 63.89 kB / 1.107 GB, free: 5.148 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7625/0.7643, allocations: 168.7 MB / 1.271 GB, free: 7.695 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX): time 0.001903/0.7662, allocations: 1.3 MB / 1.273 GB, free: 6.801 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.1436/0.9098, allocations: 132.4 MB / 1.402 GB, free: 5.941 MB / 1.092 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.62e-05/0.9098, allocations: 7.938 kB / 1.402 GB, free: 5.934 MB / 1.092 GB Notification: Performance of NFTyping.typeComponents: time 1.936e-05/0.9099, allocations: 7.875 kB / 1.402 GB, free: 5.926 MB / 1.092 GB Notification: Performance of NFTyping.typeBindings: time 4.653e-05/0.9099, allocations: 9.016 kB / 1.402 GB, free: 5.918 MB / 1.092 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003303/0.9102, allocations: 59.61 kB / 1.402 GB, free: 5.879 MB / 1.092 GB Notification: Performance of NFFlatten.flatten: time 7.143e-05/0.9103, allocations: 22.16 kB / 1.402 GB, free: 5.867 MB / 1.092 GB Notification: Performance of NFFlatten.resolveConnections: time 3.396e-05/0.9103, allocations: 6.766 kB / 1.402 GB, free: 5.863 MB / 1.092 GB Notification: Performance of NFEvalConstants.evaluate: time 3.637e-05/0.9104, allocations: 4.75 kB / 1.402 GB, free: 5.863 MB / 1.092 GB Notification: Performance of NFSimplifyModel.simplify: time 5.608e-05/0.9104, allocations: 11.5 kB / 1.402 GB, free: 5.855 MB / 1.092 GB Notification: Performance of NFPackage.collectConstants: time 1.11e-05/0.9105, allocations: 1.406 kB / 1.402 GB, free: 5.855 MB / 1.092 GB Notification: Performance of NFFlatten.collectFunctions: time 6.79e-05/0.9105, allocations: 16.11 kB / 1.402 GB, free: 5.848 MB / 1.092 GB Notification: Performance of NFScalarize.scalarize: time 1.315e-05/0.9105, allocations: 7.984 kB / 1.402 GB, free: 5.84 MB / 1.092 GB Notification: Performance of NFVerifyModel.verify: time 2.609e-05/0.9106, allocations: 7.719 kB / 1.402 GB, free: 5.836 MB / 1.092 GB Notification: Performance of NFConvertDAE.convert: time 9.762e-05/0.9107, allocations: 24.53 kB / 1.402 GB, free: 5.824 MB / 1.092 GB Notification: Performance of FrontEnd - DAE generated: time 3.406e-06/0.9107, allocations: 1.125 kB / 1.402 GB, free: 5.824 MB / 1.092 GB Notification: Performance of FrontEnd: time 1.483e-06/0.9107, allocations: 0 / 1.402 GB, free: 5.824 MB / 1.092 GB Notification: Performance of Transformations before backend: time 8.035e-06/0.9107, allocations: 0 / 1.402 GB, free: 5.824 MB / 1.092 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.0003851/0.9111, allocations: 333 kB / 1.402 GB, free: 5.461 MB / 1.092 GB Notification: Performance of prepare preOptimizeDAE: time 3.104e-05/0.9111, allocations: 10.16 kB / 1.402 GB, free: 5.461 MB / 1.092 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.306e-05/0.9111, allocations: 32.09 kB / 1.402 GB, free: 5.422 MB / 1.092 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.599e-05/0.9111, allocations: 9.703 kB / 1.402 GB, free: 5.414 MB / 1.092 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001179/0.9113, allocations: 161.8 kB / 1.403 GB, free: 5.219 MB / 1.092 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.761e-05/0.9113, allocations: 36.56 kB / 1.403 GB, free: 5.18 MB / 1.092 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.512e-06/0.9113, allocations: 2.062 kB / 1.403 GB, free: 5.18 MB / 1.092 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001119/0.9114, allocations: 47.66 kB / 1.403 GB, free: 5.133 MB / 1.092 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.352e-06/0.9115, allocations: 0 / 1.403 GB, free: 5.133 MB / 1.092 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.424e-06/0.9115, allocations: 1.562 kB / 1.403 GB, free: 5.133 MB / 1.092 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.23e-06/0.9115, allocations: 3.984 kB / 1.403 GB, free: 5.129 MB / 1.092 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.268e-05/0.9116, allocations: 19.08 kB / 1.403 GB, free: 5.117 MB / 1.092 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001624/0.9117, allocations: 149.4 kB / 1.403 GB, free: 4.926 MB / 1.092 GB Notification: Performance of preOpt comSubExp (simulation): time 9.04e-05/0.9118, allocations: 31.8 kB / 1.403 GB, free: 4.895 MB / 1.092 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.672e-05/0.9119, allocations: 13.33 kB / 1.403 GB, free: 4.883 MB / 1.092 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001461/0.912, allocations: 89.22 kB / 1.403 GB, free: 4.785 MB / 1.092 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.952e-05/0.912, allocations: 47.77 kB / 1.403 GB, free: 4.73 MB / 1.092 GB Notification: Performance of pre-optimization done (n=3): time 1.002e-06/0.912, allocations: 0 / 1.403 GB, free: 4.73 MB / 1.092 GB Notification: Performance of matching and sorting (n=3): time 0.0002101/0.9122, allocations: 51.75 kB / 1.403 GB, free: 4.691 MB / 1.092 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.499e-05/0.9123, allocations: 51.41 kB / 1.403 GB, free: 4.629 MB / 1.092 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.84e-05/0.9123, allocations: 102.2 kB / 1.403 GB, free: 4.523 MB / 1.092 GB Notification: Performance of collectPreVariables (initialization): time 1.301e-05/0.9124, allocations: 25.7 kB / 1.403 GB, free: 4.492 MB / 1.092 GB Notification: Performance of collectInitialEqns (initialization): time 3.131e-05/0.9124, allocations: 80.14 kB / 1.403 GB, free: 4.41 MB / 1.092 GB Notification: Performance of collectInitialBindings (initialization): time 2.031e-05/0.9124, allocations: 13.19 kB / 1.403 GB, free: 4.398 MB / 1.092 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.076e-05/0.9124, allocations: 22.16 kB / 1.403 GB, free: 4.375 MB / 1.092 GB Notification: Performance of setup shared object (initialization): time 0.0001183/0.9126, allocations: 318.8 kB / 1.404 GB, free: 4.055 MB / 1.092 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.055e-05/0.9126, allocations: 3.875 kB / 1.404 GB, free: 4.055 MB / 1.092 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.524e-05/0.9126, allocations: 9.688 kB / 1.404 GB, free: 4.051 MB / 1.092 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.966e-05/0.9127, allocations: 22.66 kB / 1.404 GB, free: 4.035 MB / 1.092 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.232e-06/0.9127, allocations: 0 / 1.404 GB, free: 4.035 MB / 1.092 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001158/0.9128, allocations: 51.83 kB / 1.404 GB, free: 3.992 MB / 1.092 GB Notification: Performance of prepare postOptimizeDAE: time 1.191e-05/0.9128, allocations: 12.59 kB / 1.404 GB, free: 3.984 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.687e-06/0.9128, allocations: 1.281 kB / 1.404 GB, free: 3.984 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.202e-05/0.9129, allocations: 0 / 1.404 GB, free: 3.984 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.059e-05/0.9129, allocations: 9.156 kB / 1.404 GB, free: 3.98 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.228e-06/0.9129, allocations: 0 / 1.404 GB, free: 3.98 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.155e-05/0.913, allocations: 6.438 kB / 1.404 GB, free: 3.977 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.969e-06/0.913, allocations: 0 / 1.404 GB, free: 3.977 MB / 1.092 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 6.851e-05/0.913, allocations: 112.5 kB / 1.404 GB, free: 3.859 MB / 1.092 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.998e-06/0.913, allocations: 9.281 kB / 1.404 GB, free: 3.852 MB / 1.092 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001442/0.9132, allocations: 54.59 kB / 1.404 GB, free: 3.801 MB / 1.092 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.613e-06/0.9132, allocations: 0.5625 kB / 1.404 GB, free: 3.801 MB / 1.092 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.881e-06/0.9132, allocations: 5.484 kB / 1.404 GB, free: 3.797 MB / 1.092 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.284e-06/0.9132, allocations: 3.938 kB / 1.404 GB, free: 3.793 MB / 1.092 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001076/0.9133, allocations: 156.6 kB / 1.404 GB, free: 3.594 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.312e-06/0.9133, allocations: 1.406 kB / 1.404 GB, free: 3.594 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.011e-05/0.9133, allocations: 7.891 kB / 1.404 GB, free: 3.59 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.236e-06/0.9133, allocations: 9 kB / 1.404 GB, free: 3.582 MB / 1.092 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.955e-06/0.9133, allocations: 4 kB / 1.404 GB, free: 3.578 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.61e-07/0.9133, allocations: 5.062 kB / 1.404 GB, free: 3.574 MB / 1.092 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.92e-07/0.9134, allocations: 0 / 1.404 GB, free: 3.574 MB / 1.092 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001353/0.9135, allocations: 77.03 kB / 1.404 GB, free: 3.496 MB / 1.092 GB Notification: Performance of postOpt removeConstants (simulation): time 6.258e-05/0.9135, allocations: 86.17 kB / 1.404 GB, free: 3.395 MB / 1.092 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.508e-06/0.9136, allocations: 1.062 kB / 1.404 GB, free: 3.395 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.745e-05/0.9136, allocations: 1.188 kB / 1.404 GB, free: 3.395 MB / 1.092 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.013e-05/0.9136, allocations: 5.047 kB / 1.404 GB, free: 3.391 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.605e-06/0.9136, allocations: 5.125 kB / 1.404 GB, free: 3.387 MB / 1.092 GB Notification: Performance of sorting global known variables: time 3.514e-05/0.9137, allocations: 78.56 kB / 1.404 GB, free: 3.312 MB / 1.092 GB Notification: Performance of sort global known variables: time 8.1e-08/0.9137, allocations: 0 / 1.404 GB, free: 3.312 MB / 1.092 GB Notification: Performance of remove unused functions: time 0.0001735/0.9138, allocations: 7.781 kB / 1.404 GB, free: 3.312 MB / 1.092 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.0004465/0.9143, allocations: 0.632 MB / 1.405 GB, free: 2.688 MB / 1.092 GB Notification: Performance of simCode: created initialization part: time 0.0001272/0.9144, allocations: 20.7 kB / 1.405 GB, free: 2.68 MB / 1.092 GB Notification: Performance of simCode: created event and clocks part: time 1.804e-06/0.9144, allocations: 0 / 1.405 GB, free: 2.68 MB / 1.092 GB Notification: Performance of simCode: created simulation system equations: time 4.452e-05/0.9144, allocations: 11.59 kB / 1.405 GB, free: 2.676 MB / 1.092 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002068/0.9147, allocations: 16.73 kB / 1.405 GB, free: 2.664 MB / 1.092 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003519/0.915, allocations: 153.3 kB / 1.405 GB, free: 2.504 MB / 1.092 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000262/0.9153, allocations: 0.6815 MB / 1.406 GB, free: 1.801 MB / 1.092 GB Notification: Performance of simCode: alias equations: time 3.396e-05/0.9153, allocations: 1.281 kB / 1.406 GB, free: 1.801 MB / 1.092 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.64e-05/0.9153, allocations: 9.594 kB / 1.406 GB, free: 1.793 MB / 1.092 GB Notification: Performance of SimCode: time 2.61e-07/0.9153, allocations: 0 / 1.406 GB, free: 1.793 MB / 1.092 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02308/0.9384, allocations: 1.34 MB / 1.407 GB, free: 1.039 MB / 1.092 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.926/7.864, allocations: 15.47 kB / 1.407 GB, free: 1.031 MB / 1.092 GB " [Timeout remaining time 292] (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 --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/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] "" Variables in the reference:time,T,X_w,d Variables in the result:T,X_w,d,p,time [Calling sys.exit(0), Time elapsed: 13.120648526999503]