Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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 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.Functions.Examples.Density_pTX,fileNamePrefix="Buildings_11_Buildings_Utilities_Psychrometrics_Functions_Examples_Density_pTX",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX,fileNamePrefix="Buildings_11_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.006354/0.006354, allocations: 100.8 kB / 15.73 MB, free: 6.059 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.001781/0.001781, allocations: 195.4 kB / 16.68 MB, free: 5.969 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.393/1.393, allocations: 222.9 MB / 240.4 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.714/2.714, allocations: 469.8 MB / 0.7425 GB, free: 3.324 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001973/0.001973, allocations: 71.83 kB / 1.065 GB, free: 14.09 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6756/0.6775, allocations: 159.1 MB / 1.22 GB, free: 2.047 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX): time 0.002531/0.6801, allocations: 1.272 MB / 1.221 GB, free: 0.7656 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.1471/0.8272, allocations: 132 MB / 1.35 GB, free: 12.23 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.414e-05/0.8273, allocations: 0 / 1.35 GB, free: 12.23 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 2.038e-05/0.8273, allocations: 0 / 1.35 GB, free: 12.23 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 5.536e-05/0.8274, allocations: 15.91 kB / 1.35 GB, free: 12.21 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003802/0.8278, allocations: 51.73 kB / 1.35 GB, free: 12.16 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 9.216e-05/0.8279, allocations: 27.86 kB / 1.35 GB, free: 12.14 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 3.671e-05/0.8279, allocations: 0 / 1.35 GB, free: 12.14 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 4.07e-05/0.828, allocations: 8 kB / 1.35 GB, free: 12.13 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 6.713e-05/0.8281, allocations: 15.92 kB / 1.35 GB, free: 12.11 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 1.221e-05/0.8281, allocations: 0 / 1.35 GB, free: 12.11 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 7.681e-05/0.8282, allocations: 8 kB / 1.35 GB, free: 12.11 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 1.974e-05/0.8282, allocations: 11.97 kB / 1.35 GB, free: 12.09 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 2.721e-05/0.8282, allocations: 7.938 kB / 1.35 GB, free: 12.09 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.0001052/0.8283, allocations: 23.78 kB / 1.35 GB, free: 12.07 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 3.837e-06/0.8283, allocations: 0 / 1.35 GB, free: 12.07 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.522e-06/0.8284, allocations: 0 / 1.35 GB, free: 12.07 MB / 1.076 GB Notification: Performance of Transformations before backend: time 8.165e-06/0.8284, allocations: 0 / 1.35 GB, free: 12.07 MB / 1.076 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.000434/0.8288, allocations: 335.3 kB / 1.351 GB, free: 11.69 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 3.873e-05/0.8289, allocations: 15.97 kB / 1.351 GB, free: 11.68 MB / 1.076 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.567e-05/0.8289, allocations: 30.75 kB / 1.351 GB, free: 11.64 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.996e-05/0.8289, allocations: 4.891 kB / 1.351 GB, free: 11.63 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001284/0.8291, allocations: 172.3 kB / 1.351 GB, free: 11.43 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.233e-05/0.8291, allocations: 34.27 kB / 1.351 GB, free: 11.39 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.149e-05/0.8292, allocations: 4.375 kB / 1.351 GB, free: 11.38 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001264/0.8293, allocations: 42 kB / 1.351 GB, free: 11.34 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.865e-06/0.8293, allocations: 0 / 1.351 GB, free: 11.34 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.462e-06/0.8293, allocations: 0 / 1.351 GB, free: 11.34 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.573e-06/0.8293, allocations: 0 / 1.351 GB, free: 11.34 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.47e-05/0.8294, allocations: 11.98 kB / 1.351 GB, free: 11.32 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001659/0.8296, allocations: 153.7 kB / 1.351 GB, free: 11.12 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 9.625e-05/0.8297, allocations: 34.52 kB / 1.351 GB, free: 11.08 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.309e-05/0.8298, allocations: 20.94 kB / 1.351 GB, free: 11.06 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001667/0.8299, allocations: 89.09 kB / 1.351 GB, free: 10.95 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.856e-05/0.83, allocations: 34.5 kB / 1.351 GB, free: 10.91 MB / 1.076 GB Notification: Performance of pre-optimization done (n=3): time 1.132e-06/0.83, allocations: 0 / 1.351 GB, free: 10.91 MB / 1.076 GB Notification: Performance of matching and sorting (n=3): time 0.000231/0.8302, allocations: 65.75 kB / 1.352 GB, free: 10.84 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.692e-05/0.8303, allocations: 55.34 kB / 1.352 GB, free: 10.77 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.178e-05/0.8303, allocations: 101.9 kB / 1.352 GB, free: 10.66 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 1.908e-05/0.8304, allocations: 25.7 kB / 1.352 GB, free: 10.63 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 3.23e-05/0.8304, allocations: 80.14 kB / 1.352 GB, free: 10.55 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 2.159e-05/0.8304, allocations: 11.84 kB / 1.352 GB, free: 10.54 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.977e-05/0.8305, allocations: 21.7 kB / 1.352 GB, free: 10.51 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 0.0001221/0.8306, allocations: 314.8 kB / 1.352 GB, free: 10.2 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.509e-05/0.8307, allocations: 4 kB / 1.352 GB, free: 10.19 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.399e-05/0.8307, allocations: 11.98 kB / 1.352 GB, free: 10.18 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.12e-05/0.8308, allocations: 24.84 kB / 1.352 GB, free: 10.15 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/0.8308, allocations: 0 / 1.352 GB, free: 10.15 MB / 1.076 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001334/0.831, allocations: 53.62 kB / 1.352 GB, free: 10.09 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 1.523e-05/0.831, allocations: 7.938 kB / 1.352 GB, free: 10.09 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.446e-06/0.831, allocations: 0 / 1.352 GB, free: 10.09 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.055e-05/0.831, allocations: 4 kB / 1.352 GB, free: 10.08 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.383e-05/0.8311, allocations: 4 kB / 1.352 GB, free: 10.08 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.075e-06/0.8311, allocations: 3.984 kB / 1.352 GB, free: 10.07 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.108e-05/0.8311, allocations: 4 kB / 1.352 GB, free: 10.07 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.894e-06/0.8311, allocations: 7.922 kB / 1.352 GB, free: 10.06 MB / 1.076 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 7.302e-05/0.8312, allocations: 105.8 kB / 1.352 GB, free: 9.949 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.061e-05/0.8312, allocations: 7.938 kB / 1.352 GB, free: 9.941 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000169/0.8314, allocations: 61.17 kB / 1.352 GB, free: 9.871 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.024e-06/0.8314, allocations: 0 / 1.352 GB, free: 9.871 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.066e-06/0.8314, allocations: 0 / 1.352 GB, free: 9.871 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.348e-06/0.8314, allocations: 4 kB / 1.352 GB, free: 9.867 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001243/0.8316, allocations: 161.6 kB / 1.353 GB, free: 9.66 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.283e-06/0.8316, allocations: 0 / 1.353 GB, free: 9.66 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.378e-05/0.8316, allocations: 4 kB / 1.353 GB, free: 9.656 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.118e-06/0.8316, allocations: 3.938 kB / 1.353 GB, free: 9.652 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.111e-06/0.8316, allocations: 0 / 1.353 GB, free: 9.652 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.543e-06/0.8317, allocations: 0 / 1.353 GB, free: 9.652 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.91e-07/0.8317, allocations: 0 / 1.353 GB, free: 9.652 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001552/0.8318, allocations: 81.06 kB / 1.353 GB, free: 9.555 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 6.808e-05/0.8319, allocations: 89.05 kB / 1.353 GB, free: 9.449 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.317e-05/0.8319, allocations: 4 kB / 1.353 GB, free: 9.445 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.107e-05/0.8319, allocations: 3.984 kB / 1.353 GB, free: 9.441 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.119e-05/0.832, allocations: 4 kB / 1.353 GB, free: 9.438 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.436e-06/0.832, allocations: 0 / 1.353 GB, free: 9.438 MB / 1.076 GB Notification: Performance of sorting global known variables: time 4.781e-05/0.832, allocations: 79.7 kB / 1.353 GB, free: 9.359 MB / 1.076 GB Notification: Performance of sort global known variables: time 1.3e-07/0.8321, allocations: 0 / 1.353 GB, free: 9.359 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0001997/0.8323, allocations: 12 kB / 1.353 GB, free: 9.348 MB / 1.076 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.0005099/0.8328, allocations: 0.6363 MB / 1.353 GB, free: 8.68 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.0001444/0.8329, allocations: 27.98 kB / 1.353 GB, free: 8.652 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 1.704e-06/0.8329, allocations: 0 / 1.353 GB, free: 8.652 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 5.314e-05/0.833, allocations: 15.92 kB / 1.353 GB, free: 8.637 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002284/0.8332, allocations: 4 kB / 1.353 GB, free: 8.633 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003972/0.8336, allocations: 159.8 kB / 1.354 GB, free: 8.438 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002888/0.8339, allocations: 0.6729 MB / 1.354 GB, free: 7.738 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 3.822e-05/0.834, allocations: 4 kB / 1.354 GB, free: 7.734 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.962e-05/0.834, allocations: 11.44 kB / 1.354 GB, free: 7.723 MB / 1.076 GB Notification: Performance of SimCode: time 2.144e-06/0.834, allocations: 0 / 1.354 GB, free: 7.723 MB / 1.076 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02277/0.8568, allocations: 1.378 MB / 1.356 GB, free: 6.465 MB / 1.076 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.744/8.601, allocations: 15.56 kB / 1.356 GB, free: 6.453 MB / 1.076 GB (rm -f Buildings_11_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX.pipe ; mkfifo Buildings_11_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX.pipe >> ../files/Buildings_11_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX.sim & python3 -m fmpy simulate --output-file Buildings_11_Buildings.Utilities.Psychrometrics.Functions.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_Functions_Examples_Density_pTX.fmu > Buildings_11_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_Psychrometrics_Functions_Examples_Density_pTX.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches