Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.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.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate,fileNamePrefix="Buildings_9_Buildings_Fluid_MixingVolumes_Examples_MixingVolumePrescribedHeatFlowRate",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate,fileNamePrefix="Buildings_9_Buildings_Fluid_MixingVolumes_Examples_MixingVolumePrescribedHeatFlowRate",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.008286/0.008286, allocations: 101.5 kB / 15.73 MB, free: 6.031 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.001723/0.001723, allocations: 187.4 kB / 16.67 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.332/1.332, allocations: 222.9 MB / 240.4 MB, free: 4.332 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.351/2.351, allocations: 390.2 MB / 0.6648 GB, free: 224 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001138/0.001138, allocations: 61.59 kB / 0.9504 GB, free: 6.02 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2813/0.2824, allocations: 140.4 MB / 1.087 GB, free: 2.141 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate): time 0.1831/0.4656, allocations: 171 MB / 1.254 GB, free: 6.469 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.006711/0.4723, allocations: 4.287 MB / 1.259 GB, free: 2.168 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009699/0.4733, allocations: 19.88 kB / 1.259 GB, free: 2.148 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.001278/0.4747, allocations: 350 kB / 1.259 GB, free: 1.805 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.002833/0.4775, allocations: 0.9993 MB / 1.26 GB, free: 0.8008 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.6938/1.171, allocations: 0.8129 MB / 1.261 GB, free: 4.297 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.002868/1.174, allocations: 1.284 MB / 1.262 GB, free: 4.297 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00103/1.175, allocations: 480.6 kB / 1.262 GB, free: 4.277 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001646/1.177, allocations: 0.6776 MB / 1.263 GB, free: 4.277 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001256/1.178, allocations: 455.5 kB / 1.264 GB, free: 4.277 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 0.0001057/1.178, allocations: 52.75 kB / 1.264 GB, free: 4.277 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001798/1.18, allocations: 0.9087 MB / 1.265 GB, free: 4.277 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.0002807/1.18, allocations: 215.2 kB / 1.265 GB, free: 4.277 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.0004325/1.181, allocations: 328.1 kB / 1.265 GB, free: 4.277 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.001987/1.183, allocations: 1.133 MB / 1.266 GB, free: 4.254 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 5.06e-06/1.183, allocations: 1.156 kB / 1.266 GB, free: 4.254 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.583e-06/1.183, allocations: 0 / 1.266 GB, free: 4.254 MB / 1.014 GB Notification: Performance of Transformations before backend: time 1.111e-05/1.183, allocations: 1.031 kB / 1.266 GB, free: 4.254 MB / 1.014 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 106 * Number of variables: 106 Notification: Performance of Generate backend data structure: time 0.001665/1.185, allocations: 0.9514 MB / 1.267 GB, free: 3.68 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.986e-05/1.185, allocations: 9.844 kB / 1.267 GB, free: 3.68 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001011/1.185, allocations: 83.7 kB / 1.267 GB, free: 3.641 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001723/1.186, allocations: 265.3 kB / 1.267 GB, free: 3.609 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008953/1.187, allocations: 0.4893 MB / 1.268 GB, free: 3.355 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.752e-05/1.187, allocations: 36.16 kB / 1.268 GB, free: 3.355 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.712e-05/1.188, allocations: 38.56 kB / 1.268 GB, free: 3.355 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001332/1.189, allocations: 0.6151 MB / 1.269 GB, free: 3.27 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.682e-05/1.189, allocations: 0 / 1.269 GB, free: 3.27 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.114e-05/1.189, allocations: 27.31 kB / 1.269 GB, free: 3.27 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.487e-05/1.189, allocations: 20.11 kB / 1.269 GB, free: 3.27 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001527/1.191, allocations: 0.5498 MB / 1.269 GB, free: 3.27 MB / 1.014 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004192/1.195, allocations: 2.253 MB / 1.271 GB, free: 18.25 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001015/1.196, allocations: 286.4 kB / 1.272 GB, free: 18.22 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005966/1.196, allocations: 166.4 kB / 1.272 GB, free: 18.21 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 2.957e-05/1.196, allocations: 5.359 kB / 1.272 GB, free: 18.21 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.005e-05/1.196, allocations: 39.25 kB / 1.272 GB, free: 18.17 MB / 1.029 GB Notification: Performance of pre-optimization done (n=11): time 2.635e-06/1.196, allocations: 0 / 1.272 GB, free: 18.17 MB / 1.029 GB Notification: Performance of matching and sorting (n=11): time 0.005797/1.202, allocations: 1.087 MB / 1.273 GB, free: 18.02 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.007e-05/1.202, allocations: 78.64 kB / 1.273 GB, free: 17.92 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009036/1.203, allocations: 0.5494 MB / 1.273 GB, free: 17.8 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 5e-05/1.203, allocations: 32.28 kB / 1.274 GB, free: 17.77 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002197/1.204, allocations: 297.3 kB / 1.274 GB, free: 17.61 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 4.966e-05/1.204, allocations: 44.33 kB / 1.274 GB, free: 17.59 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001308/1.204, allocations: 57.97 kB / 1.274 GB, free: 17.57 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001483/1.204, allocations: 361.4 kB / 1.274 GB, free: 17.25 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006365/1.205, allocations: 191.3 kB / 1.274 GB, free: 17.25 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006523/1.205, allocations: 268.1 kB / 1.275 GB, free: 17.17 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001183/1.206, allocations: 404.3 kB / 1.275 GB, free: 17.09 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.486e-06/1.206, allocations: 3.391 kB / 1.275 GB, free: 17.09 MB / 1.029 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.002741/1.209, allocations: 0.733 MB / 1.276 GB, free: 17.02 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.869e-05/1.209, allocations: 8.469 kB / 1.276 GB, free: 17.02 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.636e-06/1.209, allocations: 7.406 kB / 1.276 GB, free: 17.02 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006556/1.21, allocations: 184.8 kB / 1.276 GB, free: 17.01 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003882/1.21, allocations: 69.16 kB / 1.276 GB, free: 17.01 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004149/1.214, allocations: 2.23 MB / 1.278 GB, free: 15.65 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007401/1.215, allocations: 73.8 kB / 1.278 GB, free: 15.63 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.847e-05/1.215, allocations: 15.42 kB / 1.278 GB, free: 15.63 MB / 1.029 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * 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 (26): * Single equations (assignments): 25 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,4)} Notification: Performance of prepare postOptimizeDAE: time 0.0002972/1.215, allocations: 188.8 kB / 1.278 GB, free: 15.52 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001117/1.216, allocations: 58.05 kB / 1.279 GB, free: 15.49 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001095/1.216, allocations: 46.45 kB / 1.279 GB, free: 15.48 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.526e-06/1.216, allocations: 6.062 kB / 1.279 GB, free: 15.48 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.416e-06/1.216, allocations: 0.7188 kB / 1.279 GB, free: 15.48 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.547e-06/1.216, allocations: 0.9375 kB / 1.279 GB, free: 15.48 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003387/1.219, allocations: 1.128 MB / 1.28 GB, free: 15.16 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.049e-06/1.219, allocations: 2.891 kB / 1.28 GB, free: 15.16 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000251/1.219, allocations: 38.33 kB / 1.28 GB, free: 15.16 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005621/1.22, allocations: 184.4 kB / 1.28 GB, free: 15.14 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.069e-05/1.22, allocations: 3.812 kB / 1.28 GB, free: 15.14 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003788/1.224, allocations: 2.191 MB / 1.282 GB, free: 13.78 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.198e-06/1.224, allocations: 6.062 kB / 1.282 GB, free: 13.78 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002676/1.227, allocations: 0.6972 MB / 1.283 GB, free: 13.6 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003334/1.227, allocations: 168.9 kB / 1.283 GB, free: 13.48 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001275/1.227, allocations: 1.656 kB / 1.283 GB, free: 13.48 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006533/1.228, allocations: 50.17 kB / 1.283 GB, free: 13.48 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.562e-05/1.228, allocations: 15.3 kB / 1.283 GB, free: 13.48 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.442e-05/1.228, allocations: 16.17 kB / 1.283 GB, free: 13.48 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0006524/1.228, allocations: 394.9 kB / 1.283 GB, free: 13.39 MB / 1.029 GB Notification: Performance of sort global known variables: time 2.31e-07/1.228, allocations: 0 / 1.283 GB, free: 13.39 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0008814/1.229, allocations: 188.2 kB / 1.284 GB, free: 13.38 MB / 1.029 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (7): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,4)} Notification: Performance of Backend phase and start with SimCode phase: time 0.003363/1.233, allocations: 1.326 MB / 1.285 GB, free: 12.66 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.001724/1.234, allocations: 0.5244 MB / 1.285 GB, free: 12.54 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 5.891e-06/1.235, allocations: 0 / 1.285 GB, free: 12.54 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.000783/1.235, allocations: 303.4 kB / 1.286 GB, free: 12.43 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001711/1.237, allocations: 304.5 kB / 1.286 GB, free: 12.4 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0128/1.25, allocations: 5.061 MB / 1.291 GB, free: 10.63 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005815/1.25, allocations: 0.8662 MB / 1.292 GB, free: 9.922 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.0005942/1.251, allocations: 103.5 kB / 1.292 GB, free: 9.895 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002601/1.251, allocations: 162 kB / 1.292 GB, free: 9.887 MB / 1.029 GB Notification: Performance of SimCode: time 9.12e-07/1.251, allocations: 0 / 1.292 GB, free: 9.887 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05222/1.304, allocations: 16.91 MB / 1.308 GB, free: 8.562 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.75/13.05, allocations: 13.02 kB / 1.308 GB, free: 8.555 MB / 1.029 GB (rm -f Buildings_9_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.pipe ; mkfifo Buildings_9_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.pipe >> ../files/Buildings_9_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.sim & python3 -m fmpy simulate --output-file Buildings_9_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate_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_Fluid_MixingVolumes_Examples_MixingVolumePrescribedHeatFlowRate.fmu > Buildings_9_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_MixingVolumes_Examples_MixingVolumePrescribedHeatFlowRate.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches