Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_9_Buildings_Utilities_Psychrometrics_Functions_Examples_Density_pTX",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX,fileNamePrefix="Buildings_9_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.005249/0.005249, allocations: 101.2 kB / 15.73 MB, free: 6.047 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.001215/0.001215, allocations: 193.3 kB / 16.67 MB, free: 5.977 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.324 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.409/2.409, allocations: 390.3 MB / 0.6648 GB, free: 188 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001322/0.001322, allocations: 62.77 kB / 0.9504 GB, free: 5.973 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2816/0.2829, allocations: 140.4 MB / 1.087 GB, free: 2 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX): time 0.002408/0.2854, allocations: 1.266 MB / 1.089 GB, free: 0.7227 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.1308/0.4162, allocations: 132 MB / 1.218 GB, free: 12.18 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.398e-05/0.4163, allocations: 0 / 1.218 GB, free: 12.18 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 2.209e-05/0.4164, allocations: 7.875 kB / 1.218 GB, free: 12.17 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 4.784e-05/0.4164, allocations: 4 kB / 1.218 GB, free: 12.16 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003491/0.4168, allocations: 59.66 kB / 1.218 GB, free: 12.11 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 7.061e-05/0.4169, allocations: 19.94 kB / 1.218 GB, free: 12.09 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 3.95e-05/0.4169, allocations: 7.984 kB / 1.218 GB, free: 12.08 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 4.15e-05/0.4169, allocations: 7.984 kB / 1.218 GB, free: 12.07 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 5.877e-05/0.417, allocations: 11.83 kB / 1.218 GB, free: 12.06 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.193e-05/0.417, allocations: 3.938 kB / 1.218 GB, free: 12.06 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 6.862e-05/0.4171, allocations: 11.98 kB / 1.218 GB, free: 12.05 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 1.385e-05/0.4171, allocations: 4 kB / 1.218 GB, free: 12.04 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 2.296e-05/0.4172, allocations: 7.938 kB / 1.218 GB, free: 12.04 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 9.766e-05/0.4173, allocations: 30.78 kB / 1.218 GB, free: 12.01 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 3.667e-06/0.4173, allocations: 0 / 1.218 GB, free: 12.01 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.112e-06/0.4173, allocations: 0 / 1.218 GB, free: 12.01 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 4.138e-06/0.4173, allocations: 4 kB / 1.218 GB, free: 12 MB / 0.9825 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.0003586/0.4176, allocations: 336.3 kB / 1.218 GB, free: 11.62 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.637e-05/0.4177, allocations: 8.031 kB / 1.218 GB, free: 11.62 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.926e-05/0.4177, allocations: 30.75 kB / 1.218 GB, free: 11.58 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.931e-05/0.4178, allocations: 8.844 kB / 1.218 GB, free: 11.57 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.432e-05/0.4179, allocations: 164.4 kB / 1.218 GB, free: 11.37 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.908e-05/0.4179, allocations: 34.25 kB / 1.218 GB, free: 11.33 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.004e-06/0.4179, allocations: 384 / 1.218 GB, free: 11.33 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001144/0.4181, allocations: 49.94 kB / 1.218 GB, free: 11.28 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.572e-06/0.4181, allocations: 4 kB / 1.218 GB, free: 11.27 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.003e-06/0.4181, allocations: 0 / 1.218 GB, free: 11.27 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.617e-06/0.4181, allocations: 0 / 1.218 GB, free: 11.27 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.413e-05/0.4182, allocations: 11.98 kB / 1.218 GB, free: 11.26 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001387/0.4183, allocations: 149.7 kB / 1.219 GB, free: 11.07 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 8.894e-05/0.4184, allocations: 30.61 kB / 1.219 GB, free: 11.03 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.296e-05/0.4185, allocations: 24.94 kB / 1.219 GB, free: 11 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001504/0.4187, allocations: 85.11 kB / 1.219 GB, free: 10.9 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.692e-05/0.4187, allocations: 46.42 kB / 1.219 GB, free: 10.84 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=3): time 1.092e-06/0.4187, allocations: 0 / 1.219 GB, free: 10.84 MB / 0.9825 GB Notification: Performance of matching and sorting (n=3): time 0.0002212/0.4189, allocations: 49.69 kB / 1.219 GB, free: 10.79 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.006e-05/0.419, allocations: 59.41 kB / 1.219 GB, free: 10.72 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.733e-05/0.419, allocations: 97.84 kB / 1.219 GB, free: 10.61 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.276e-05/0.4191, allocations: 25.7 kB / 1.219 GB, free: 10.58 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 2.597e-05/0.4191, allocations: 80.14 kB / 1.219 GB, free: 10.5 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 2.47e-05/0.4191, allocations: 11.91 kB / 1.219 GB, free: 10.49 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.06e-05/0.4192, allocations: 13.62 kB / 1.219 GB, free: 10.47 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 8.488e-05/0.4192, allocations: 318.8 kB / 1.219 GB, free: 10.15 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.668e-05/0.4193, allocations: 11.94 kB / 1.219 GB, free: 10.14 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.976e-05/0.4193, allocations: 15.94 kB / 1.219 GB, free: 10.12 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.237e-05/0.4194, allocations: 21.31 kB / 1.219 GB, free: 10.1 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.443e-06/0.4194, allocations: 4 kB / 1.219 GB, free: 10.09 MB / 0.9825 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001257/0.4196, allocations: 53.66 kB / 1.219 GB, free: 10.04 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.673e-05/0.4196, allocations: 9.656 kB / 1.22 GB, free: 10.03 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.098e-06/0.4196, allocations: 0 / 1.22 GB, free: 10.03 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.145e-05/0.4196, allocations: 4 kB / 1.22 GB, free: 10.02 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.486e-05/0.4197, allocations: 4 kB / 1.22 GB, free: 10.02 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.901e-06/0.4197, allocations: 0 / 1.22 GB, free: 10.02 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.854e-05/0.4198, allocations: 7.938 kB / 1.22 GB, free: 10.01 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.504e-06/0.4198, allocations: 4 kB / 1.22 GB, free: 10.01 MB / 0.9825 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.093e-05/0.4198, allocations: 113.8 kB / 1.22 GB, free: 9.887 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.013e-05/0.4198, allocations: 3.938 kB / 1.22 GB, free: 9.883 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001544/0.42, allocations: 57.19 kB / 1.22 GB, free: 9.816 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.824e-06/0.42, allocations: 0 / 1.22 GB, free: 9.816 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.959e-06/0.42, allocations: 3.984 kB / 1.22 GB, free: 9.812 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.545e-06/0.42, allocations: 4 kB / 1.22 GB, free: 9.809 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001026/0.4201, allocations: 153.6 kB / 1.22 GB, free: 9.609 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.535e-06/0.4202, allocations: 3.984 kB / 1.22 GB, free: 9.605 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.288e-05/0.4202, allocations: 4 kB / 1.22 GB, free: 9.602 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.21e-06/0.4202, allocations: 7.938 kB / 1.22 GB, free: 9.594 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.072e-06/0.4202, allocations: 0 / 1.22 GB, free: 9.594 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.433e-06/0.4202, allocations: 0 / 1.22 GB, free: 9.594 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.344e-06/0.4202, allocations: 3.984 kB / 1.22 GB, free: 9.59 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000141/0.4204, allocations: 81.05 kB / 1.22 GB, free: 9.492 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 4.988e-05/0.4204, allocations: 88.95 kB / 1.22 GB, free: 9.387 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.104e-05/0.4205, allocations: 0 / 1.22 GB, free: 9.387 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.988e-05/0.4205, allocations: 4 kB / 1.22 GB, free: 9.383 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.15e-05/0.4205, allocations: 3.984 kB / 1.22 GB, free: 9.379 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.547e-06/0.4205, allocations: 0 / 1.22 GB, free: 9.379 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 3.436e-05/0.4206, allocations: 79.28 kB / 1.22 GB, free: 9.301 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.2e-07/0.4206, allocations: 0 / 1.22 GB, free: 9.301 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0001909/0.4208, allocations: 16 kB / 1.22 GB, free: 9.285 MB / 0.9825 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.000416/0.4212, allocations: 0.6241 MB / 1.221 GB, free: 8.629 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0001353/0.4213, allocations: 19.98 kB / 1.221 GB, free: 8.609 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.723e-06/0.4214, allocations: 0 / 1.221 GB, free: 8.609 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 5.05e-05/0.4214, allocations: 12 kB / 1.221 GB, free: 8.598 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002365/0.4217, allocations: 19.92 kB / 1.221 GB, free: 8.578 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003711/0.422, allocations: 153.4 kB / 1.221 GB, free: 8.391 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001916/0.4222, allocations: 0.6773 MB / 1.222 GB, free: 7.688 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 3.64e-05/0.4223, allocations: 8 kB / 1.222 GB, free: 7.68 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.008e-05/0.4223, allocations: 7.438 kB / 1.222 GB, free: 7.672 MB / 0.9825 GB Notification: Performance of SimCode: time 2.8e-07/0.4223, allocations: 3.938 kB / 1.222 GB, free: 7.668 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01644/0.4388, allocations: 1.366 MB / 1.223 GB, free: 6.414 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.504/7.943, allocations: 7.562 kB / 1.223 GB, free: 6.41 MB / 0.9825 GB (rm -f Buildings_9_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX.pipe ; mkfifo Buildings_9_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX.pipe >> ../files/Buildings_9_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX_res.mat --tempDir=temp_Buildings_9_Buildings_Utilities_Psychrometrics_Functions_Examples_Density_pTX_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Utilities_Psychrometrics_Functions_Examples_Density_pTX.fmu > Buildings_9_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Utilities_Psychrometrics_Functions_Examples_Density_pTX.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_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