Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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.Examples.Density_pTX,fileNamePrefix="Buildings_11_Buildings_Utilities_Psychrometrics_Examples_Density_pTX",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Examples.Density_pTX,fileNamePrefix="Buildings_11_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.001505/0.001505, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001497/0.001497, allocations: 198.3 kB / 16.54 MB, free: 6.672 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.416/1.416, allocations: 222.9 MB / 240.2 MB, free: 4.391 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.808/2.808, allocations: 469.8 MB / 0.7424 GB, free: 7.461 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001852/0.001852, allocations: 68 kB / 0.9087 GB, free: 34.27 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2814/0.2833, allocations: 159.2 MB / 1.064 GB, free: 14.25 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.Density_pTX): time 0.002692/0.286, allocations: 1.492 MB / 1.066 GB, free: 12.74 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.1348/0.4208, allocations: 132.1 MB / 1.195 GB, free: 8.156 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.637e-05/0.4209, allocations: 4 kB / 1.195 GB, free: 8.152 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 3.232e-05/0.421, allocations: 7.922 kB / 1.195 GB, free: 8.145 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 5.615e-05/0.421, allocations: 7.875 kB / 1.195 GB, free: 8.137 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003309/0.4214, allocations: 64 kB / 1.195 GB, free: 8.074 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 8.781e-05/0.4215, allocations: 59.67 kB / 1.195 GB, free: 8.02 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 8.941e-05/0.4216, allocations: 23.86 kB / 1.195 GB, free: 7.996 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 4.595e-05/0.4216, allocations: 15.92 kB / 1.195 GB, free: 7.98 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 4.744e-05/0.4217, allocations: 23.92 kB / 1.195 GB, free: 7.957 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 1.447e-05/0.4217, allocations: 4 kB / 1.195 GB, free: 7.953 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 7.776e-05/0.4218, allocations: 19.98 kB / 1.195 GB, free: 7.934 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 1.556e-05/0.4218, allocations: 7.938 kB / 1.195 GB, free: 7.926 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 3.635e-05/0.4218, allocations: 23.92 kB / 1.195 GB, free: 7.902 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.0001191/0.422, allocations: 63.8 kB / 1.195 GB, free: 7.84 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 3.176e-06/0.422, allocations: 0 / 1.195 GB, free: 7.84 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.373e-06/0.422, allocations: 4 kB / 1.195 GB, free: 7.836 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 3.837e-06/0.422, allocations: 0 / 1.195 GB, free: 7.836 MB / 0.9512 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.0004865/0.4225, allocations: 367.4 kB / 1.195 GB, free: 7.426 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 3.498e-05/0.4225, allocations: 12.03 kB / 1.195 GB, free: 7.414 MB / 0.9512 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.666e-05/0.4226, allocations: 30.75 kB / 1.195 GB, free: 7.375 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.853e-05/0.4226, allocations: 12.84 kB / 1.195 GB, free: 7.363 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001277/0.4227, allocations: 184.1 kB / 1.195 GB, free: 7.145 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.322e-06/0.4227, allocations: 384 / 1.195 GB, free: 7.145 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.259e-05/0.4228, allocations: 4.375 kB / 1.195 GB, free: 7.141 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002349/0.423, allocations: 74.2 kB / 1.195 GB, free: 7.062 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.032e-05/0.423, allocations: 7.938 kB / 1.195 GB, free: 7.055 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.694e-06/0.423, allocations: 0 / 1.195 GB, free: 7.055 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.637e-06/0.423, allocations: 0 / 1.195 GB, free: 7.055 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002849/0.4233, allocations: 67.92 kB / 1.196 GB, free: 6.988 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003444/0.4237, allocations: 292.7 kB / 1.196 GB, free: 6.652 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001871/0.4239, allocations: 50.55 kB / 1.196 GB, free: 6.594 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001586/0.424, allocations: 44.91 kB / 1.196 GB, free: 6.547 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001538/0.4242, allocations: 89.09 kB / 1.196 GB, free: 6.441 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.57e-05/0.4242, allocations: 38.55 kB / 1.196 GB, free: 6.395 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=3): time 1.012e-06/0.4242, allocations: 0 / 1.196 GB, free: 6.395 MB / 0.9512 GB Notification: Performance of matching and sorting (n=3): time 0.0005239/0.4248, allocations: 133.5 kB / 1.196 GB, free: 6.258 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.554e-05/0.4248, allocations: 51.41 kB / 1.196 GB, free: 6.195 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.641e-05/0.4249, allocations: 121.8 kB / 1.196 GB, free: 6.066 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 1.422e-05/0.4249, allocations: 25.7 kB / 1.196 GB, free: 6.035 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 4.689e-05/0.425, allocations: 88.08 kB / 1.196 GB, free: 5.945 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 1.85e-05/0.425, allocations: 15.8 kB / 1.196 GB, free: 5.93 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.522e-05/0.4251, allocations: 21.72 kB / 1.196 GB, free: 5.902 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001178/0.4252, allocations: 314.8 kB / 1.197 GB, free: 5.586 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001446/0.4253, allocations: 31.95 kB / 1.197 GB, free: 5.555 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001321/0.4255, allocations: 31.97 kB / 1.197 GB, free: 5.523 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002676/0.4257, allocations: 68.78 kB / 1.197 GB, free: 5.453 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.547e-06/0.4258, allocations: 4 kB / 1.197 GB, free: 5.449 MB / 0.9512 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.000321/0.4261, allocations: 101.6 kB / 1.197 GB, free: 5.344 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.048e-05/0.4261, allocations: 4 kB / 1.197 GB, free: 5.34 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.226e-06/0.4261, allocations: 0 / 1.197 GB, free: 5.34 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.247e-05/0.4261, allocations: 4 kB / 1.197 GB, free: 5.336 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001114/0.4262, allocations: 19.97 kB / 1.197 GB, free: 5.316 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.758e-06/0.4262, allocations: 0 / 1.197 GB, free: 5.316 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.927e-05/0.4263, allocations: 15.89 kB / 1.197 GB, free: 5.301 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.761e-06/0.4263, allocations: 0 / 1.197 GB, free: 5.301 MB / 0.9512 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.627e-05/0.4264, allocations: 113.8 kB / 1.197 GB, free: 5.18 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.707e-05/0.4265, allocations: 4 kB / 1.197 GB, free: 5.176 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000346/0.4268, allocations: 109.5 kB / 1.197 GB, free: 5.059 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.533e-06/0.4268, allocations: 0 / 1.197 GB, free: 5.059 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.186e-06/0.4268, allocations: 0 / 1.197 GB, free: 5.059 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.218e-06/0.4268, allocations: 4 kB / 1.197 GB, free: 5.055 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001677/0.427, allocations: 177.5 kB / 1.197 GB, free: 4.832 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.61e-07/0.427, allocations: 0 / 1.197 GB, free: 4.832 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.3e-05/0.4271, allocations: 15.98 kB / 1.197 GB, free: 4.816 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.653e-06/0.4271, allocations: 11.98 kB / 1.197 GB, free: 4.805 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.821e-06/0.4271, allocations: 0 / 1.197 GB, free: 4.805 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.106e-06/0.4271, allocations: 3.984 kB / 1.197 GB, free: 4.801 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.334e-06/0.4271, allocations: 4 kB / 1.197 GB, free: 4.797 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003544/0.4275, allocations: 191.3 kB / 1.198 GB, free: 4.594 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 4.515e-05/0.4276, allocations: 85.11 kB / 1.198 GB, free: 4.492 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.306e-05/0.4276, allocations: 0 / 1.198 GB, free: 4.492 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001103/0.4277, allocations: 19.97 kB / 1.198 GB, free: 4.473 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.663e-05/0.4277, allocations: 4.359 kB / 1.198 GB, free: 4.469 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.326e-06/0.4277, allocations: 3.938 kB / 1.198 GB, free: 4.465 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 5.306e-05/0.4278, allocations: 95.7 kB / 1.198 GB, free: 4.371 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.2e-07/0.4278, allocations: 0 / 1.198 GB, free: 4.371 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0002238/0.428, allocations: 15.94 kB / 1.198 GB, free: 4.355 MB / 0.9512 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.0006668/0.4287, allocations: 0.7474 MB / 1.199 GB, free: 3.582 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.0003292/0.429, allocations: 79.86 kB / 1.199 GB, free: 3.504 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 1.493e-06/0.4291, allocations: 0 / 1.199 GB, free: 3.504 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.000143/0.4292, allocations: 31.97 kB / 1.199 GB, free: 3.473 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002794/0.4295, allocations: 11.98 kB / 1.199 GB, free: 3.461 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001696/0.4312, allocations: 1.424 MB / 1.2 GB, free: 1.957 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002678/0.4315, allocations: 0.6807 MB / 1.201 GB, free: 1.25 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 2.981e-05/0.4315, allocations: 4.156 kB / 1.201 GB, free: 1.246 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.771e-05/0.4316, allocations: 23.42 kB / 1.201 GB, free: 1.227 MB / 0.9512 GB Notification: Performance of SimCode: time 2.3e-07/0.4316, allocations: 0 / 1.201 GB, free: 1.227 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4818/0.9134, allocations: 2.043 MB / 1.203 GB, free: 15.27 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.49/11.41, allocations: 9.656 kB / 1.203 GB, free: 15.27 MB / 0.9669 GB (rm -f Buildings_11_Buildings.Utilities.Psychrometrics.Examples.Density_pTX.pipe ; mkfifo Buildings_11_Buildings.Utilities.Psychrometrics.Examples.Density_pTX.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Psychrometrics.Examples.Density_pTX.pipe >> ../files/Buildings_11_Buildings.Utilities.Psychrometrics.Examples.Density_pTX.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Utilities.Psychrometrics.Examples.Density_pTX_res.mat --tempDir=temp_Buildings_11_Buildings_Utilities_Psychrometrics_Examples_Density_pTX_fmu --startTime=0 --stopTime=1 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Utilities_Psychrometrics_Examples_Density_pTX.fmu > Buildings_11_Buildings.Utilities.Psychrometrics.Examples.Density_pTX.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Utilities.Psychrometrics.Examples.Density_pTX_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_Psychrometrics_Examples_Density_pTX.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Utilities.Psychrometrics.Examples.Density_pTX.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches