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.008368/0.008368, allocations: 100.5 kB / 15.73 MB, free: 5.977 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001924/0.001925, allocations: 197.2 kB / 16.67 MB, free: 5.914 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.443/1.443, allocations: 222.9 MB / 240.4 MB, free: 4.305 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.733/2.733, allocations: 461.9 MB / 0.7348 GB, free: 14.59 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001284/0.001285, allocations: 63.89 kB / 1.054 GB, free: 7.586 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2732/0.2745, allocations: 157.4 MB / 1.207 GB, free: 10.09 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX): time 0.002392/0.277, allocations: 1.283 MB / 1.209 GB, free: 8.789 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.7597/1.037, allocations: 132 MB / 1.337 GB, free: 9.676 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.713e-05/1.037, allocations: 0 / 1.337 GB, free: 9.676 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 2.333e-05/1.037, allocations: 4.656 kB / 1.337 GB, free: 9.672 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 6.669e-05/1.037, allocations: 9.875 kB / 1.337 GB, free: 9.664 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004706/1.037, allocations: 52.59 kB / 1.338 GB, free: 9.641 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.0001132/1.038, allocations: 25.22 kB / 1.338 GB, free: 9.629 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 4.821e-05/1.038, allocations: 2.797 kB / 1.338 GB, free: 9.629 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 5.074e-05/1.038, allocations: 6.672 kB / 1.338 GB, free: 9.629 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 6.613e-05/1.038, allocations: 9.641 kB / 1.338 GB, free: 9.625 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 1.321e-05/1.038, allocations: 1.281 kB / 1.338 GB, free: 9.625 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 9.581e-05/1.038, allocations: 13.67 kB / 1.338 GB, free: 9.621 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 2.109e-05/1.038, allocations: 10.52 kB / 1.338 GB, free: 9.613 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 3.179e-05/1.038, allocations: 15.86 kB / 1.338 GB, free: 9.602 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0001233/1.038, allocations: 22.48 kB / 1.338 GB, free: 9.602 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 5.691e-06/1.038, allocations: 1.094 kB / 1.338 GB, free: 9.602 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.754e-06/1.038, allocations: 0 / 1.338 GB, free: 9.602 MB / 1.045 GB Notification: Performance of Transformations before backend: time 7.003e-06/1.038, allocations: 0.5625 kB / 1.338 GB, free: 9.602 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.0004915/1.039, allocations: 337.7 kB / 1.338 GB, free: 9.242 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 5.026e-05/1.039, allocations: 10.19 kB / 1.338 GB, free: 9.242 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.224e-05/1.039, allocations: 35.81 kB / 1.338 GB, free: 9.199 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.748e-05/1.039, allocations: 11.7 kB / 1.338 GB, free: 9.191 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001303/1.039, allocations: 162.7 kB / 1.338 GB, free: 8.996 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.408e-05/1.039, allocations: 29.75 kB / 1.338 GB, free: 8.965 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.989e-06/1.039, allocations: 1.469 kB / 1.338 GB, free: 8.965 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001493/1.039, allocations: 43.95 kB / 1.338 GB, free: 8.926 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.398e-06/1.039, allocations: 1.062 kB / 1.338 GB, free: 8.926 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.227e-06/1.039, allocations: 0 / 1.338 GB, free: 8.926 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.39e-06/1.039, allocations: 0.7969 kB / 1.338 GB, free: 8.926 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.442e-05/1.039, allocations: 15.89 kB / 1.338 GB, free: 8.922 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001827/1.04, allocations: 156.1 kB / 1.338 GB, free: 8.727 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00012/1.04, allocations: 30.2 kB / 1.338 GB, free: 8.699 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.79e-05/1.04, allocations: 16.11 kB / 1.338 GB, free: 8.688 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001769/1.04, allocations: 90.75 kB / 1.339 GB, free: 8.594 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.863e-05/1.04, allocations: 40.61 kB / 1.339 GB, free: 8.547 MB / 1.045 GB Notification: Performance of pre-optimization done (n=3): time 1.262e-06/1.04, allocations: 0 / 1.339 GB, free: 8.547 MB / 1.045 GB Notification: Performance of matching and sorting (n=3): time 0.00026/1.04, allocations: 57.67 kB / 1.339 GB, free: 8.508 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.205e-05/1.04, allocations: 53.06 kB / 1.339 GB, free: 8.445 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.767e-05/1.04, allocations: 102.9 kB / 1.339 GB, free: 8.34 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 1.312e-05/1.04, allocations: 25.7 kB / 1.339 GB, free: 8.309 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 3.635e-05/1.04, allocations: 82.14 kB / 1.339 GB, free: 8.227 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 2.604e-05/1.04, allocations: 13.69 kB / 1.339 GB, free: 8.215 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.45e-05/1.04, allocations: 20.81 kB / 1.339 GB, free: 8.191 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001043/1.041, allocations: 313 kB / 1.339 GB, free: 7.879 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.811e-05/1.041, allocations: 6.172 kB / 1.339 GB, free: 7.879 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.833e-05/1.041, allocations: 6.688 kB / 1.339 GB, free: 7.879 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.85e-05/1.041, allocations: 22.03 kB / 1.339 GB, free: 7.867 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.903e-06/1.041, allocations: 0 / 1.339 GB, free: 7.867 MB / 1.045 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001367/1.041, allocations: 53.56 kB / 1.339 GB, free: 7.828 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 1.718e-05/1.041, allocations: 13.22 kB / 1.339 GB, free: 7.82 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.821e-06/1.041, allocations: 0.6562 kB / 1.339 GB, free: 7.82 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.341e-05/1.041, allocations: 1.906 kB / 1.339 GB, free: 7.82 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.779e-05/1.041, allocations: 5.594 kB / 1.339 GB, free: 7.82 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.033e-06/1.041, allocations: 0 / 1.339 GB, free: 7.82 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.363e-05/1.041, allocations: 11.36 kB / 1.339 GB, free: 7.812 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.753e-06/1.041, allocations: 1.094 kB / 1.339 GB, free: 7.812 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 7.491e-05/1.041, allocations: 107.8 kB / 1.339 GB, free: 7.699 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.209e-05/1.041, allocations: 5.031 kB / 1.339 GB, free: 7.695 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001745/1.041, allocations: 67.08 kB / 1.339 GB, free: 7.645 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.985e-06/1.041, allocations: 0.5625 kB / 1.339 GB, free: 7.645 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.609e-06/1.041, allocations: 1.094 kB / 1.339 GB, free: 7.645 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.176e-06/1.041, allocations: 0.6562 kB / 1.34 GB, free: 7.645 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001135/1.042, allocations: 152.5 kB / 1.34 GB, free: 7.453 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.475e-06/1.042, allocations: 1.469 kB / 1.34 GB, free: 7.453 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.838e-05/1.042, allocations: 10.31 kB / 1.34 GB, free: 7.449 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.869e-06/1.042, allocations: 8.969 kB / 1.34 GB, free: 7.441 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.294e-06/1.042, allocations: 0.6562 kB / 1.34 GB, free: 7.441 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.874e-06/1.042, allocations: 5.125 kB / 1.34 GB, free: 7.438 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.904e-06/1.042, allocations: 1.125 kB / 1.34 GB, free: 7.438 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001515/1.042, allocations: 78.64 kB / 1.34 GB, free: 7.363 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 6.672e-05/1.042, allocations: 83.56 kB / 1.34 GB, free: 7.266 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.298e-05/1.042, allocations: 1.766 kB / 1.34 GB, free: 7.266 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.112e-05/1.042, allocations: 2.484 kB / 1.34 GB, free: 7.266 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.444e-05/1.042, allocations: 6.703 kB / 1.34 GB, free: 7.262 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.218e-06/1.042, allocations: 4.875 kB / 1.34 GB, free: 7.258 MB / 1.045 GB Notification: Performance of sorting global known variables: time 3.778e-05/1.042, allocations: 79.16 kB / 1.34 GB, free: 7.184 MB / 1.045 GB Notification: Performance of sort global known variables: time 1e-07/1.042, allocations: 0 / 1.34 GB, free: 7.184 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0001968/1.042, allocations: 8.781 kB / 1.34 GB, free: 7.184 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.0004727/1.043, allocations: 0.6281 MB / 1.341 GB, free: 6.574 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.0001559/1.043, allocations: 25.28 kB / 1.341 GB, free: 6.566 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/1.043, allocations: 1.188 kB / 1.341 GB, free: 6.566 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 4.851e-05/1.043, allocations: 8.516 kB / 1.341 GB, free: 6.566 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002617/1.043, allocations: 12.39 kB / 1.341 GB, free: 6.562 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000446/1.044, allocations: 160.6 kB / 1.341 GB, free: 6.402 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002652/1.044, allocations: 0.6835 MB / 1.341 GB, free: 5.699 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 3.968e-05/1.044, allocations: 1.844 kB / 1.341 GB, free: 5.699 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.169e-05/1.044, allocations: 10.67 kB / 1.341 GB, free: 5.695 MB / 1.045 GB Notification: Performance of SimCode: time 2.51e-07/1.044, allocations: 3.938 kB / 1.341 GB, free: 5.691 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01827/1.062, allocations: 1.38 MB / 1.343 GB, free: 5.363 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.554/8.617, allocations: 11.75 kB / 1.343 GB, free: 5.355 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