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.007567/0.007567, allocations: 98.56 kB / 15.73 MB, free: 6.008 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.00178/0.00178, allocations: 195.1 kB / 16.68 MB, free: 5.934 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.417/1.417, allocations: 222.9 MB / 240.4 MB, free: 4.34 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.413/2.413, allocations: 390.2 MB / 0.6648 GB, free: 224 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001255/0.001255, allocations: 62.39 kB / 0.9504 GB, free: 5.906 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3184/0.3197, allocations: 140.4 MB / 1.087 GB, free: 2.059 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate): time 0.1886/0.5084, allocations: 171 MB / 1.254 GB, free: 6.387 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.006751/0.5152, allocations: 4.289 MB / 1.259 GB, free: 2.086 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008292/0.516, allocations: 23.88 kB / 1.259 GB, free: 2.062 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.00111/0.5172, allocations: 362 kB / 1.259 GB, free: 1.707 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.002889/0.5201, allocations: 1.037 MB / 1.26 GB, free: 0.668 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.7604/1.281, allocations: 0.8092 MB / 1.261 GB, free: 4.25 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.002599/1.283, allocations: 1.298 MB / 1.262 GB, free: 4.25 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001041/1.284, allocations: 490.6 kB / 1.263 GB, free: 4.23 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001948/1.286, allocations: 0.6941 MB / 1.263 GB, free: 4.23 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00143/1.288, allocations: 450.1 kB / 1.264 GB, free: 4.23 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 0.0001195/1.288, allocations: 51.69 kB / 1.264 GB, free: 4.23 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002236/1.29, allocations: 0.9108 MB / 1.265 GB, free: 4.23 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.0003367/1.29, allocations: 216.5 kB / 1.265 GB, free: 4.23 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.000486/1.291, allocations: 331.4 kB / 1.265 GB, free: 4.23 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.002298/1.293, allocations: 1.143 MB / 1.266 GB, free: 4.172 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 5.511e-06/1.293, allocations: 0 / 1.266 GB, free: 4.172 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.613e-06/1.293, allocations: 0.875 kB / 1.266 GB, free: 4.172 MB / 1.014 GB Notification: Performance of Transformations before backend: time 1.233e-05/1.293, allocations: 0.9688 kB / 1.266 GB, free: 4.172 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.002009/1.295, allocations: 0.9634 MB / 1.267 GB, free: 3.57 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 5.329e-05/1.295, allocations: 9.562 kB / 1.267 GB, free: 3.57 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001151/1.295, allocations: 85.5 kB / 1.267 GB, free: 3.531 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001791/1.297, allocations: 270.8 kB / 1.268 GB, free: 3.496 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001027/1.298, allocations: 0.4919 MB / 1.268 GB, free: 3.238 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.363e-05/1.298, allocations: 30.64 kB / 1.268 GB, free: 3.238 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.931e-05/1.298, allocations: 42.38 kB / 1.268 GB, free: 3.238 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001526/1.3, allocations: 0.613 MB / 1.269 GB, free: 3.152 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.737e-05/1.3, allocations: 0 / 1.269 GB, free: 3.152 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.411e-05/1.3, allocations: 23.5 kB / 1.269 GB, free: 3.152 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.425e-05/1.3, allocations: 22.5 kB / 1.269 GB, free: 3.152 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001609/1.302, allocations: 0.5488 MB / 1.269 GB, free: 3.152 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.004547/1.306, allocations: 2.261 MB / 1.271 GB, free: 2.125 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001037/1.307, allocations: 281.2 kB / 1.272 GB, free: 2.102 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006153/1.308, allocations: 171.3 kB / 1.272 GB, free: 2.094 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 2.639e-05/1.308, allocations: 5.609 kB / 1.272 GB, free: 2.09 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.524e-05/1.308, allocations: 38.78 kB / 1.272 GB, free: 2.047 MB / 1.014 GB Notification: Performance of pre-optimization done (n=11): time 1.704e-06/1.308, allocations: 1.531 kB / 1.272 GB, free: 2.047 MB / 1.014 GB Notification: Performance of matching and sorting (n=11): time 0.006191/1.314, allocations: 1.085 MB / 1.273 GB, free: 17.89 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.613e-05/1.314, allocations: 81.64 kB / 1.273 GB, free: 17.8 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0012/1.315, allocations: 0.556 MB / 1.274 GB, free: 17.67 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 9.658e-05/1.316, allocations: 33.56 kB / 1.274 GB, free: 17.64 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002852/1.316, allocations: 300.4 kB / 1.274 GB, free: 17.48 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 7.055e-05/1.316, allocations: 44.75 kB / 1.274 GB, free: 17.45 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001675/1.316, allocations: 62 kB / 1.274 GB, free: 17.43 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001886/1.316, allocations: 361.5 kB / 1.274 GB, free: 17.12 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009771/1.317, allocations: 187.8 kB / 1.275 GB, free: 17.12 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00106/1.318, allocations: 268.6 kB / 1.275 GB, free: 17.03 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001879/1.32, allocations: 405.3 kB / 1.275 GB, free: 16.95 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.054e-06/1.32, allocations: 1.156 kB / 1.275 GB, free: 16.95 MB / 1.029 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.004256/1.325, allocations: 0.7283 MB / 1.276 GB, free: 16.88 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 3.029e-05/1.325, allocations: 9.406 kB / 1.276 GB, free: 16.88 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.533e-05/1.325, allocations: 2.375 kB / 1.276 GB, free: 16.88 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007341/1.325, allocations: 184.1 kB / 1.276 GB, free: 16.87 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004394/1.326, allocations: 76.84 kB / 1.276 GB, free: 16.87 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004382/1.33, allocations: 2.233 MB / 1.278 GB, free: 15.51 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008298/1.331, allocations: 75.42 kB / 1.278 GB, free: 15.48 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.996e-05/1.331, allocations: 15.06 kB / 1.278 GB, free: 15.48 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.0004056/1.332, allocations: 189.4 kB / 1.279 GB, free: 15.37 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001396/1.332, allocations: 50.31 kB / 1.279 GB, free: 15.35 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001255/1.332, allocations: 51.62 kB / 1.279 GB, free: 15.34 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.709e-06/1.332, allocations: 5 kB / 1.279 GB, free: 15.34 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.582e-06/1.332, allocations: 1.5 kB / 1.279 GB, free: 15.34 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.427e-06/1.332, allocations: 5.516 kB / 1.279 GB, free: 15.34 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003495/1.335, allocations: 1.129 MB / 1.28 GB, free: 15.01 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.5e-06/1.335, allocations: 2.281 kB / 1.28 GB, free: 15.01 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002544/1.336, allocations: 41.45 kB / 1.28 GB, free: 15.01 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000644/1.336, allocations: 184.4 kB / 1.28 GB, free: 14.99 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.201e-05/1.336, allocations: 4.016 kB / 1.28 GB, free: 14.99 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0041/1.34, allocations: 2.191 MB / 1.282 GB, free: 13.63 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.665e-06/1.34, allocations: 0 / 1.282 GB, free: 13.63 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002749/1.343, allocations: 0.7046 MB / 1.283 GB, free: 13.45 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005101/1.344, allocations: 169.1 kB / 1.283 GB, free: 13.33 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.492e-05/1.344, allocations: 6.125 kB / 1.283 GB, free: 13.33 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006004/1.344, allocations: 49.06 kB / 1.283 GB, free: 13.33 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.862e-05/1.345, allocations: 15.23 kB / 1.283 GB, free: 13.32 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.131e-05/1.345, allocations: 16.77 kB / 1.283 GB, free: 13.32 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0005465/1.345, allocations: 392.9 kB / 1.284 GB, free: 13.24 MB / 1.029 GB Notification: Performance of sort global known variables: time 1.473e-06/1.345, allocations: 0.7812 kB / 1.284 GB, free: 13.24 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.00078/1.346, allocations: 180.5 kB / 1.284 GB, free: 13.22 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.003326/1.349, allocations: 1.333 MB / 1.285 GB, free: 12.5 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.001697/1.351, allocations: 0.5209 MB / 1.285 GB, free: 12.39 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 5.71e-06/1.351, allocations: 2.156 kB / 1.285 GB, free: 12.39 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0007597/1.352, allocations: 301.6 kB / 1.286 GB, free: 12.27 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001666/1.353, allocations: 310.6 kB / 1.286 GB, free: 12.23 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01246/1.366, allocations: 5.073 MB / 1.291 GB, free: 10.45 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005857/1.367, allocations: 0.8619 MB / 1.292 GB, free: 9.75 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.0006674/1.367, allocations: 109.9 kB / 1.292 GB, free: 9.719 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000275/1.368, allocations: 160.1 kB / 1.292 GB, free: 9.711 MB / 1.029 GB Notification: Performance of SimCode: time 1.583e-06/1.368, allocations: 0 / 1.292 GB, free: 9.711 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04809/1.416, allocations: 16.9 MB / 1.309 GB, free: 8.387 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.67/13.09, allocations: 8.266 kB / 1.309 GB, free: 8.379 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