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.001293/0.001293, 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.001345/0.001345, allocations: 196.8 kB / 16.53 MB, free: 6.664 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.43/1.43, allocations: 222.9 MB / 240.2 MB, free: 4.375 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.852/2.852, allocations: 469.8 MB / 0.7424 GB, free: 7.402 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001915/0.001915, allocations: 69.09 kB / 0.9087 GB, free: 34.32 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2774/0.2793, allocations: 159.1 MB / 1.064 GB, free: 14.2 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.Density_pTX): time 0.002614/0.282, allocations: 1.501 MB / 1.066 GB, free: 12.68 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.15/0.432, allocations: 132.1 MB / 1.195 GB, free: 8.102 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.325e-05/0.4321, allocations: 0 / 1.195 GB, free: 8.102 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 3.297e-05/0.4321, allocations: 11.94 kB / 1.195 GB, free: 8.09 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 5.56e-05/0.4322, allocations: 7.922 kB / 1.195 GB, free: 8.082 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003499/0.4325, allocations: 63.94 kB / 1.195 GB, free: 8.02 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 9.379e-05/0.4327, allocations: 59.78 kB / 1.195 GB, free: 7.961 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 9.102e-05/0.4328, allocations: 19.86 kB / 1.195 GB, free: 7.941 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 4.858e-05/0.4328, allocations: 19.92 kB / 1.195 GB, free: 7.922 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 5.332e-05/0.4329, allocations: 27.91 kB / 1.195 GB, free: 7.895 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 1.518e-05/0.4329, allocations: 8 kB / 1.195 GB, free: 7.887 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 8.227e-05/0.433, allocations: 19.94 kB / 1.195 GB, free: 7.867 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 1.922e-05/0.433, allocations: 11.92 kB / 1.195 GB, free: 7.855 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 3.369e-05/0.433, allocations: 19.92 kB / 1.195 GB, free: 7.836 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.0001319/0.4332, allocations: 55.81 kB / 1.195 GB, free: 7.781 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 3.306e-06/0.4332, allocations: 0 / 1.195 GB, free: 7.781 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.393e-06/0.4332, allocations: 0 / 1.195 GB, free: 7.781 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 4.358e-06/0.4332, allocations: 0 / 1.195 GB, free: 7.781 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.0005372/0.4337, allocations: 375.4 kB / 1.195 GB, free: 7.363 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 3.938e-05/0.4338, allocations: 12.03 kB / 1.195 GB, free: 7.352 MB / 0.9512 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.117e-05/0.4338, allocations: 34.75 kB / 1.195 GB, free: 7.309 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.868e-05/0.4339, allocations: 8.844 kB / 1.195 GB, free: 7.301 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001438/0.434, allocations: 172.2 kB / 1.195 GB, free: 7.094 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.218e-05/0.434, allocations: 4.375 kB / 1.195 GB, free: 7.09 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.167e-06/0.4341, allocations: 384 / 1.195 GB, free: 7.09 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002534/0.4343, allocations: 74.16 kB / 1.195 GB, free: 7.012 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.639e-06/0.4343, allocations: 7.938 kB / 1.195 GB, free: 7.004 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.496e-06/0.4343, allocations: 0 / 1.195 GB, free: 7.004 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.188e-06/0.4344, allocations: 4 kB / 1.195 GB, free: 7 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003035/0.4347, allocations: 67.92 kB / 1.196 GB, free: 6.934 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003762/0.435, allocations: 284.7 kB / 1.196 GB, free: 6.605 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002064/0.4353, allocations: 58.47 kB / 1.196 GB, free: 6.539 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001558/0.4354, allocations: 36.92 kB / 1.196 GB, free: 6.5 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001616/0.4356, allocations: 89.09 kB / 1.196 GB, free: 6.395 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.699e-05/0.4356, allocations: 34.56 kB / 1.196 GB, free: 6.352 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=3): time 1.232e-06/0.4356, allocations: 4 kB / 1.196 GB, free: 6.348 MB / 0.9512 GB Notification: Performance of matching and sorting (n=3): time 0.0005531/0.4362, allocations: 125.6 kB / 1.196 GB, free: 6.219 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.234e-05/0.4363, allocations: 55.41 kB / 1.196 GB, free: 6.152 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.987e-05/0.4364, allocations: 121.8 kB / 1.196 GB, free: 6.023 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 1.818e-05/0.4364, allocations: 29.64 kB / 1.196 GB, free: 5.988 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 5.672e-05/0.4365, allocations: 100.1 kB / 1.196 GB, free: 5.887 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 2.155e-05/0.4365, allocations: 11.81 kB / 1.196 GB, free: 5.875 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.286e-05/0.4365, allocations: 9.719 kB / 1.196 GB, free: 5.859 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001318/0.4367, allocations: 326.8 kB / 1.197 GB, free: 5.531 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000156/0.4368, allocations: 31.97 kB / 1.197 GB, free: 5.5 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001469/0.437, allocations: 39.89 kB / 1.197 GB, free: 5.461 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002779/0.4373, allocations: 61.08 kB / 1.197 GB, free: 5.398 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.713e-06/0.4373, allocations: 0 / 1.197 GB, free: 5.398 MB / 0.9512 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003419/0.4376, allocations: 109.6 kB / 1.197 GB, free: 5.285 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.285e-05/0.4376, allocations: 4 kB / 1.197 GB, free: 5.281 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.36e-06/0.4376, allocations: 4 kB / 1.197 GB, free: 5.277 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.078e-05/0.4377, allocations: 0 / 1.197 GB, free: 5.277 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001214/0.4378, allocations: 19.92 kB / 1.197 GB, free: 5.258 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.508e-06/0.4378, allocations: 0 / 1.197 GB, free: 5.258 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.994e-05/0.4379, allocations: 15.89 kB / 1.197 GB, free: 5.242 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.212e-06/0.4379, allocations: 4 kB / 1.197 GB, free: 5.238 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 0.000107/0.438, allocations: 117.8 kB / 1.197 GB, free: 5.113 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.787e-05/0.4381, allocations: 4 kB / 1.197 GB, free: 5.109 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003823/0.4384, allocations: 105.5 kB / 1.197 GB, free: 4.996 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.763e-06/0.4385, allocations: 0 / 1.197 GB, free: 4.996 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.427e-06/0.4385, allocations: 0 / 1.197 GB, free: 4.996 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.074e-06/0.4385, allocations: 4 kB / 1.197 GB, free: 4.992 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002078/0.4387, allocations: 177.6 kB / 1.197 GB, free: 4.77 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.233e-06/0.4387, allocations: 0 / 1.197 GB, free: 4.77 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.828e-05/0.4388, allocations: 15.92 kB / 1.197 GB, free: 4.754 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.633e-06/0.4388, allocations: 0 / 1.197 GB, free: 4.754 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.716e-06/0.4388, allocations: 4 kB / 1.197 GB, free: 4.75 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.152e-06/0.4388, allocations: 0 / 1.197 GB, free: 4.75 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.81e-07/0.4388, allocations: 0 / 1.197 GB, free: 4.75 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003971/0.4392, allocations: 203.3 kB / 1.198 GB, free: 4.535 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 4.842e-05/0.4393, allocations: 81.11 kB / 1.198 GB, free: 4.438 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.525e-05/0.4393, allocations: 0 / 1.198 GB, free: 4.438 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001504/0.4395, allocations: 11.98 kB / 1.198 GB, free: 4.426 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.239e-05/0.4395, allocations: 7.984 kB / 1.198 GB, free: 4.418 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.807e-06/0.4395, allocations: 7.938 kB / 1.198 GB, free: 4.41 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 5.769e-05/0.4396, allocations: 95.27 kB / 1.198 GB, free: 4.316 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.3e-07/0.4396, allocations: 0 / 1.198 GB, free: 4.316 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0002383/0.4398, allocations: 15.94 kB / 1.198 GB, free: 4.301 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.0007271/0.4406, allocations: 0.7435 MB / 1.199 GB, free: 3.531 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.0003496/0.4409, allocations: 67.92 kB / 1.199 GB, free: 3.465 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 1.703e-06/0.4409, allocations: 0 / 1.199 GB, free: 3.465 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.0001621/0.4411, allocations: 43.89 kB / 1.199 GB, free: 3.422 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003051/0.4414, allocations: 13.19 kB / 1.199 GB, free: 3.41 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001949/0.4434, allocations: 1.419 MB / 1.2 GB, free: 1.914 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003197/0.4437, allocations: 0.6846 MB / 1.201 GB, free: 1.203 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 3.973e-05/0.4438, allocations: 12.14 kB / 1.201 GB, free: 1.191 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.012e-05/0.4438, allocations: 19.44 kB / 1.201 GB, free: 1.176 MB / 0.9512 GB Notification: Performance of SimCode: time 2.3e-07/0.4438, allocations: 0 / 1.201 GB, free: 1.176 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02287/0.4667, allocations: 2.043 MB / 1.203 GB, free: 15.21 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.512/8.978, allocations: 11.62 kB / 1.203 GB, free: 15.2 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 & python3 -m fmpy simulate --output-file Buildings_11_Buildings.Utilities.Psychrometrics.Examples.Density_pTX_res.csv --start-time 0 --stop-time 1 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 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.csv","/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