Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Psychrometrics.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.Examples.Density_pTX,fileNamePrefix="Buildings_latest_Buildings_Utilities_Psychrometrics_Examples_Density_pTX",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Examples.Density_pTX,fileNamePrefix="Buildings_latest_Buildings_Utilities_Psychrometrics_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.001454/0.001454, 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.001582/0.001582, 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.327/1.327, allocations: 222.9 MB / 239.8 MB, free: 4.508 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.573/2.573, allocations: 461.8 MB / 0.7342 GB, free: 14.2 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001304/0.001304, allocations: 66 kB / 0.8985 GB, free: 37 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2794/0.2808, allocations: 157.4 MB / 1.052 GB, free: 8.203 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.Density_pTX): time 0.002856/0.2836, allocations: 1.566 MB / 1.054 GB, free: 6.625 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.1259/0.4096, allocations: 129.9 MB / 1.181 GB, free: 4.203 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.591e-05/0.4097, allocations: 0 / 1.181 GB, free: 4.203 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 3.423e-05/0.4097, allocations: 0 / 1.181 GB, free: 4.203 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 6.223e-05/0.4098, allocations: 11.86 kB / 1.181 GB, free: 4.191 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002969/0.4101, allocations: 56.06 kB / 1.181 GB, free: 4.137 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 7.273e-05/0.4102, allocations: 55.69 kB / 1.181 GB, free: 4.086 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 7.954e-05/0.4103, allocations: 19.92 kB / 1.181 GB, free: 4.066 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 4.565e-05/0.4103, allocations: 23.91 kB / 1.181 GB, free: 4.043 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 4.861e-05/0.4104, allocations: 19.92 kB / 1.181 GB, free: 4.023 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 1.434e-05/0.4104, allocations: 4 kB / 1.181 GB, free: 4.02 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 9.218e-05/0.4105, allocations: 19.92 kB / 1.181 GB, free: 4 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 1.44e-05/0.4105, allocations: 7.938 kB / 1.181 GB, free: 3.992 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 3.193e-05/0.4106, allocations: 19.92 kB / 1.181 GB, free: 3.973 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0001129/0.4107, allocations: 59.8 kB / 1.181 GB, free: 3.914 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 3.436e-06/0.4107, allocations: 0 / 1.181 GB, free: 3.914 MB / 0.9356 GB Notification: Performance of FrontEnd: time 9.92e-07/0.4107, allocations: 4 kB / 1.181 GB, free: 3.91 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 3.566e-06/0.4107, allocations: 0 / 1.181 GB, free: 3.91 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004653/0.4112, allocations: 363.4 kB / 1.181 GB, free: 3.504 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 3.7e-05/0.4112, allocations: 19.95 kB / 1.181 GB, free: 3.484 MB / 0.9356 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.099e-05/0.4112, allocations: 34.75 kB / 1.181 GB, free: 3.441 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.67e-05/0.4113, allocations: 8.844 kB / 1.181 GB, free: 3.434 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.788e-05/0.4114, allocations: 176.2 kB / 1.181 GB, free: 3.223 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.927e-06/0.4114, allocations: 384 / 1.181 GB, free: 3.223 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.016e-05/0.4114, allocations: 384 / 1.181 GB, free: 3.223 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002398/0.4117, allocations: 86.11 kB / 1.182 GB, free: 3.133 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.285e-06/0.4117, allocations: 11.88 kB / 1.182 GB, free: 3.121 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.051e-05/0.4117, allocations: 4 kB / 1.182 GB, free: 3.117 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.557e-06/0.4117, allocations: 0 / 1.182 GB, free: 3.117 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002866/0.412, allocations: 67.92 kB / 1.182 GB, free: 3.051 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003137/0.4123, allocations: 276.8 kB / 1.182 GB, free: 2.73 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001883/0.4125, allocations: 58.48 kB / 1.182 GB, free: 2.664 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001454/0.4127, allocations: 40.91 kB / 1.182 GB, free: 2.621 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001509/0.4128, allocations: 89.09 kB / 1.182 GB, free: 2.516 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.374e-05/0.4129, allocations: 34.56 kB / 1.182 GB, free: 2.473 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=3): time 1.112e-06/0.4129, allocations: 0 / 1.182 GB, free: 2.473 MB / 0.9356 GB Notification: Performance of matching and sorting (n=3): time 0.0005161/0.4134, allocations: 133.5 kB / 1.182 GB, free: 2.336 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.828e-05/0.4134, allocations: 51.41 kB / 1.182 GB, free: 2.273 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.288e-05/0.4135, allocations: 125.6 kB / 1.182 GB, free: 2.141 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 1.614e-05/0.4135, allocations: 33.64 kB / 1.182 GB, free: 2.102 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 3.692e-05/0.4136, allocations: 88.08 kB / 1.183 GB, free: 2.012 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 1.701e-05/0.4136, allocations: 15.89 kB / 1.183 GB, free: 1.996 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.515e-05/0.4136, allocations: 21.7 kB / 1.183 GB, free: 1.969 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 8.653e-05/0.4137, allocations: 314.8 kB / 1.183 GB, free: 1.652 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001528/0.4139, allocations: 31.97 kB / 1.183 GB, free: 1.621 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001336/0.414, allocations: 35.95 kB / 1.183 GB, free: 1.586 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002595/0.4143, allocations: 68.78 kB / 1.183 GB, free: 1.516 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.463e-06/0.4143, allocations: 0 / 1.183 GB, free: 1.516 MB / 0.9356 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.000308/0.4146, allocations: 97.62 kB / 1.183 GB, free: 1.414 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.133e-05/0.4146, allocations: 5.562 kB / 1.183 GB, free: 1.41 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.486e-06/0.4146, allocations: 0 / 1.183 GB, free: 1.41 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.977e-06/0.4147, allocations: 4 kB / 1.183 GB, free: 1.406 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001167/0.4148, allocations: 19.92 kB / 1.183 GB, free: 1.387 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.611e-06/0.4148, allocations: 3.984 kB / 1.183 GB, free: 1.383 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.908e-05/0.4149, allocations: 11.98 kB / 1.183 GB, free: 1.371 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.642e-06/0.4149, allocations: 0 / 1.183 GB, free: 1.371 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.623e-05/0.415, allocations: 117.8 kB / 1.183 GB, free: 1.246 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.686e-05/0.415, allocations: 3.906 kB / 1.183 GB, free: 1.242 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003428/0.4153, allocations: 109.5 kB / 1.183 GB, free: 1.125 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.553e-06/0.4154, allocations: 0 / 1.183 GB, free: 1.125 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.547e-06/0.4154, allocations: 0 / 1.183 GB, free: 1.125 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.104e-06/0.4154, allocations: 384 / 1.183 GB, free: 1.125 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001496/0.4155, allocations: 181.6 kB / 1.184 GB, free: 0.8984 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.51e-07/0.4155, allocations: 0 / 1.184 GB, free: 0.8984 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.54e-05/0.4156, allocations: 19.92 kB / 1.184 GB, free: 0.8789 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.086e-06/0.4156, allocations: 4 kB / 1.184 GB, free: 0.875 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.973e-06/0.4156, allocations: 0 / 1.184 GB, free: 0.875 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.284e-06/0.4157, allocations: 3.984 kB / 1.184 GB, free: 0.8711 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.735e-06/0.4157, allocations: 7.922 kB / 1.184 GB, free: 0.8633 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003349/0.416, allocations: 199.3 kB / 1.184 GB, free: 0.6523 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 3.142e-05/0.416, allocations: 81.11 kB / 1.184 GB, free: 0.5547 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.466e-05/0.4161, allocations: 0 / 1.184 GB, free: 0.5547 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001105/0.4162, allocations: 19.91 kB / 1.184 GB, free: 0.5352 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.705e-05/0.4162, allocations: 4 kB / 1.184 GB, free: 0.5312 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.937e-06/0.4162, allocations: 0 / 1.184 GB, free: 0.5312 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 4.79e-05/0.4163, allocations: 95.27 kB / 1.184 GB, free: 448 kB / 0.9356 GB Notification: Performance of sort global known variables: time 1.1e-07/0.4163, allocations: 0 / 1.184 GB, free: 448 kB / 0.9356 GB Notification: Performance of remove unused functions: time 0.000222/0.4165, allocations: 15.94 kB / 1.184 GB, free: 432 kB / 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.000594/0.4171, allocations: 0.7435 MB / 1.185 GB, free: 15.65 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.0003006/0.4174, allocations: 71.92 kB / 1.185 GB, free: 15.58 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 1.342e-06/0.4174, allocations: 0 / 1.185 GB, free: 15.58 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.0001438/0.4176, allocations: 35.91 kB / 1.185 GB, free: 15.55 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002869/0.4179, allocations: 11.98 kB / 1.185 GB, free: 15.54 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001571/0.4195, allocations: 1.428 MB / 1.186 GB, free: 14.03 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002024/0.4197, allocations: 0.6809 MB / 1.187 GB, free: 13.32 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 3.346e-05/0.4197, allocations: 4 kB / 1.187 GB, free: 13.32 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.729e-05/0.4198, allocations: 20.19 kB / 1.187 GB, free: 13.3 MB / 0.9512 GB Notification: Performance of SimCode: time 2.31e-07/0.4198, allocations: 0 / 1.187 GB, free: 13.3 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3838/0.8036, allocations: 1.804 MB / 1.189 GB, free: 11.6 MB / 0.9512 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002102/0.8038, allocations: 216.2 kB / 1.189 GB, free: 11.34 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.723/2.526, allocations: 1.5 kB / 1.189 GB, free: 11.34 MB / 0.9512 GB (rm -f Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.Density_pTX.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.Density_pTX.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.Density_pTX.pipe >> ../files/Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.Density_pTX.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.Density_pTX_res.mat --tempDir=temp_Buildings_latest_Buildings_Utilities_Psychrometrics_Examples_Density_pTX_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Utilities_Psychrometrics_Examples_Density_pTX.fmu > Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.Density_pTX.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.Density_pTX_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Psychrometrics_Examples_Density_pTX.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.Density_pTX.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches