Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.Examples.Density_pTX,fileNamePrefix="Buildings_9_Buildings_Utilities_Psychrometrics_Examples_Density_pTX",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Examples.Density_pTX,fileNamePrefix="Buildings_9_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.0009136/0.0009136, allocations: 91.86 kB / 15.36 MB, free: 0.7422 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.005276/0.005276, allocations: 179.3 kB / 16.26 MB, free: 6.605 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.202/1.202, allocations: 223.3 MB / 240.3 MB, free: 5.258 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.095/2.095, allocations: 390.9 MB / 0.6664 GB, free: 2.352 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0002799/0.0002799, allocations: 8 kB / 0.8161 GB, free: 13.15 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5409/0.5412, allocations: 142.4 MB / 0.9552 GB, free: 7.707 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.Density_pTX): time 0.001213/0.5425, allocations: 1.21 MB / 0.9563 GB, free: 6.75 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.1271/0.6696, allocations: 128.5 MB / 1.082 GB, free: 13.09 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.286e-05/0.6697, allocations: 0 / 1.082 GB, free: 13.09 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 1.929e-05/0.6697, allocations: 0 / 1.082 GB, free: 13.09 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 6.872e-05/0.6698, allocations: 11.86 kB / 1.082 GB, free: 13.08 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003298/0.6701, allocations: 61.97 kB / 1.082 GB, free: 13.02 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 9.116e-05/0.6703, allocations: 59.78 kB / 1.082 GB, free: 12.96 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 8.209e-05/0.6703, allocations: 8 kB / 1.082 GB, free: 12.96 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 5.095e-05/0.6704, allocations: 19.92 kB / 1.082 GB, free: 12.94 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 5.192e-05/0.6705, allocations: 19.92 kB / 1.082 GB, free: 12.92 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 1.302e-05/0.6705, allocations: 0 / 1.082 GB, free: 12.92 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 8.647e-05/0.6706, allocations: 19.98 kB / 1.082 GB, free: 12.9 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 1.178e-05/0.6706, allocations: 0 / 1.082 GB, free: 12.9 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 4.417e-05/0.6706, allocations: 49.55 kB / 1.082 GB, free: 12.84 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.000123/0.6708, allocations: 63.5 kB / 1.082 GB, free: 12.79 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 3.597e-06/0.6708, allocations: 0 / 1.082 GB, free: 12.79 MB / 0.8419 GB Notification: Performance of FrontEnd: time 3.006e-06/0.6708, allocations: 0 / 1.082 GB, free: 12.79 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 4.108e-06/0.6708, allocations: 3.938 kB / 1.082 GB, free: 12.78 MB / 0.8419 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.0004847/0.6713, allocations: 379.3 kB / 1.083 GB, free: 12.36 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 4.114e-05/0.6713, allocations: 12.03 kB / 1.083 GB, free: 12.35 MB / 0.8419 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.959e-05/0.6714, allocations: 34.75 kB / 1.083 GB, free: 12.3 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.756e-05/0.6714, allocations: 4.938 kB / 1.083 GB, free: 12.3 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001075/0.6715, allocations: 168.2 kB / 1.083 GB, free: 12.1 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.203e-05/0.6715, allocations: 8.359 kB / 1.083 GB, free: 12.09 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.137e-06/0.6716, allocations: 384 / 1.083 GB, free: 12.09 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002601/0.6718, allocations: 86.22 kB / 1.083 GB, free: 12 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.275e-06/0.6718, allocations: 3.938 kB / 1.083 GB, free: 12 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.127e-05/0.6719, allocations: 4 kB / 1.083 GB, free: 11.99 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.288e-06/0.6719, allocations: 0 / 1.083 GB, free: 11.99 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003162/0.6722, allocations: 99.84 kB / 1.083 GB, free: 11.89 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003526/0.6725, allocations: 276.7 kB / 1.083 GB, free: 11.57 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002088/0.6728, allocations: 70.53 kB / 1.083 GB, free: 11.5 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001624/0.6729, allocations: 52.86 kB / 1.083 GB, free: 11.44 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001432/0.6731, allocations: 89.09 kB / 1.083 GB, free: 11.34 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.829e-05/0.6731, allocations: 34.56 kB / 1.083 GB, free: 11.29 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=3): time 1.232e-06/0.6731, allocations: 0 / 1.083 GB, free: 11.29 MB / 0.8419 GB Notification: Performance of matching and sorting (n=3): time 0.0005692/0.6737, allocations: 169.7 kB / 1.084 GB, free: 11.12 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.877e-05/0.6737, allocations: 55.41 kB / 1.084 GB, free: 11.05 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.441e-05/0.6738, allocations: 113.8 kB / 1.084 GB, free: 10.93 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 1.434e-05/0.6738, allocations: 29.7 kB / 1.084 GB, free: 10.9 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 4.38e-05/0.6739, allocations: 96.03 kB / 1.084 GB, free: 10.8 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 1.614e-05/0.6739, allocations: 7.844 kB / 1.084 GB, free: 10.79 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.148e-05/0.6739, allocations: 9.719 kB / 1.084 GB, free: 10.78 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 9.283e-05/0.674, allocations: 330.7 kB / 1.084 GB, free: 10.45 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001535/0.6742, allocations: 47.89 kB / 1.084 GB, free: 10.4 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001424/0.6744, allocations: 43.97 kB / 1.084 GB, free: 10.36 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002846/0.6746, allocations: 88.78 kB / 1.084 GB, free: 10.27 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.953e-06/0.6747, allocations: 0 / 1.084 GB, free: 10.27 MB / 0.8419 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003443/0.675, allocations: 117.6 kB / 1.084 GB, free: 10.14 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.666e-05/0.675, allocations: 9.406 kB / 1.085 GB, free: 10.14 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.428e-06/0.675, allocations: 0 / 1.085 GB, free: 10.14 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.12e-05/0.6751, allocations: 0 / 1.085 GB, free: 10.14 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001221/0.6752, allocations: 27.97 kB / 1.085 GB, free: 10.11 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.739e-06/0.6752, allocations: 0 / 1.085 GB, free: 10.11 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.669e-05/0.6753, allocations: 23.83 kB / 1.085 GB, free: 10.09 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.253e-06/0.6753, allocations: 3.938 kB / 1.085 GB, free: 10.08 MB / 0.8419 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.227e-05/0.6754, allocations: 117.8 kB / 1.085 GB, free: 9.957 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.421e-05/0.6754, allocations: 0 / 1.085 GB, free: 9.957 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003733/0.6758, allocations: 129.5 kB / 1.085 GB, free: 9.816 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.284e-06/0.6758, allocations: 4 kB / 1.085 GB, free: 9.812 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.576e-06/0.6758, allocations: 0 / 1.085 GB, free: 9.812 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.408e-06/0.6758, allocations: 3.984 kB / 1.085 GB, free: 9.809 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001533/0.676, allocations: 173.6 kB / 1.085 GB, free: 9.59 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.423e-06/0.676, allocations: 0 / 1.085 GB, free: 9.59 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.699e-05/0.6761, allocations: 19.97 kB / 1.085 GB, free: 9.57 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.545e-06/0.6761, allocations: 4 kB / 1.085 GB, free: 9.566 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.718e-06/0.6761, allocations: 4 kB / 1.085 GB, free: 9.562 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.433e-06/0.6761, allocations: 4 kB / 1.085 GB, free: 9.559 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.751e-06/0.6761, allocations: 3.938 kB / 1.085 GB, free: 9.555 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003664/0.6765, allocations: 219.3 kB / 1.085 GB, free: 9.324 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 3.945e-05/0.6765, allocations: 85.02 kB / 1.085 GB, free: 9.223 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.422e-05/0.6766, allocations: 3.984 kB / 1.085 GB, free: 9.219 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001098/0.6767, allocations: 15.98 kB / 1.085 GB, free: 9.203 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.891e-05/0.6767, allocations: 4 kB / 1.085 GB, free: 9.199 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.741e-06/0.6767, allocations: 4 kB / 1.085 GB, free: 9.195 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 4.528e-05/0.6768, allocations: 95.2 kB / 1.085 GB, free: 9.102 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.11e-07/0.6768, allocations: 0 / 1.085 GB, free: 9.102 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0002221/0.677, allocations: 16 kB / 1.085 GB, free: 9.086 MB / 0.8419 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.0006432/0.6777, allocations: 0.7634 MB / 1.086 GB, free: 8.297 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0003369/0.678, allocations: 95.92 kB / 1.086 GB, free: 8.203 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 1.743e-06/0.678, allocations: 0 / 1.086 GB, free: 8.203 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0001557/0.6782, allocations: 44.05 kB / 1.086 GB, free: 8.16 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002827/0.6785, allocations: 21.3 kB / 1.086 GB, free: 8.141 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001729/0.6802, allocations: 1.496 MB / 1.088 GB, free: 6.566 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002142/0.6804, allocations: 0.6848 MB / 1.088 GB, free: 5.855 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 3.587e-05/0.6805, allocations: 11.98 kB / 1.088 GB, free: 5.844 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.885e-05/0.6805, allocations: 15.44 kB / 1.088 GB, free: 5.828 MB / 0.8419 GB Notification: Performance of SimCode: time 3.4e-07/0.6805, allocations: 0 / 1.088 GB, free: 5.828 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01103/0.6916, allocations: 1.728 MB / 1.09 GB, free: 4.238 MB / 0.8419 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002201/0.6918, allocations: 208.5 kB / 1.09 GB, free: 3.98 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.602/2.294, allocations: 3.938 kB / 1.09 GB, free: 3.977 MB / 0.8419 GB (rm -f Buildings_9_Buildings.Utilities.Psychrometrics.Examples.Density_pTX.pipe ; mkfifo Buildings_9_Buildings.Utilities.Psychrometrics.Examples.Density_pTX.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.Psychrometrics.Examples.Density_pTX.pipe >> ../files/Buildings_9_Buildings.Utilities.Psychrometrics.Examples.Density_pTX.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Utilities.Psychrometrics.Examples.Density_pTX_res.mat --tempDir=temp_Buildings_9_Buildings_Utilities_Psychrometrics_Examples_Density_pTX_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Utilities_Psychrometrics_Examples_Density_pTX.fmu > Buildings_9_Buildings.Utilities.Psychrometrics.Examples.Density_pTX.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Utilities.Psychrometrics.Examples.Density_pTX_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Utilities_Psychrometrics_Examples_Density_pTX.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Utilities.Psychrometrics.Examples.Density_pTX.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches