Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_Buildings_Utilities_Psychrometrics_Examples_Density_pTX",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Examples.Density_pTX,fileNamePrefix="Buildings_10_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.001404/0.001404, allocations: 108 kB / 15.61 MB, free: 152 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.001783/0.001783, allocations: 193.9 kB / 16.53 MB, free: 6.699 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.317/1.317, allocations: 222.9 MB / 240.2 MB, free: 4.406 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.455/2.455, allocations: 437.1 MB / 0.7104 GB, free: 5.078 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001314/0.001314, allocations: 59.91 kB / 0.8693 GB, free: 4.547 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5322/0.5335, allocations: 151.6 MB / 1.017 GB, free: 2.445 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.Density_pTX): time 0.002294/0.5359, allocations: 1.481 MB / 1.019 GB, free: 0.9531 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.1105/0.6464, allocations: 132.1 MB / 1.148 GB, free: 12.37 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.23e-05/0.6465, allocations: 4 kB / 1.148 GB, free: 12.36 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 3.149e-05/0.6465, allocations: 3.938 kB / 1.148 GB, free: 12.36 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 5.417e-05/0.6466, allocations: 11.86 kB / 1.148 GB, free: 12.35 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003185/0.6469, allocations: 69.97 kB / 1.148 GB, free: 12.28 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 8.294e-05/0.647, allocations: 59.72 kB / 1.148 GB, free: 12.22 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 8.052e-05/0.6471, allocations: 12 kB / 1.148 GB, free: 12.21 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 4.419e-05/0.6471, allocations: 19.92 kB / 1.148 GB, free: 12.19 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 4.366e-05/0.6472, allocations: 27.91 kB / 1.148 GB, free: 12.16 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 1.489e-05/0.6472, allocations: 4 kB / 1.148 GB, free: 12.16 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 7.519e-05/0.6473, allocations: 12 kB / 1.148 GB, free: 12.15 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 1.772e-05/0.6473, allocations: 15.97 kB / 1.148 GB, free: 12.13 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 3.208e-05/0.6474, allocations: 23.88 kB / 1.148 GB, free: 12.11 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.0001192/0.6475, allocations: 55.75 kB / 1.148 GB, free: 12.05 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 3.166e-06/0.6475, allocations: 3.938 kB / 1.148 GB, free: 12.05 MB / 0.9044 GB Notification: Performance of FrontEnd: time 1.132e-06/0.6475, allocations: 0 / 1.148 GB, free: 12.05 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 6.974e-06/0.6475, allocations: 4 kB / 1.148 GB, free: 12.05 MB / 0.9044 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.0004363/0.648, allocations: 371.3 kB / 1.149 GB, free: 11.63 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 3.38e-05/0.648, allocations: 12.03 kB / 1.149 GB, free: 11.62 MB / 0.9044 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.968e-05/0.648, allocations: 30.75 kB / 1.149 GB, free: 11.58 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.704e-05/0.6481, allocations: 12.84 kB / 1.149 GB, free: 11.57 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.103e-05/0.6482, allocations: 180.2 kB / 1.149 GB, free: 11.36 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.208e-06/0.6482, allocations: 4.375 kB / 1.149 GB, free: 11.35 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.036e-05/0.6482, allocations: 384 / 1.149 GB, free: 11.35 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002293/0.6484, allocations: 70.22 kB / 1.149 GB, free: 11.28 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.015e-06/0.6484, allocations: 3.938 kB / 1.149 GB, free: 11.27 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.008e-05/0.6485, allocations: 4 kB / 1.149 GB, free: 11.27 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.747e-06/0.6485, allocations: 0 / 1.149 GB, free: 11.27 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000277/0.6487, allocations: 71.92 kB / 1.149 GB, free: 11.2 MB / 0.9044 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003067/0.6491, allocations: 288.7 kB / 1.149 GB, free: 10.87 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001879/0.6493, allocations: 62.53 kB / 1.149 GB, free: 10.8 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001412/0.6494, allocations: 32.92 kB / 1.149 GB, free: 10.76 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001443/0.6496, allocations: 89.09 kB / 1.149 GB, free: 10.66 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.294e-05/0.6496, allocations: 34.56 kB / 1.149 GB, free: 10.61 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=3): time 1.032e-06/0.6496, allocations: 3.938 kB / 1.149 GB, free: 10.61 MB / 0.9044 GB Notification: Performance of matching and sorting (n=3): time 0.0004909/0.6501, allocations: 133.5 kB / 1.149 GB, free: 10.47 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.496e-05/0.6501, allocations: 51.41 kB / 1.15 GB, free: 10.41 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.749e-05/0.6502, allocations: 117.8 kB / 1.15 GB, free: 10.29 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 1.156e-05/0.6502, allocations: 25.7 kB / 1.15 GB, free: 10.25 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 3.603e-05/0.6503, allocations: 92.12 kB / 1.15 GB, free: 10.16 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 1.789e-05/0.6503, allocations: 11.91 kB / 1.15 GB, free: 10.15 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.024e-05/0.6503, allocations: 13.66 kB / 1.15 GB, free: 10.13 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 8.218e-05/0.6504, allocations: 326.8 kB / 1.15 GB, free: 9.801 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000136/0.6506, allocations: 27.97 kB / 1.15 GB, free: 9.773 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001275/0.6507, allocations: 35.95 kB / 1.15 GB, free: 9.738 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002526/0.651, allocations: 68.73 kB / 1.15 GB, free: 9.668 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.593e-06/0.651, allocations: 0 / 1.15 GB, free: 9.668 MB / 0.9044 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002967/0.6513, allocations: 105.5 kB / 1.15 GB, free: 9.559 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.201e-05/0.6513, allocations: 4 kB / 1.15 GB, free: 9.555 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.909e-06/0.6513, allocations: 7.984 kB / 1.15 GB, free: 9.547 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.013e-05/0.6513, allocations: 0 / 1.15 GB, free: 9.547 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001094/0.6514, allocations: 15.98 kB / 1.15 GB, free: 9.531 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.038e-06/0.6514, allocations: 3.938 kB / 1.15 GB, free: 9.527 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.673e-05/0.6515, allocations: 19.92 kB / 1.15 GB, free: 9.508 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.742e-06/0.6515, allocations: 0 / 1.15 GB, free: 9.508 MB / 0.9044 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.062e-05/0.6516, allocations: 113.8 kB / 1.15 GB, free: 9.387 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.813e-05/0.6516, allocations: 15.89 kB / 1.15 GB, free: 9.371 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003299/0.652, allocations: 109.5 kB / 1.151 GB, free: 9.254 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.923e-06/0.652, allocations: 0 / 1.151 GB, free: 9.254 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.986e-06/0.652, allocations: 0 / 1.151 GB, free: 9.254 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.124e-06/0.652, allocations: 0 / 1.151 GB, free: 9.254 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001421/0.6521, allocations: 181.6 kB / 1.151 GB, free: 9.027 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.92e-07/0.6521, allocations: 0 / 1.151 GB, free: 9.027 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.943e-05/0.6522, allocations: 15.98 kB / 1.151 GB, free: 9.012 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.563e-06/0.6522, allocations: 0 / 1.151 GB, free: 9.012 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.503e-06/0.6523, allocations: 4 kB / 1.151 GB, free: 9.008 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.253e-06/0.6523, allocations: 0 / 1.151 GB, free: 9.008 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.91e-07/0.6523, allocations: 0 / 1.151 GB, free: 9.008 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003236/0.6526, allocations: 203.7 kB / 1.151 GB, free: 8.793 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 3.282e-05/0.6526, allocations: 89.05 kB / 1.151 GB, free: 8.688 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.387e-05/0.6527, allocations: 0 / 1.151 GB, free: 8.688 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.959e-05/0.6528, allocations: 11.98 kB / 1.151 GB, free: 8.676 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.05e-05/0.6528, allocations: 3.984 kB / 1.151 GB, free: 8.672 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.657e-06/0.6528, allocations: 0 / 1.151 GB, free: 8.672 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 4.413e-05/0.6529, allocations: 99.22 kB / 1.151 GB, free: 8.574 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.8e-07/0.6529, allocations: 0 / 1.151 GB, free: 8.574 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0002195/0.6531, allocations: 19.98 kB / 1.151 GB, free: 8.555 MB / 0.9044 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.0005629/0.6537, allocations: 0.7396 MB / 1.152 GB, free: 7.785 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0003096/0.654, allocations: 71.92 kB / 1.152 GB, free: 7.715 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 1.553e-06/0.654, allocations: 0 / 1.152 GB, free: 7.715 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.0001385/0.6541, allocations: 35.95 kB / 1.152 GB, free: 7.68 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002782/0.6544, allocations: 13.56 kB / 1.152 GB, free: 7.668 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001507/0.6559, allocations: 1.414 MB / 1.153 GB, free: 6.18 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001828/0.6561, allocations: 0.6943 MB / 1.154 GB, free: 5.461 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 3.001e-05/0.6562, allocations: 256 / 1.154 GB, free: 5.461 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.577e-05/0.6562, allocations: 19.38 kB / 1.154 GB, free: 5.441 MB / 0.9044 GB Notification: Performance of SimCode: time 2.1e-07/0.6562, allocations: 0 / 1.154 GB, free: 5.441 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.542/2.198, allocations: 2.032 MB / 1.156 GB, free: 3.492 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.34/12.54, allocations: 7.828 kB / 1.156 GB, free: 3.488 MB / 0.9044 GB (rm -f Buildings_10_Buildings.Utilities.Psychrometrics.Examples.Density_pTX.pipe ; mkfifo Buildings_10_Buildings.Utilities.Psychrometrics.Examples.Density_pTX.pipe ; head -c 1048576 < Buildings_10_Buildings.Utilities.Psychrometrics.Examples.Density_pTX.pipe >> ../files/Buildings_10_Buildings.Utilities.Psychrometrics.Examples.Density_pTX.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Utilities.Psychrometrics.Examples.Density_pTX_res.mat --tempDir=temp_Buildings_10_Buildings_Utilities_Psychrometrics_Examples_Density_pTX_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Utilities_Psychrometrics_Examples_Density_pTX.fmu > Buildings_10_Buildings.Utilities.Psychrometrics.Examples.Density_pTX.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Utilities.Psychrometrics.Examples.Density_pTX_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Utilities_Psychrometrics_Examples_Density_pTX.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Utilities.Psychrometrics.Examples.Density_pTX.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches