Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Utilities.Psychrometrics.Functions.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.Functions.Examples.Density_pTX,fileNamePrefix="Buildings_9_Buildings_Utilities_Psychrometrics_Functions_Examples_Density_pTX",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX,fileNamePrefix="Buildings_9_Buildings_Utilities_Psychrometrics_Functions_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.0008629/0.0008628, allocations: 90.52 kB / 15.36 MB, free: 0.7383 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.005207/0.005207, allocations: 170.4 kB / 16.26 MB, free: 6.617 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.24/1.24, allocations: 223.3 MB / 240.3 MB, free: 5.344 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.119/2.119, allocations: 390.9 MB / 0.6664 GB, free: 2.375 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0002901/0.0002901, allocations: 12 kB / 0.8161 GB, free: 13.15 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5254/0.5257, allocations: 142.4 MB / 0.9552 GB, free: 7.609 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX): time 0.0009427/0.5267, allocations: 0.9986 MB / 0.9561 GB, free: 6.809 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.1209/0.6476, allocations: 128.5 MB / 1.082 GB, free: 13.37 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.202e-05/0.6477, allocations: 0 / 1.082 GB, free: 13.37 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 1.457e-05/0.6477, allocations: 4 kB / 1.082 GB, free: 13.37 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 4.699e-05/0.6477, allocations: 3.984 kB / 1.082 GB, free: 13.36 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002744/0.648, allocations: 51.78 kB / 1.082 GB, free: 13.31 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 5.773e-05/0.6481, allocations: 27.81 kB / 1.082 GB, free: 13.29 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 3.237e-05/0.6481, allocations: 0 / 1.082 GB, free: 13.29 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 3.723e-05/0.6482, allocations: 15.81 kB / 1.082 GB, free: 13.27 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 4.805e-05/0.6482, allocations: 8 kB / 1.082 GB, free: 13.27 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 9.888e-06/0.6482, allocations: 0 / 1.082 GB, free: 13.27 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 6.295e-05/0.6483, allocations: 15.92 kB / 1.082 GB, free: 13.25 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 1.447e-05/0.6483, allocations: 7.938 kB / 1.082 GB, free: 13.24 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 3.068e-05/0.6484, allocations: 33.7 kB / 1.082 GB, free: 13.2 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 8.552e-05/0.6485, allocations: 34.16 kB / 1.082 GB, free: 13.17 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 3.206e-06/0.6485, allocations: 0 / 1.082 GB, free: 13.17 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.393e-06/0.6485, allocations: 0 / 1.082 GB, free: 13.17 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 3.507e-06/0.6485, allocations: 0 / 1.082 GB, free: 13.17 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.000324/0.6488, allocations: 335.4 kB / 1.082 GB, free: 12.79 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 3.53e-05/0.6489, allocations: 8.031 kB / 1.082 GB, free: 12.79 MB / 0.8419 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.157e-05/0.6489, allocations: 34.75 kB / 1.082 GB, free: 12.74 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.469e-05/0.6489, allocations: 8.938 kB / 1.082 GB, free: 12.73 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.873e-05/0.649, allocations: 164.4 kB / 1.082 GB, free: 12.54 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.163e-05/0.6491, allocations: 30.27 kB / 1.082 GB, free: 12.5 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.646e-06/0.6491, allocations: 384 / 1.082 GB, free: 12.5 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000107/0.6492, allocations: 38 kB / 1.082 GB, free: 12.46 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.581e-06/0.6492, allocations: 0 / 1.082 GB, free: 12.46 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.097e-05/0.6493, allocations: 11.98 kB / 1.082 GB, free: 12.45 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.599e-06/0.6493, allocations: 3.938 kB / 1.082 GB, free: 12.44 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.911e-05/0.6493, allocations: 11.98 kB / 1.082 GB, free: 12.43 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001382/0.6495, allocations: 157.7 kB / 1.083 GB, free: 12.23 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 8.59e-05/0.6496, allocations: 30.61 kB / 1.083 GB, free: 12.19 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.259e-05/0.6496, allocations: 8.859 kB / 1.083 GB, free: 12.18 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001463/0.6498, allocations: 93.19 kB / 1.083 GB, free: 12.07 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.348e-05/0.6498, allocations: 38.5 kB / 1.083 GB, free: 12.02 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=3): time 1.022e-06/0.6498, allocations: 7.938 kB / 1.083 GB, free: 12.01 MB / 0.8419 GB Notification: Performance of matching and sorting (n=3): time 0.0002257/0.6501, allocations: 61.52 kB / 1.083 GB, free: 11.95 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.207e-05/0.6501, allocations: 51.41 kB / 1.083 GB, free: 11.88 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.147e-05/0.6502, allocations: 101.8 kB / 1.083 GB, free: 11.77 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 1.246e-05/0.6502, allocations: 25.7 kB / 1.083 GB, free: 11.74 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 3.004e-05/0.6502, allocations: 80.14 kB / 1.083 GB, free: 11.66 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 2.249e-05/0.6503, allocations: 11.84 kB / 1.083 GB, free: 11.65 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.073e-05/0.6503, allocations: 9.719 kB / 1.083 GB, free: 11.63 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001013/0.6504, allocations: 318.8 kB / 1.083 GB, free: 11.31 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.483e-05/0.6504, allocations: 7.984 kB / 1.083 GB, free: 11.3 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.461e-05/0.6505, allocations: 4 kB / 1.083 GB, free: 11.3 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.941e-05/0.6506, allocations: 28.78 kB / 1.083 GB, free: 11.27 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.633e-06/0.6506, allocations: 0 / 1.083 GB, free: 11.27 MB / 0.8419 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001238/0.6507, allocations: 49.62 kB / 1.083 GB, free: 11.21 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.398e-05/0.6507, allocations: 11.94 kB / 1.083 GB, free: 11.2 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.546e-06/0.6507, allocations: 4 kB / 1.083 GB, free: 11.2 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.987e-06/0.6508, allocations: 0 / 1.083 GB, free: 11.2 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.303e-05/0.6508, allocations: 7.984 kB / 1.083 GB, free: 11.19 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.288e-06/0.6508, allocations: 0 / 1.083 GB, free: 11.19 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.995e-05/0.6509, allocations: 4 kB / 1.083 GB, free: 11.19 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.26e-06/0.6509, allocations: 0 / 1.083 GB, free: 11.19 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.14e-05/0.6509, allocations: 109.8 kB / 1.084 GB, free: 11.07 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.177e-05/0.651, allocations: 7.938 kB / 1.084 GB, free: 11.06 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000158/0.6511, allocations: 61.62 kB / 1.084 GB, free: 10.99 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.914e-06/0.6511, allocations: 0 / 1.084 GB, free: 10.99 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.447e-06/0.6511, allocations: 0 / 1.084 GB, free: 10.99 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.245e-06/0.6512, allocations: 0 / 1.084 GB, free: 10.99 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.338e-05/0.6513, allocations: 157.6 kB / 1.084 GB, free: 10.79 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.395e-06/0.6513, allocations: 4 kB / 1.084 GB, free: 10.79 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.99e-05/0.6513, allocations: 4 kB / 1.084 GB, free: 10.78 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.602e-06/0.6513, allocations: 11.95 kB / 1.084 GB, free: 10.77 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.53e-06/0.6513, allocations: 0 / 1.084 GB, free: 10.77 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.052e-06/0.6513, allocations: 0 / 1.084 GB, free: 10.77 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.6513, allocations: 4 kB / 1.084 GB, free: 10.77 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001418/0.6515, allocations: 77.06 kB / 1.084 GB, free: 10.67 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 5.297e-05/0.6515, allocations: 85.03 kB / 1.084 GB, free: 10.57 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.01e-05/0.6516, allocations: 7.938 kB / 1.084 GB, free: 10.56 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.822e-05/0.6516, allocations: 4 kB / 1.084 GB, free: 10.56 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.01e-05/0.6516, allocations: 0 / 1.084 GB, free: 10.56 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.089e-06/0.6516, allocations: 4 kB / 1.084 GB, free: 10.55 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 4.297e-05/0.6517, allocations: 87.27 kB / 1.084 GB, free: 10.47 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.1e-07/0.6517, allocations: 0 / 1.084 GB, free: 10.47 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0001836/0.6519, allocations: 8 kB / 1.084 GB, free: 10.46 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.0004443/0.6523, allocations: 0.6163 MB / 1.085 GB, free: 9.816 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0001332/0.6525, allocations: 23.92 kB / 1.085 GB, free: 9.793 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 3.386e-06/0.6525, allocations: 4 kB / 1.085 GB, free: 9.789 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 4.588e-05/0.6525, allocations: 11.98 kB / 1.085 GB, free: 9.777 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002101/0.6528, allocations: 5.203 kB / 1.085 GB, free: 9.773 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003697/0.6531, allocations: 186 kB / 1.085 GB, free: 9.547 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002222/0.6534, allocations: 0.6809 MB / 1.086 GB, free: 8.84 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 4.731e-05/0.6534, allocations: 7.891 kB / 1.086 GB, free: 8.832 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.911e-05/0.6535, allocations: 11.44 kB / 1.086 GB, free: 8.82 MB / 0.8419 GB Notification: Performance of SimCode: time 4.41e-07/0.6535, allocations: 0 / 1.086 GB, free: 8.82 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.009858/0.6633, allocations: 1.136 MB / 1.087 GB, free: 7.832 MB / 0.8419 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002171/0.6636, allocations: 223.2 kB / 1.087 GB, free: 7.574 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.585/2.249, allocations: 3.938 kB / 1.087 GB, free: 7.57 MB / 0.8419 GB (rm -f Buildings_9_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX.pipe ; mkfifo Buildings_9_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX.pipe >> ../files/Buildings_9_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX_res.mat --tempDir=temp_Buildings_9_Buildings_Utilities_Psychrometrics_Functions_Examples_Density_pTX_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Utilities_Psychrometrics_Functions_Examples_Density_pTX.fmu > Buildings_9_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Utilities_Psychrometrics_Functions_Examples_Density_pTX.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches