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.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.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.004573/0.004573, allocations: 95.02 kB / 15.73 MB, free: 6.484 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.001065/0.001065, allocations: 194.2 kB / 16.67 MB, free: 6.391 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.343/1.343, allocations: 222.9 MB / 240.4 MB, free: 4.324 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.331/2.331, allocations: 390.2 MB / 0.6648 GB, free: 212 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.00117/0.00117, allocations: 58.88 kB / 0.9504 GB, free: 5.953 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2851/0.2863, allocations: 140.4 MB / 1.087 GB, free: 2.031 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX): time 0.002714/0.2891, allocations: 1.27 MB / 1.089 GB, free: 0.75 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.1372/0.4263, allocations: 132 MB / 1.218 GB, free: 12.21 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.83e-05/0.4264, allocations: 0 / 1.218 GB, free: 12.21 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 2.243e-05/0.4265, allocations: 0 / 1.218 GB, free: 12.21 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 6.474e-05/0.4265, allocations: 11.92 kB / 1.218 GB, free: 12.2 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004289/0.427, allocations: 51.73 kB / 1.218 GB, free: 12.14 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 9.427e-05/0.4271, allocations: 31.84 kB / 1.218 GB, free: 12.11 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 4.763e-05/0.4271, allocations: 4 kB / 1.218 GB, free: 12.11 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 4.618e-05/0.4272, allocations: 4 kB / 1.218 GB, free: 12.11 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 6.441e-05/0.4273, allocations: 11.92 kB / 1.218 GB, free: 12.09 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.41e-05/0.4273, allocations: 0 / 1.218 GB, free: 12.09 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 8.876e-05/0.4274, allocations: 12 kB / 1.218 GB, free: 12.08 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 1.396e-05/0.4274, allocations: 0 / 1.218 GB, free: 12.08 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 3.253e-05/0.4274, allocations: 15.92 kB / 1.218 GB, free: 12.07 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0001209/0.4276, allocations: 28.19 kB / 1.218 GB, free: 12.04 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 3.857e-06/0.4276, allocations: 0 / 1.218 GB, free: 12.04 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.874e-06/0.4276, allocations: 4 kB / 1.218 GB, free: 12.04 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 5.67e-06/0.4276, allocations: 0 / 1.218 GB, free: 12.04 MB / 0.9825 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.0004561/0.4281, allocations: 339.3 kB / 1.218 GB, free: 11.65 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.662e-05/0.4281, allocations: 8.031 kB / 1.218 GB, free: 11.64 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.756e-05/0.4282, allocations: 34.75 kB / 1.218 GB, free: 11.6 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.234e-05/0.4282, allocations: 4.938 kB / 1.218 GB, free: 11.6 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001272/0.4283, allocations: 168.3 kB / 1.218 GB, free: 11.39 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.437e-05/0.4284, allocations: 38.2 kB / 1.218 GB, free: 11.35 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.115e-06/0.4284, allocations: 384 / 1.218 GB, free: 11.35 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001235/0.4286, allocations: 42 kB / 1.218 GB, free: 11.3 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.06e-05/0.4286, allocations: 3.984 kB / 1.218 GB, free: 11.3 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.927e-06/0.4286, allocations: 4 kB / 1.218 GB, free: 11.3 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.937e-06/0.4286, allocations: 0 / 1.218 GB, free: 11.3 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.422e-05/0.4287, allocations: 11.98 kB / 1.218 GB, free: 11.29 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000158/0.4289, allocations: 149.7 kB / 1.219 GB, free: 11.09 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 9.196e-05/0.429, allocations: 38.52 kB / 1.219 GB, free: 11.04 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.495e-05/0.429, allocations: 20.94 kB / 1.219 GB, free: 11.02 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001696/0.4292, allocations: 89.09 kB / 1.219 GB, free: 10.91 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.494e-05/0.4292, allocations: 34.5 kB / 1.219 GB, free: 10.87 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=3): time 1.293e-06/0.4292, allocations: 0 / 1.219 GB, free: 10.87 MB / 0.9825 GB Notification: Performance of matching and sorting (n=3): time 0.0002274/0.4295, allocations: 61.64 kB / 1.219 GB, free: 10.8 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.483e-05/0.4295, allocations: 59.33 kB / 1.219 GB, free: 10.73 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.425e-05/0.4296, allocations: 97.86 kB / 1.219 GB, free: 10.63 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.179e-05/0.4296, allocations: 25.7 kB / 1.219 GB, free: 10.6 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 2.539e-05/0.4297, allocations: 80.14 kB / 1.219 GB, free: 10.52 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 2.639e-05/0.4297, allocations: 11.89 kB / 1.219 GB, free: 10.5 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.123e-05/0.4297, allocations: 17.7 kB / 1.219 GB, free: 10.48 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001087/0.4299, allocations: 318.8 kB / 1.219 GB, free: 10.16 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.453e-05/0.4299, allocations: 4 kB / 1.219 GB, free: 10.16 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.952e-05/0.4299, allocations: 11.98 kB / 1.219 GB, free: 10.14 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.543e-05/0.43, allocations: 20.84 kB / 1.219 GB, free: 10.12 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.747e-06/0.43, allocations: 4 kB / 1.219 GB, free: 10.12 MB / 0.9825 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001272/0.4302, allocations: 53.62 kB / 1.219 GB, free: 10.06 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.579e-05/0.4302, allocations: 7.938 kB / 1.22 GB, free: 10.05 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.49e-06/0.4302, allocations: 0 / 1.22 GB, free: 10.05 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.076e-05/0.4302, allocations: 4 kB / 1.22 GB, free: 10.05 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.515e-05/0.4303, allocations: 8 kB / 1.22 GB, free: 10.04 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.812e-06/0.4303, allocations: 0 / 1.22 GB, free: 10.04 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.303e-05/0.4304, allocations: 7.922 kB / 1.22 GB, free: 10.03 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.683e-06/0.4304, allocations: 0 / 1.22 GB, free: 10.03 MB / 0.9825 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 8.523e-05/0.4305, allocations: 109.8 kB / 1.22 GB, free: 9.914 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.242e-05/0.4305, allocations: 7.891 kB / 1.22 GB, free: 9.906 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001692/0.4307, allocations: 65.69 kB / 1.22 GB, free: 9.832 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.124e-06/0.4307, allocations: 0 / 1.22 GB, free: 9.832 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.278e-06/0.4307, allocations: 0 / 1.22 GB, free: 9.832 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.989e-06/0.4307, allocations: 0 / 1.22 GB, free: 9.832 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001173/0.4308, allocations: 157.6 kB / 1.22 GB, free: 9.629 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.493e-06/0.4308, allocations: 48 / 1.22 GB, free: 9.629 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.551e-05/0.4309, allocations: 7.984 kB / 1.22 GB, free: 9.621 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.497e-06/0.4309, allocations: 7.875 kB / 1.22 GB, free: 9.613 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.629e-06/0.4309, allocations: 4 kB / 1.22 GB, free: 9.609 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.402e-06/0.4309, allocations: 0 / 1.22 GB, free: 9.609 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.4309, allocations: 0 / 1.22 GB, free: 9.609 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001561/0.4311, allocations: 77.11 kB / 1.22 GB, free: 9.516 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 6.07e-05/0.4311, allocations: 81.05 kB / 1.22 GB, free: 9.418 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.135e-05/0.4312, allocations: 0 / 1.22 GB, free: 9.418 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.323e-05/0.4312, allocations: 7.984 kB / 1.22 GB, free: 9.41 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.213e-05/0.4312, allocations: 4 kB / 1.22 GB, free: 9.406 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.935e-06/0.4312, allocations: 0 / 1.22 GB, free: 9.406 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 4.575e-05/0.4313, allocations: 79.28 kB / 1.22 GB, free: 9.328 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.7e-07/0.4313, allocations: 4 kB / 1.22 GB, free: 9.324 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002048/0.4315, allocations: 11.94 kB / 1.22 GB, free: 9.312 MB / 0.9825 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.0004684/0.432, allocations: 0.6279 MB / 1.221 GB, free: 8.652 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0001397/0.4321, allocations: 23.98 kB / 1.221 GB, free: 8.629 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.4321, allocations: 0 / 1.221 GB, free: 8.629 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 4.915e-05/0.4322, allocations: 15.92 kB / 1.221 GB, free: 8.613 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002415/0.4324, allocations: 9.719 kB / 1.221 GB, free: 8.605 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003667/0.4328, allocations: 149.3 kB / 1.221 GB, free: 8.426 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002316/0.4331, allocations: 0.6768 MB / 1.222 GB, free: 7.723 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 3.987e-05/0.4331, allocations: 8 kB / 1.222 GB, free: 7.715 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.989e-05/0.4331, allocations: 7.438 kB / 1.222 GB, free: 7.707 MB / 0.9825 GB Notification: Performance of SimCode: time 2.31e-07/0.4331, allocations: 3.938 kB / 1.222 GB, free: 7.703 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01775/0.4509, allocations: 1.375 MB / 1.223 GB, free: 6.438 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.35/7.801, allocations: 5.812 kB / 1.223 GB, free: 6.434 MB / 0.9825 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 & python3 -m fmpy simulate --output-file Buildings_9_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 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.csv","/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