Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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_latest_Buildings_Utilities_Psychrometrics_Functions_Examples_Density_pTX",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX,fileNamePrefix="Buildings_latest_Buildings_Utilities_Psychrometrics_Functions_Examples_Density_pTX",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.002185/0.002185, allocations: 108.6 kB / 15.73 MB, free: 84 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002496/0.002496, allocations: 200.1 kB / 16.66 MB, free: 6.57 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.415/1.415, allocations: 222.9 MB / 240.4 MB, free: 4.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.729/2.729, allocations: 461.9 MB / 0.7348 GB, free: 14.7 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001355/0.001355, allocations: 63.91 kB / 1.054 GB, free: 7.691 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2993/0.3006, allocations: 157.4 MB / 1.207 GB, free: 10.19 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX): time 0.002321/0.303, allocations: 1.283 MB / 1.209 GB, free: 8.895 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.8256/1.129, allocations: 132 MB / 1.337 GB, free: 9.812 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.644e-05/1.129, allocations: 3.828 kB / 1.337 GB, free: 9.812 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 2.004e-05/1.129, allocations: 0.6094 kB / 1.337 GB, free: 9.812 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 6.774e-05/1.129, allocations: 10.77 kB / 1.337 GB, free: 9.805 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004293/1.129, allocations: 56.2 kB / 1.338 GB, free: 9.777 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 9.366e-05/1.129, allocations: 25.09 kB / 1.338 GB, free: 9.766 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 4.607e-05/1.129, allocations: 3.406 kB / 1.338 GB, free: 9.766 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 4.508e-05/1.13, allocations: 5.844 kB / 1.338 GB, free: 9.766 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 6.745e-05/1.13, allocations: 10.75 kB / 1.338 GB, free: 9.762 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 1.525e-05/1.13, allocations: 1.188 kB / 1.338 GB, free: 9.762 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 7.539e-05/1.13, allocations: 14.2 kB / 1.338 GB, free: 9.758 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 1.763e-05/1.13, allocations: 4.797 kB / 1.338 GB, free: 9.754 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 3.234e-05/1.13, allocations: 8.703 kB / 1.338 GB, free: 9.75 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0001173/1.13, allocations: 31.61 kB / 1.338 GB, free: 9.742 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 5.27e-06/1.13, allocations: 0 / 1.338 GB, free: 9.742 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.393e-06/1.13, allocations: 0 / 1.338 GB, free: 9.742 MB / 1.045 GB Notification: Performance of Transformations before backend: time 6.963e-06/1.13, allocations: 0 / 1.338 GB, free: 9.742 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0004402/1.13, allocations: 333.4 kB / 1.338 GB, free: 9.387 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 4.145e-05/1.13, allocations: 10.66 kB / 1.338 GB, free: 9.387 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.621e-05/1.13, allocations: 36.5 kB / 1.338 GB, free: 9.344 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.907e-05/1.13, allocations: 7.219 kB / 1.338 GB, free: 9.34 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001309/1.131, allocations: 166.9 kB / 1.338 GB, free: 9.141 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.391e-05/1.131, allocations: 37 kB / 1.338 GB, free: 9.102 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.2e-05/1.131, allocations: 1.562 kB / 1.338 GB, free: 9.102 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000133/1.131, allocations: 45.05 kB / 1.338 GB, free: 9.062 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.586e-06/1.131, allocations: 0 / 1.338 GB, free: 9.062 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.266e-06/1.131, allocations: 0 / 1.338 GB, free: 9.062 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.133e-06/1.131, allocations: 5.078 kB / 1.338 GB, free: 9.059 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.498e-05/1.131, allocations: 11.64 kB / 1.338 GB, free: 9.059 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001738/1.131, allocations: 152 kB / 1.338 GB, free: 8.867 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 9.85e-05/1.131, allocations: 38.81 kB / 1.338 GB, free: 8.832 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.749e-05/1.131, allocations: 16.2 kB / 1.338 GB, free: 8.82 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001737/1.132, allocations: 88.34 kB / 1.339 GB, free: 8.727 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.112e-05/1.132, allocations: 36.38 kB / 1.339 GB, free: 8.684 MB / 1.045 GB Notification: Performance of pre-optimization done (n=3): time 1.032e-06/1.132, allocations: 1.312 kB / 1.339 GB, free: 8.684 MB / 1.045 GB Notification: Performance of matching and sorting (n=3): time 0.0002321/1.132, allocations: 58.78 kB / 1.339 GB, free: 8.645 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.652e-05/1.132, allocations: 55.34 kB / 1.339 GB, free: 8.578 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.566e-05/1.132, allocations: 100.6 kB / 1.339 GB, free: 8.477 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 1.337e-05/1.132, allocations: 25.7 kB / 1.339 GB, free: 8.445 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 2.939e-05/1.132, allocations: 80.14 kB / 1.339 GB, free: 8.363 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 2.883e-05/1.132, allocations: 13.89 kB / 1.339 GB, free: 8.352 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.576e-05/1.132, allocations: 18.39 kB / 1.339 GB, free: 8.332 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001296/1.132, allocations: 316.6 kB / 1.339 GB, free: 8.016 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.807e-05/1.132, allocations: 5.656 kB / 1.339 GB, free: 8.016 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4e-05/1.132, allocations: 11.53 kB / 1.339 GB, free: 8.012 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.322e-05/1.132, allocations: 21.64 kB / 1.339 GB, free: 8 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.723e-06/1.132, allocations: 0 / 1.339 GB, free: 8 MB / 1.045 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001163/1.133, allocations: 49.52 kB / 1.339 GB, free: 7.965 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 1.88e-05/1.133, allocations: 13.12 kB / 1.339 GB, free: 7.957 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.39e-06/1.133, allocations: 4.734 kB / 1.339 GB, free: 7.953 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.271e-05/1.133, allocations: 4 kB / 1.339 GB, free: 7.949 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.921e-05/1.133, allocations: 7.062 kB / 1.339 GB, free: 7.949 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.901e-06/1.133, allocations: 0.7969 kB / 1.339 GB, free: 7.949 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.11e-05/1.133, allocations: 1.922 kB / 1.339 GB, free: 7.949 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.681e-06/1.133, allocations: 1.031 kB / 1.339 GB, free: 7.949 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 (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.909e-05/1.133, allocations: 109 kB / 1.339 GB, free: 7.836 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.241e-05/1.133, allocations: 5.406 kB / 1.339 GB, free: 7.832 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001779/1.133, allocations: 57.72 kB / 1.339 GB, free: 7.789 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.465e-06/1.133, allocations: 9.656 kB / 1.339 GB, free: 7.781 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.419e-06/1.133, allocations: 0.7969 kB / 1.339 GB, free: 7.781 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.404e-06/1.133, allocations: 0 / 1.339 GB, free: 7.781 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001047/1.133, allocations: 153.9 kB / 1.34 GB, free: 7.59 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.156e-06/1.133, allocations: 0.6562 kB / 1.34 GB, free: 7.59 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.361e-05/1.133, allocations: 10.34 kB / 1.34 GB, free: 7.586 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.037e-06/1.133, allocations: 4.453 kB / 1.34 GB, free: 7.582 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.454e-06/1.133, allocations: 2.188 kB / 1.34 GB, free: 7.582 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.944e-06/1.133, allocations: 0.5156 kB / 1.34 GB, free: 7.582 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.583e-06/1.133, allocations: 1.094 kB / 1.34 GB, free: 7.582 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001535/1.133, allocations: 81.88 kB / 1.34 GB, free: 7.504 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 5.965e-05/1.133, allocations: 87.78 kB / 1.34 GB, free: 7.402 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.27e-05/1.133, allocations: 2.031 kB / 1.34 GB, free: 7.402 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.029e-05/1.134, allocations: 1.422 kB / 1.34 GB, free: 7.402 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.736e-05/1.134, allocations: 3.328 kB / 1.34 GB, free: 7.402 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.937e-06/1.134, allocations: 2.031 kB / 1.34 GB, free: 7.402 MB / 1.045 GB Notification: Performance of sorting global known variables: time 3.84e-05/1.134, allocations: 82.75 kB / 1.34 GB, free: 7.324 MB / 1.045 GB Notification: Performance of sort global known variables: time 1.2e-07/1.134, allocations: 0 / 1.34 GB, free: 7.324 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0001919/1.134, allocations: 9.453 kB / 1.34 GB, free: 7.324 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 (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.0004868/1.134, allocations: 0.6236 MB / 1.341 GB, free: 6.719 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.0001559/1.134, allocations: 25.45 kB / 1.341 GB, free: 6.711 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 1.593e-06/1.134, allocations: 0 / 1.341 GB, free: 6.711 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 5.197e-05/1.135, allocations: 13.22 kB / 1.341 GB, free: 6.707 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002216/1.135, allocations: 11.34 kB / 1.341 GB, free: 6.703 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004223/1.135, allocations: 161.9 kB / 1.341 GB, free: 6.547 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002618/1.135, allocations: 0.6783 MB / 1.341 GB, free: 5.848 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 3.537e-05/1.136, allocations: 7.359 kB / 1.341 GB, free: 5.844 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.509e-05/1.136, allocations: 12.95 kB / 1.341 GB, free: 5.832 MB / 1.045 GB Notification: Performance of SimCode: time 2.41e-07/1.136, allocations: 1.094 kB / 1.341 GB, free: 5.832 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01912/1.155, allocations: 1.38 MB / 1.343 GB, free: 5.504 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.786/8.941, allocations: 12.97 kB / 1.343 GB, free: 5.492 MB / 1.045 GB (rm -f Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX.pipe >> ../files/Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX_res.mat --tempDir=temp_Buildings_latest_Buildings_Utilities_Psychrometrics_Functions_Examples_Density_pTX_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Utilities_Psychrometrics_Functions_Examples_Density_pTX.fmu > Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Psychrometrics_Functions_Examples_Density_pTX.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "" Variables in the reference:time,T,X_w,d Variables in the result:T,X_w,d,p,time