Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_Buildings_Utilities_Psychrometrics_Functions_Examples_Density_pTX",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX,fileNamePrefix="Buildings_10_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.008069/0.008069, allocations: 103.5 kB / 15.74 MB, free: 6.059 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.001925/0.001925, allocations: 198.5 kB / 16.68 MB, free: 5.969 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.518/1.518, allocations: 222.9 MB / 240.4 MB, free: 4.184 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 3.317/3.317, allocations: 437 MB / 0.7105 GB, free: 4.934 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001459/0.001459, allocations: 67.89 kB / 1.018 GB, free: 15.03 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2902/0.2916, allocations: 151.6 MB / 1.166 GB, free: 7.289 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX): time 0.002813/0.2945, allocations: 1.284 MB / 1.167 GB, free: 5.992 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.7907/1.085, allocations: 132 MB / 1.296 GB, free: 13.95 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.308e-05/1.085, allocations: 0 / 1.296 GB, free: 13.95 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 2.036e-05/1.085, allocations: 0.6094 kB / 1.296 GB, free: 13.95 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 5.27e-05/1.085, allocations: 5.734 kB / 1.296 GB, free: 13.95 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003791/1.086, allocations: 55.8 kB / 1.296 GB, free: 13.93 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 8.138e-05/1.086, allocations: 24.8 kB / 1.296 GB, free: 13.93 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 3.869e-05/1.086, allocations: 5.984 kB / 1.296 GB, free: 13.92 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 4.475e-05/1.086, allocations: 7.281 kB / 1.296 GB, free: 13.92 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 5.364e-05/1.086, allocations: 9.906 kB / 1.296 GB, free: 13.92 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 1.278e-05/1.086, allocations: 0 / 1.296 GB, free: 13.92 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 8.467e-05/1.086, allocations: 15.22 kB / 1.296 GB, free: 13.92 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 1.626e-05/1.086, allocations: 11.69 kB / 1.296 GB, free: 13.92 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 3.444e-05/1.086, allocations: 9.156 kB / 1.296 GB, free: 13.91 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0001077/1.086, allocations: 26.22 kB / 1.297 GB, free: 13.91 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 3.948e-06/1.086, allocations: 0.6562 kB / 1.297 GB, free: 13.91 MB / 1.014 GB Notification: Performance of FrontEnd: time 5.571e-06/1.086, allocations: 0 / 1.297 GB, free: 13.91 MB / 1.014 GB Notification: Performance of Transformations before backend: time 4.238e-06/1.086, allocations: 5.156 kB / 1.297 GB, free: 13.91 MB / 1.014 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.0003701/1.087, allocations: 332.3 kB / 1.297 GB, free: 13.55 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 3.785e-05/1.087, allocations: 9.188 kB / 1.297 GB, free: 13.55 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.209e-05/1.087, allocations: 32.73 kB / 1.297 GB, free: 13.52 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.157e-05/1.087, allocations: 6.703 kB / 1.297 GB, free: 13.51 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001288/1.087, allocations: 165.4 kB / 1.297 GB, free: 13.32 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.967e-05/1.087, allocations: 34.38 kB / 1.297 GB, free: 13.29 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.077e-06/1.087, allocations: 1.594 kB / 1.297 GB, free: 13.29 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001208/1.087, allocations: 43.48 kB / 1.297 GB, free: 13.25 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.803e-06/1.087, allocations: 0 / 1.297 GB, free: 13.25 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.237e-06/1.087, allocations: 4.312 kB / 1.297 GB, free: 13.25 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.628e-06/1.087, allocations: 0.6562 kB / 1.297 GB, free: 13.25 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.708e-05/1.087, allocations: 14.72 kB / 1.297 GB, free: 13.24 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001594/1.088, allocations: 151.7 kB / 1.297 GB, free: 13.05 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 9.452e-05/1.088, allocations: 29.69 kB / 1.297 GB, free: 13.03 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.461e-05/1.088, allocations: 19.92 kB / 1.297 GB, free: 13.02 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001712/1.088, allocations: 93.14 kB / 1.297 GB, free: 12.92 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.273e-05/1.088, allocations: 36.39 kB / 1.297 GB, free: 12.88 MB / 1.014 GB Notification: Performance of pre-optimization done (n=3): time 1.272e-06/1.088, allocations: 0 / 1.297 GB, free: 12.88 MB / 1.014 GB Notification: Performance of matching and sorting (n=3): time 0.0002349/1.088, allocations: 62 kB / 1.297 GB, free: 12.84 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.424e-05/1.088, allocations: 53.22 kB / 1.298 GB, free: 12.78 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.358e-05/1.088, allocations: 99.08 kB / 1.298 GB, free: 12.68 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 1.334e-05/1.088, allocations: 30.23 kB / 1.298 GB, free: 12.65 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 2.574e-05/1.088, allocations: 80.14 kB / 1.298 GB, free: 12.57 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 2.43e-05/1.088, allocations: 14.12 kB / 1.298 GB, free: 12.55 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.647e-05/1.088, allocations: 17.19 kB / 1.298 GB, free: 12.54 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001001/1.088, allocations: 312.8 kB / 1.298 GB, free: 12.23 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.685e-05/1.089, allocations: 5.938 kB / 1.298 GB, free: 12.23 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.018e-05/1.089, allocations: 13.88 kB / 1.298 GB, free: 12.22 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.337e-05/1.089, allocations: 21.8 kB / 1.298 GB, free: 12.21 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.687e-06/1.089, allocations: 0 / 1.298 GB, free: 12.21 MB / 1.014 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.000126/1.089, allocations: 52.95 kB / 1.298 GB, free: 12.18 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 1.551e-05/1.089, allocations: 9.312 kB / 1.298 GB, free: 12.18 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.218e-06/1.089, allocations: 0 / 1.298 GB, free: 12.18 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.565e-05/1.089, allocations: 3.828 kB / 1.298 GB, free: 12.18 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.629e-05/1.089, allocations: 9.875 kB / 1.298 GB, free: 12.17 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.159e-06/1.089, allocations: 0.9688 kB / 1.298 GB, free: 12.17 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.099e-05/1.089, allocations: 6.062 kB / 1.298 GB, free: 12.17 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.053e-06/1.089, allocations: 1.094 kB / 1.298 GB, free: 12.17 MB / 1.014 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.076e-05/1.089, allocations: 112.1 kB / 1.298 GB, free: 12.05 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.222e-05/1.089, allocations: 6.766 kB / 1.298 GB, free: 12.05 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001631/1.089, allocations: 57.02 kB / 1.298 GB, free: 12.01 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.054e-06/1.089, allocations: 0 / 1.298 GB, free: 12.01 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.298e-06/1.089, allocations: 1.734 kB / 1.298 GB, free: 12.01 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.284e-06/1.089, allocations: 0 / 1.298 GB, free: 12.01 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.959e-05/1.089, allocations: 156.8 kB / 1.299 GB, free: 11.82 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.122e-06/1.089, allocations: 0 / 1.299 GB, free: 11.82 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.374e-05/1.089, allocations: 6.344 kB / 1.299 GB, free: 11.82 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.51e-06/1.089, allocations: 5.766 kB / 1.299 GB, free: 11.81 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.083e-06/1.089, allocations: 3.562 kB / 1.299 GB, free: 11.81 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.044e-06/1.09, allocations: 5.219 kB / 1.299 GB, free: 11.81 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.904e-06/1.09, allocations: 0.5156 kB / 1.299 GB, free: 11.81 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001513/1.09, allocations: 81.52 kB / 1.299 GB, free: 11.73 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 5.418e-05/1.09, allocations: 84.97 kB / 1.299 GB, free: 11.64 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.246e-05/1.09, allocations: 5.266 kB / 1.299 GB, free: 11.64 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.085e-05/1.09, allocations: 1.844 kB / 1.299 GB, free: 11.64 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.27e-05/1.09, allocations: 6.859 kB / 1.299 GB, free: 11.63 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.827e-06/1.09, allocations: 1.219 kB / 1.299 GB, free: 11.63 MB / 1.014 GB Notification: Performance of sorting global known variables: time 3.396e-05/1.09, allocations: 79.09 kB / 1.299 GB, free: 11.56 MB / 1.014 GB Notification: Performance of sort global known variables: time 1.91e-07/1.09, allocations: 0 / 1.299 GB, free: 11.56 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0002036/1.09, allocations: 13.98 kB / 1.299 GB, free: 11.55 MB / 1.014 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.0004442/1.091, allocations: 0.624 MB / 1.299 GB, free: 10.96 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.000134/1.091, allocations: 24.05 kB / 1.299 GB, free: 10.95 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 1.773e-06/1.091, allocations: 1.125 kB / 1.299 GB, free: 10.95 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 4.563e-05/1.091, allocations: 8.422 kB / 1.299 GB, free: 10.95 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002422/1.091, allocations: 11.02 kB / 1.299 GB, free: 10.95 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004021/1.091, allocations: 165.9 kB / 1.3 GB, free: 10.8 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002202/1.092, allocations: 0.6801 MB / 1.3 GB, free: 10.1 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 4.22e-05/1.092, allocations: 9.766 kB / 1.3 GB, free: 10.09 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.025e-05/1.092, allocations: 11.98 kB / 1.3 GB, free: 10.08 MB / 1.014 GB Notification: Performance of SimCode: time 2.4e-07/1.092, allocations: 0 / 1.3 GB, free: 10.08 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01704/1.109, allocations: 1.36 MB / 1.302 GB, free: 9.734 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.756/8.865, allocations: 13.44 kB / 1.302 GB, free: 9.727 MB / 1.014 GB (rm -f Buildings_10_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX.pipe ; mkfifo Buildings_10_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX.pipe ; head -c 1048576 < Buildings_10_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX.pipe >> ../files/Buildings_10_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX_res.mat --tempDir=temp_Buildings_10_Buildings_Utilities_Psychrometrics_Functions_Examples_Density_pTX_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Utilities_Psychrometrics_Functions_Examples_Density_pTX.fmu > Buildings_10_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Utilities_Psychrometrics_Functions_Examples_Density_pTX.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_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