Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction.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.MixingVolumeHeatConduction,fileNamePrefix="Buildings_9_Buildings_Fluid_MixingVolumes_Examples_MixingVolumeHeatConduction",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction,fileNamePrefix="Buildings_9_Buildings_Fluid_MixingVolumes_Examples_MixingVolumeHeatConduction",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.007221/0.007228, allocations: 99.44 kB / 15.73 MB, free: 6.035 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.001604/0.001604, allocations: 193.3 kB / 16.67 MB, free: 5.961 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.37/1.37, allocations: 222.9 MB / 240.4 MB, free: 4.32 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.332/2.332, allocations: 390.2 MB / 0.6648 GB, free: 204 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001304/0.001304, allocations: 63.12 kB / 0.9504 GB, free: 5.961 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3012/0.3025, allocations: 140.4 MB / 1.087 GB, free: 2.012 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction): time 0.1886/0.4911, allocations: 171.1 MB / 1.255 GB, free: 6.285 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.007126/0.4983, allocations: 4.307 MB / 1.259 GB, free: 1.965 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001109/0.4994, allocations: 23.88 kB / 1.259 GB, free: 1.941 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.001579/0.5011, allocations: 361.9 kB / 1.259 GB, free: 1.586 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.004543/0.5056, allocations: 1.256 MB / 1.26 GB, free: 332 kB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.7368/1.242, allocations: 0.7931 MB / 1.261 GB, free: 4.371 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.002961/1.245, allocations: 1.698 MB / 1.263 GB, free: 4.367 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001119/1.247, allocations: 0.5617 MB / 1.263 GB, free: 4.352 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001788/1.248, allocations: 0.7123 MB / 1.264 GB, free: 4.352 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001693/1.25, allocations: 0.5566 MB / 1.265 GB, free: 4.352 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 0.0001663/1.25, allocations: 65.72 kB / 1.265 GB, free: 4.352 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001997/1.252, allocations: 0.8033 MB / 1.265 GB, free: 4.352 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.0004381/1.253, allocations: 269.8 kB / 1.266 GB, free: 4.352 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.0007183/1.253, allocations: 405 kB / 1.266 GB, free: 4.352 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.002428/1.256, allocations: 1.272 MB / 1.267 GB, free: 4.289 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 4.869e-06/1.256, allocations: 1.688 kB / 1.267 GB, free: 4.289 MB / 1.014 GB Notification: Performance of FrontEnd: time 2.535e-06/1.256, allocations: 0.75 kB / 1.267 GB, free: 4.289 MB / 1.014 GB Notification: Performance of Transformations before backend: time 1.675e-05/1.256, allocations: 0.5938 kB / 1.267 GB, free: 4.289 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: 136 * Number of variables: 136 Notification: Performance of Generate backend data structure: time 0.002154/1.258, allocations: 1.052 MB / 1.268 GB, free: 3.672 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 5.1e-05/1.258, allocations: 11.2 kB / 1.268 GB, free: 3.672 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001237/1.258, allocations: 100 kB / 1.268 GB, free: 3.633 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001123/1.259, allocations: 170.8 kB / 1.269 GB, free: 3.594 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001023/1.26, allocations: 0.5458 MB / 1.269 GB, free: 3.328 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.724e-05/1.261, allocations: 42.31 kB / 1.269 GB, free: 3.328 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.598e-05/1.261, allocations: 50.22 kB / 1.269 GB, free: 3.328 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001331/1.262, allocations: 0.6514 MB / 1.27 GB, free: 3.254 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.656e-05/1.262, allocations: 0.8438 kB / 1.27 GB, free: 3.254 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.918e-05/1.262, allocations: 24.06 kB / 1.27 GB, free: 3.254 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.639e-05/1.262, allocations: 23.02 kB / 1.27 GB, free: 3.25 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00109/1.263, allocations: 0.5172 MB / 1.27 GB, free: 3.242 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.004387/1.268, allocations: 2.291 MB / 1.273 GB, free: 2.203 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008326/1.268, allocations: 261.3 kB / 1.273 GB, free: 2.176 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004173/1.269, allocations: 133.5 kB / 1.273 GB, free: 2.168 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 4.203e-05/1.269, allocations: 5.203 kB / 1.273 GB, free: 2.168 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002811/1.269, allocations: 45.86 kB / 1.273 GB, free: 18.12 MB / 1.029 GB Notification: Performance of pre-optimization done (n=20): time 4.168e-06/1.269, allocations: 1.562 kB / 1.273 GB, free: 18.12 MB / 1.029 GB Notification: Performance of matching and sorting (n=20): time 0.002259/1.272, allocations: 0.6723 MB / 1.274 GB, free: 17.86 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.094e-05/1.272, allocations: 79.42 kB / 1.274 GB, free: 17.77 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009454/1.273, allocations: 0.5598 MB / 1.274 GB, free: 17.64 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 5.623e-05/1.273, allocations: 29.55 kB / 1.274 GB, free: 17.61 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003738/1.273, allocations: 342.3 kB / 1.275 GB, free: 17.43 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 0.000101/1.273, allocations: 72 kB / 1.275 GB, free: 17.38 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001643/1.273, allocations: 70.47 kB / 1.275 GB, free: 17.36 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0002026/1.273, allocations: 364.5 kB / 1.275 GB, free: 17.05 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003218/1.274, allocations: 132.7 kB / 1.275 GB, free: 17.05 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003851/1.274, allocations: 219.1 kB / 1.275 GB, free: 16.96 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005555/1.275, allocations: 337.8 kB / 1.276 GB, free: 16.87 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.449e-06/1.275, allocations: 2.062 kB / 1.276 GB, free: 16.87 MB / 1.029 GB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0009931/1.276, allocations: 0.4911 MB / 1.276 GB, free: 16.79 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.937e-05/1.276, allocations: 6.844 kB / 1.276 GB, free: 16.79 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.416e-06/1.276, allocations: 1.75 kB / 1.276 GB, free: 16.79 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003271/1.276, allocations: 93.16 kB / 1.276 GB, free: 16.78 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003374/1.277, allocations: 75.05 kB / 1.276 GB, free: 16.78 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003138/1.28, allocations: 3.338 MB / 1.28 GB, free: 14.07 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006795/1.28, allocations: 61.41 kB / 1.28 GB, free: 14.04 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.009e-05/1.28, allocations: 13.92 kB / 1.28 GB, free: 14.04 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 (34): * Single equations (assignments): 32 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * 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): 2 systems {(1,5), (1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0003975/1.281, allocations: 219.2 kB / 1.28 GB, free: 13.93 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001572/1.281, allocations: 56.23 kB / 1.28 GB, free: 13.9 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001144/1.281, allocations: 58.94 kB / 1.28 GB, free: 13.89 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.621e-06/1.281, allocations: 2.188 kB / 1.28 GB, free: 13.89 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.27e-06/1.281, allocations: 0.5938 kB / 1.28 GB, free: 13.89 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007974/1.282, allocations: 0.5352 MB / 1.281 GB, free: 13.53 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001627/1.284, allocations: 0.9167 MB / 1.282 GB, free: 13.2 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.707e-06/1.284, allocations: 2.438 kB / 1.282 GB, free: 13.2 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002244/1.284, allocations: 43.52 kB / 1.282 GB, free: 13.2 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002196/1.284, allocations: 62.09 kB / 1.282 GB, free: 13.2 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.095e-05/1.284, allocations: 7.156 kB / 1.282 GB, free: 13.2 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001726/1.286, allocations: 1.828 MB / 1.283 GB, free: 11.83 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.985e-06/1.286, allocations: 0.75 kB / 1.283 GB, free: 11.83 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007054/1.287, allocations: 441.6 kB / 1.284 GB, free: 11.65 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003174/1.287, allocations: 174.3 kB / 1.284 GB, free: 11.52 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.801e-05/1.287, allocations: 7.688 kB / 1.284 GB, free: 11.52 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004555/1.287, allocations: 24.12 kB / 1.284 GB, free: 11.52 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9e-05/1.288, allocations: 19.89 kB / 1.284 GB, free: 11.52 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.851e-05/1.288, allocations: 16.53 kB / 1.284 GB, free: 11.52 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0005525/1.288, allocations: 399.4 kB / 1.284 GB, free: 11.43 MB / 1.029 GB Notification: Performance of sort global known variables: time 1.3e-07/1.288, allocations: 0.8438 kB / 1.284 GB, free: 11.43 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0008159/1.289, allocations: 202.9 kB / 1.285 GB, free: 11.41 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 (15): * Single equations (assignments): 14 * 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,5)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001249/1.29, allocations: 1.036 MB / 1.286 GB, free: 10.7 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.001/1.291, allocations: 0.539 MB / 1.286 GB, free: 10.46 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 5.41e-06/1.291, allocations: 2.188 kB / 1.286 GB, free: 10.46 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0003769/1.292, allocations: 256.7 kB / 1.286 GB, free: 10.35 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00185/1.293, allocations: 368.6 kB / 1.287 GB, free: 10.31 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006835/1.3, allocations: 4.469 MB / 1.291 GB, free: 8.559 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006035/1.301, allocations: 0.91 MB / 1.292 GB, free: 7.855 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.0006185/1.302, allocations: 110.7 kB / 1.292 GB, free: 7.84 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002432/1.302, allocations: 195.9 kB / 1.292 GB, free: 7.832 MB / 1.029 GB Notification: Performance of SimCode: time 7.61e-07/1.302, allocations: 0 / 1.292 GB, free: 7.832 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05014/1.352, allocations: 17.79 MB / 1.31 GB, free: 6.637 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.63/12.98, allocations: 12 kB / 1.31 GB, free: 6.629 MB / 1.029 GB (rm -f Buildings_9_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction.pipe ; mkfifo Buildings_9_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction.pipe >> ../files/Buildings_9_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction.sim & python3 -m fmpy simulate --output-file Buildings_9_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction_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_MixingVolumeHeatConduction.fmu > Buildings_9_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_MixingVolumes_Examples_MixingVolumeHeatConduction.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches