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.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.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.001224/0.001224, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001246/0.001247, allocations: 193.7 kB / 16.25 MB, free: 6.629 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.23/1.23, allocations: 222.9 MB / 239.9 MB, free: 4.527 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.185/2.185, allocations: 390.3 MB / 0.6644 GB, free: 0.5586 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001236/0.001236, allocations: 63.89 kB / 0.8122 GB, free: 14.68 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5213/0.5225, allocations: 140.4 MB / 0.9492 GB, free: 9.125 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.Density_pTX): time 0.002227/0.5248, allocations: 1.55 MB / 0.9507 GB, free: 7.906 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.1204/0.6452, allocations: 130.1 MB / 1.078 GB, free: 13.89 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.885e-05/0.6453, allocations: 4 kB / 1.078 GB, free: 13.89 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 4.392e-05/0.6454, allocations: 3.984 kB / 1.078 GB, free: 13.88 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 6.147e-05/0.6455, allocations: 7.922 kB / 1.078 GB, free: 13.88 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003531/0.6459, allocations: 58.05 kB / 1.078 GB, free: 13.82 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 8.48e-05/0.646, allocations: 59.78 kB / 1.078 GB, free: 13.76 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 8.981e-05/0.6461, allocations: 12 kB / 1.078 GB, free: 13.75 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 4.46e-05/0.6461, allocations: 15.92 kB / 1.078 GB, free: 13.73 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 4.771e-05/0.6462, allocations: 35.83 kB / 1.078 GB, free: 13.7 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 1.415e-05/0.6462, allocations: 4 kB / 1.078 GB, free: 13.7 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 7.736e-05/0.6463, allocations: 16 kB / 1.078 GB, free: 13.68 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 1.503e-05/0.6463, allocations: 11.98 kB / 1.078 GB, free: 13.67 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 3.274e-05/0.6463, allocations: 19.88 kB / 1.078 GB, free: 13.65 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.0001251/0.6465, allocations: 55.81 kB / 1.078 GB, free: 13.59 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 4.609e-06/0.6465, allocations: 0 / 1.078 GB, free: 13.59 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.382e-06/0.6465, allocations: 7.938 kB / 1.078 GB, free: 13.59 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 4.559e-06/0.6465, allocations: 0 / 1.078 GB, free: 13.59 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.0004602/0.647, allocations: 371.3 kB / 1.078 GB, free: 13.17 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 3.943e-05/0.647, allocations: 12.03 kB / 1.078 GB, free: 13.16 MB / 0.8419 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.507e-05/0.647, allocations: 38.75 kB / 1.078 GB, free: 13.11 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.915e-05/0.6471, allocations: 12.78 kB / 1.079 GB, free: 13.1 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001039/0.6472, allocations: 176.3 kB / 1.079 GB, free: 12.89 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.142e-05/0.6472, allocations: 4.359 kB / 1.079 GB, free: 12.89 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.106e-05/0.6472, allocations: 4.375 kB / 1.079 GB, free: 12.88 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002279/0.6475, allocations: 66.22 kB / 1.079 GB, free: 12.81 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.424e-06/0.6475, allocations: 7.938 kB / 1.079 GB, free: 12.8 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.676e-06/0.6475, allocations: 0 / 1.079 GB, free: 12.8 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.476e-06/0.6475, allocations: 4 kB / 1.079 GB, free: 12.8 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000259/0.6478, allocations: 71.86 kB / 1.079 GB, free: 12.73 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003291/0.6481, allocations: 280.7 kB / 1.079 GB, free: 12.41 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001893/0.6483, allocations: 62.53 kB / 1.079 GB, free: 12.34 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001368/0.6484, allocations: 32.92 kB / 1.079 GB, free: 12.3 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001513/0.6486, allocations: 93.03 kB / 1.079 GB, free: 12.19 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.476e-05/0.6486, allocations: 38.5 kB / 1.079 GB, free: 12.14 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=3): time 1.092e-06/0.6486, allocations: 4 kB / 1.079 GB, free: 12.14 MB / 0.8419 GB Notification: Performance of matching and sorting (n=3): time 0.0005032/0.6492, allocations: 129.5 kB / 1.079 GB, free: 12.01 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.684e-05/0.6492, allocations: 55.41 kB / 1.079 GB, free: 11.94 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.973e-05/0.6493, allocations: 113.8 kB / 1.08 GB, free: 11.82 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 1.701e-05/0.6493, allocations: 25.7 kB / 1.08 GB, free: 11.79 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 4.117e-05/0.6494, allocations: 96.12 kB / 1.08 GB, free: 11.69 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 1.519e-05/0.6494, allocations: 7.906 kB / 1.08 GB, free: 11.68 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.328e-05/0.6494, allocations: 13.72 kB / 1.08 GB, free: 11.66 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 9.496e-05/0.6495, allocations: 322.8 kB / 1.08 GB, free: 11.34 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001367/0.6497, allocations: 27.97 kB / 1.08 GB, free: 11.31 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001229/0.6498, allocations: 35.97 kB / 1.08 GB, free: 11.28 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002396/0.65, allocations: 68.72 kB / 1.08 GB, free: 11.21 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.4e-06/0.65, allocations: 4 kB / 1.08 GB, free: 11.2 MB / 0.8419 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002967/0.6503, allocations: 101.5 kB / 1.08 GB, free: 11.1 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.432e-05/0.6504, allocations: 11.98 kB / 1.08 GB, free: 11.09 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.334e-06/0.6504, allocations: 4 kB / 1.08 GB, free: 11.08 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.327e-06/0.6504, allocations: 0 / 1.08 GB, free: 11.08 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001078/0.6505, allocations: 15.98 kB / 1.08 GB, free: 11.07 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.628e-06/0.6505, allocations: 0 / 1.08 GB, free: 11.07 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.412e-05/0.6506, allocations: 15.92 kB / 1.08 GB, free: 11.05 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.041e-06/0.6506, allocations: 0 / 1.08 GB, free: 11.05 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 6.546e-05/0.6507, allocations: 121.8 kB / 1.08 GB, free: 10.92 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.629e-05/0.6507, allocations: 3.906 kB / 1.08 GB, free: 10.92 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003375/0.6511, allocations: 117.8 kB / 1.081 GB, free: 10.79 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.124e-06/0.6511, allocations: 0 / 1.081 GB, free: 10.79 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.938e-06/0.6511, allocations: 0 / 1.081 GB, free: 10.79 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.576e-06/0.6511, allocations: 4.047 kB / 1.081 GB, free: 10.79 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001511/0.6512, allocations: 177.6 kB / 1.081 GB, free: 10.56 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.196e-06/0.6513, allocations: 7.984 kB / 1.081 GB, free: 10.55 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.685e-05/0.6513, allocations: 11.98 kB / 1.081 GB, free: 10.54 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.238e-06/0.6514, allocations: 4 kB / 1.081 GB, free: 10.54 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.254e-06/0.6514, allocations: 0 / 1.081 GB, free: 10.54 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.113e-06/0.6514, allocations: 0 / 1.081 GB, free: 10.54 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.61e-07/0.6514, allocations: 0 / 1.081 GB, free: 10.54 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003214/0.6517, allocations: 203.3 kB / 1.081 GB, free: 10.32 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 3.187e-05/0.6517, allocations: 85.02 kB / 1.081 GB, free: 10.22 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.445e-05/0.6518, allocations: 0 / 1.081 GB, free: 10.22 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001049/0.6519, allocations: 11.98 kB / 1.081 GB, free: 10.21 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.338e-05/0.6519, allocations: 7.984 kB / 1.081 GB, free: 10.2 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.187e-06/0.6519, allocations: 0 / 1.081 GB, free: 10.2 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 5.038e-05/0.652, allocations: 95.22 kB / 1.081 GB, free: 10.11 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.4e-07/0.652, allocations: 4 kB / 1.081 GB, free: 10.11 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0002229/0.6522, allocations: 12 kB / 1.081 GB, free: 10.09 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.0005947/0.6528, allocations: 0.7474 MB / 1.082 GB, free: 9.32 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0003047/0.6531, allocations: 67.92 kB / 1.082 GB, free: 9.254 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 1.783e-06/0.6531, allocations: 3.938 kB / 1.082 GB, free: 9.25 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0001345/0.6533, allocations: 35.95 kB / 1.082 GB, free: 9.215 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002938/0.6536, allocations: 16.52 kB / 1.082 GB, free: 9.199 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001569/0.6552, allocations: 1.431 MB / 1.083 GB, free: 7.691 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001945/0.6554, allocations: 0.6869 MB / 1.084 GB, free: 6.98 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 3.566e-05/0.6554, allocations: 7.984 kB / 1.084 GB, free: 6.973 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.654e-05/0.6555, allocations: 11.44 kB / 1.084 GB, free: 6.961 MB / 0.8419 GB Notification: Performance of SimCode: time 3.21e-07/0.6555, allocations: 0 / 1.084 GB, free: 6.961 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01072/0.6662, allocations: 1.851 MB / 1.086 GB, free: 5.234 MB / 0.8419 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001674/0.6664, allocations: 214.8 kB / 1.086 GB, free: 4.973 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.634/2.3, allocations: 3.625 kB / 1.086 GB, free: 4.973 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