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.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-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.001892/0.001892, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.00225/0.00225, allocations: 198.4 kB / 16.14 MB, free: 6.648 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.374/1.374, allocations: 222.9 MB / 239.8 MB, free: 4.59 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.608/2.608, allocations: 461.8 MB / 0.7342 GB, free: 14.21 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001236/0.001236, allocations: 63.81 kB / 0.8985 GB, free: 36.96 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2826/0.2838, allocations: 157.4 MB / 1.052 GB, free: 8.238 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX): time 0.002394/0.2862, allocations: 1.333 MB / 1.054 GB, free: 6.891 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.1237/0.41, allocations: 129.9 MB / 1.18 GB, free: 4.504 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.569e-05/0.4101, allocations: 0 / 1.18 GB, free: 4.504 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 2.14e-05/0.4101, allocations: 0 / 1.18 GB, free: 4.504 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 4.968e-05/0.4102, allocations: 3.938 kB / 1.18 GB, free: 4.5 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003063/0.4105, allocations: 47.8 kB / 1.18 GB, free: 4.453 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 6.022e-05/0.4106, allocations: 19.86 kB / 1.18 GB, free: 4.434 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 3.546e-05/0.4106, allocations: 7.984 kB / 1.18 GB, free: 4.426 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 3.955e-05/0.4107, allocations: 11.98 kB / 1.18 GB, free: 4.414 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 5.352e-05/0.4107, allocations: 11.94 kB / 1.18 GB, free: 4.402 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 1.218e-05/0.4107, allocations: 0 / 1.18 GB, free: 4.402 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 6.752e-05/0.4108, allocations: 15.98 kB / 1.18 GB, free: 4.387 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 1.337e-05/0.4108, allocations: 0 / 1.18 GB, free: 4.387 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 2.908e-05/0.4109, allocations: 7.938 kB / 1.18 GB, free: 4.379 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 9.005e-05/0.411, allocations: 28.2 kB / 1.181 GB, free: 4.352 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 3.977e-06/0.411, allocations: 0 / 1.181 GB, free: 4.352 MB / 0.9356 GB Notification: Performance of FrontEnd: time 9.22e-07/0.411, allocations: 0 / 1.181 GB, free: 4.352 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 6.623e-06/0.411, allocations: 0 / 1.181 GB, free: 4.352 MB / 0.9356 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.0003639/0.4114, allocations: 336.8 kB / 1.181 GB, free: 3.973 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.194e-05/0.4114, allocations: 19.89 kB / 1.181 GB, free: 3.953 MB / 0.9356 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.477e-05/0.4115, allocations: 30.75 kB / 1.181 GB, free: 3.914 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.773e-05/0.4115, allocations: 8.875 kB / 1.181 GB, free: 3.906 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001125/0.4116, allocations: 176.2 kB / 1.181 GB, free: 3.695 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.602e-05/0.4117, allocations: 34.27 kB / 1.181 GB, free: 3.656 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.584e-06/0.4117, allocations: 384 / 1.181 GB, free: 3.656 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001143/0.4118, allocations: 42 kB / 1.181 GB, free: 3.609 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.923e-06/0.4118, allocations: 0 / 1.181 GB, free: 3.609 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.356e-06/0.4118, allocations: 0 / 1.181 GB, free: 3.609 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.907e-06/0.4119, allocations: 4 kB / 1.181 GB, free: 3.605 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.391e-05/0.4119, allocations: 15.98 kB / 1.181 GB, free: 3.59 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001414/0.4121, allocations: 153.7 kB / 1.181 GB, free: 3.391 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 9.074e-05/0.4122, allocations: 34.55 kB / 1.181 GB, free: 3.348 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.83e-05/0.4122, allocations: 8.859 kB / 1.181 GB, free: 3.336 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001585/0.4124, allocations: 93.19 kB / 1.181 GB, free: 3.227 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.635e-05/0.4124, allocations: 42.5 kB / 1.181 GB, free: 3.176 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=3): time 1.173e-06/0.4125, allocations: 0 / 1.181 GB, free: 3.176 MB / 0.9356 GB Notification: Performance of matching and sorting (n=3): time 0.0002206/0.4127, allocations: 53.67 kB / 1.182 GB, free: 3.117 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.765e-05/0.4127, allocations: 55.34 kB / 1.182 GB, free: 3.051 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.467e-05/0.4128, allocations: 93.86 kB / 1.182 GB, free: 2.949 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 1.269e-05/0.4128, allocations: 29.69 kB / 1.182 GB, free: 2.914 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 2.428e-05/0.4128, allocations: 88.14 kB / 1.182 GB, free: 2.824 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 2.243e-05/0.4129, allocations: 7.906 kB / 1.182 GB, free: 2.816 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.077e-05/0.4129, allocations: 13.72 kB / 1.182 GB, free: 2.797 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 9.244e-05/0.413, allocations: 314.8 kB / 1.182 GB, free: 2.48 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.789e-05/0.413, allocations: 7.984 kB / 1.182 GB, free: 2.473 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.567e-05/0.4131, allocations: 4 kB / 1.182 GB, free: 2.469 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.382e-05/0.4132, allocations: 24.84 kB / 1.182 GB, free: 2.441 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.452e-06/0.4132, allocations: 4 kB / 1.182 GB, free: 2.438 MB / 0.9356 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001193/0.4133, allocations: 54 kB / 1.182 GB, free: 2.379 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.308e-05/0.4133, allocations: 7.938 kB / 1.182 GB, free: 2.371 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.707e-06/0.4133, allocations: 0 / 1.182 GB, free: 2.371 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.957e-06/0.4134, allocations: 4 kB / 1.182 GB, free: 2.367 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.646e-05/0.4134, allocations: 7.984 kB / 1.182 GB, free: 2.359 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.4e-06/0.4134, allocations: 0 / 1.182 GB, free: 2.359 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.109e-05/0.4135, allocations: 3.938 kB / 1.182 GB, free: 2.355 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.645e-06/0.4135, allocations: 4 kB / 1.182 GB, free: 2.352 MB / 0.9356 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.599e-05/0.4136, allocations: 113.8 kB / 1.182 GB, free: 2.23 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.258e-05/0.4136, allocations: 7.969 kB / 1.182 GB, free: 2.223 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001537/0.4137, allocations: 57.17 kB / 1.182 GB, free: 2.16 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.493e-06/0.4137, allocations: 0 / 1.182 GB, free: 2.16 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.749e-06/0.4138, allocations: 0 / 1.182 GB, free: 2.16 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.384e-06/0.4138, allocations: 7.875 kB / 1.182 GB, free: 2.152 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.089e-05/0.4139, allocations: 153.7 kB / 1.183 GB, free: 1.953 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.41e-07/0.4139, allocations: 0 / 1.183 GB, free: 1.953 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.6e-05/0.4139, allocations: 11.98 kB / 1.183 GB, free: 1.941 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.729e-06/0.4139, allocations: 11.94 kB / 1.183 GB, free: 1.93 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.562e-06/0.4139, allocations: 0 / 1.183 GB, free: 1.93 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.132e-06/0.4139, allocations: 0 / 1.183 GB, free: 1.93 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.11e-07/0.4139, allocations: 0 / 1.183 GB, free: 1.93 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001319/0.4141, allocations: 73.12 kB / 1.183 GB, free: 1.84 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 6.23e-05/0.4142, allocations: 92.88 kB / 1.183 GB, free: 1.73 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.11e-05/0.4142, allocations: 0 / 1.183 GB, free: 1.73 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.33e-05/0.4142, allocations: 8 kB / 1.183 GB, free: 1.723 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.885e-05/0.4143, allocations: 0 / 1.183 GB, free: 1.723 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.066e-06/0.4143, allocations: 0 / 1.183 GB, free: 1.723 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 3.278e-05/0.4143, allocations: 87.27 kB / 1.183 GB, free: 1.637 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.743e-06/0.4143, allocations: 0 / 1.183 GB, free: 1.637 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0001896/0.4145, allocations: 15.94 kB / 1.183 GB, free: 1.621 MB / 0.9356 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.0004123/0.4149, allocations: 0.6202 MB / 1.183 GB, free: 0.9688 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0001225/0.415, allocations: 15.98 kB / 1.183 GB, free: 0.9531 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 1.633e-06/0.4151, allocations: 0 / 1.183 GB, free: 0.9531 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 5.113e-05/0.4151, allocations: 19.92 kB / 1.183 GB, free: 0.9336 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002266/0.4153, allocations: 4 kB / 1.183 GB, free: 0.9297 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003552/0.4157, allocations: 163.1 kB / 1.184 GB, free: 0.7266 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002053/0.4159, allocations: 0.677 MB / 1.184 GB, free: 24 kB / 0.9356 GB Notification: Performance of simCode: alias equations: time 4.164e-05/0.416, allocations: 7.984 kB / 1.184 GB, free: 16 kB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.518e-05/0.416, allocations: 15.44 kB / 1.184 GB, free: 0 / 0.9356 GB Notification: Performance of SimCode: time 2.31e-07/0.416, allocations: 0 / 1.184 GB, free: 0 / 0.9356 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01003/0.426, allocations: 1.219 MB / 1.185 GB, free: 14.93 MB / 0.9512 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001995/0.4263, allocations: 232.7 kB / 1.186 GB, free: 14.66 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.674/2.1, allocations: 1.125 kB / 1.186 GB, free: 14.66 MB / 0.9512 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) Reference file matches