Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: translateModel(Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|vol.ports.1..m_flow|vol.heatPort.Q_flow|vol.heatPort.T",fileNamePrefix="Buildings_latest_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction") translateModel(Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|vol.ports.1..m_flow|vol.heatPort.Q_flow|vol.heatPort.T",fileNamePrefix="Buildings_latest_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.324/2.324, allocations: 390.3 MB / 402.8 MB, free: 6.711 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001035/0.001035, allocations: 176.9 kB / 496.1 MB, free: 12.89 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.653/1.653, allocations: 221.3 MB / 0.7915 GB, free: 5.508 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009522/0.0009524, allocations: 98.53 kB / 0.9318 GB, free: 5.812 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 2.825e-05/2.839e-05, allocations: 4 kB / 1.079 GB, free: 140.6 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3281/0.3281, allocations: 143 MB / 1.219 GB, free: 13.58 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.071/6.399, allocations: 1.982 GB / 3.201 GB, free: 278.2 MB / 1.167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002729/6.399, allocations: 90.44 kB / 3.201 GB, free: 278.2 MB / 1.167 GB Notification: Performance of FrontEnd - DAE generated: time 0.5579/6.957, allocations: 271.9 MB / 3.467 GB, free: 10.15 MB / 1.167 GB Notification: Performance of FrontEnd: time 1.282e-06/6.957, allocations: 0 / 3.467 GB, free: 10.15 MB / 1.167 GB Notification: Performance of Transformations before backend: time 7.49e-05/6.958, allocations: 12 kB / 3.467 GB, free: 10.14 MB / 1.167 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.002508/6.96, allocations: 0.8976 MB / 3.468 GB, free: 9.195 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 4.905e-05/6.96, allocations: 12.03 kB / 3.468 GB, free: 9.184 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001301/6.961, allocations: 167 kB / 3.468 GB, free: 9.02 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001249/6.963, allocations: 0.5354 MB / 3.468 GB, free: 8.438 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.656e-05/6.963, allocations: 37.31 kB / 3.468 GB, free: 8.402 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001245/6.963, allocations: 56 kB / 3.468 GB, free: 8.348 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001046/6.964, allocations: 0.6099 MB / 3.469 GB, free: 7.719 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.663e-05/6.964, allocations: 3.953 kB / 3.469 GB, free: 7.715 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.978e-05/6.964, allocations: 24 kB / 3.469 GB, free: 7.691 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.31e-05/6.964, allocations: 25.25 kB / 3.469 GB, free: 7.668 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006794/6.965, allocations: 469.1 kB / 3.47 GB, free: 7.211 MB / 1.167 GB Warning: The model contains alias variables with conflicting start and/or 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.002927/6.968, allocations: 2.251 MB / 3.472 GB, free: 4.805 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003716/6.968, allocations: 238.3 kB / 3.472 GB, free: 4.566 MB / 1.167 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001442/6.968, allocations: 112.8 kB / 3.472 GB, free: 4.453 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 3.384e-05/6.968, allocations: 4 kB / 3.472 GB, free: 4.449 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.247e-05/6.968, allocations: 34.56 kB / 3.472 GB, free: 4.406 MB / 1.167 GB Notification: Performance of pre-optimization done (n=20): time 2.525e-06/6.968, allocations: 0 / 3.472 GB, free: 4.406 MB / 1.167 GB Notification: Performance of matching and sorting (n=20): time 0.0008278/6.969, allocations: 336.2 kB / 3.472 GB, free: 4.066 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.63e-05/6.969, allocations: 85.09 kB / 3.473 GB, free: 3.965 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004807/6.97, allocations: 492.8 kB / 3.473 GB, free: 3.473 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 2.876e-05/6.97, allocations: 33.7 kB / 3.473 GB, free: 3.434 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.000179/6.97, allocations: 339.3 kB / 3.473 GB, free: 3.098 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 4.993e-05/6.97, allocations: 70.94 kB / 3.473 GB, free: 3.027 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.616e-05/6.97, allocations: 12 kB / 3.473 GB, free: 3.016 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 8.339e-05/6.97, allocations: 362.8 kB / 3.474 GB, free: 2.652 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001507/6.97, allocations: 104.6 kB / 3.474 GB, free: 2.547 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002097/6.97, allocations: 215.4 kB / 3.474 GB, free: 2.301 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002016/6.971, allocations: 148.5 kB / 3.474 GB, free: 2.156 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.125e-06/6.971, allocations: 0 / 3.474 GB, free: 2.156 MB / 1.167 GB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0006812/6.971, allocations: 478.3 kB / 3.475 GB, free: 1.676 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 2.214e-05/6.971, allocations: 9.562 kB / 3.475 GB, free: 1.668 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.785e-06/6.971, allocations: 0 / 3.475 GB, free: 1.668 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003218/6.972, allocations: 89.94 kB / 3.475 GB, free: 1.574 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000295/6.972, allocations: 75.91 kB / 3.475 GB, free: 1.5 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.927/7.899, allocations: 2.963 MB / 3.478 GB, free: 343.6 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009573/7.9, allocations: 67.42 kB / 3.478 GB, free: 343.6 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.431e-05/7.9, allocations: 11.25 kB / 3.478 GB, free: 343.6 MB / 1.167 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 5,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0002073/7.9, allocations: 130.5 kB / 3.478 GB, free: 343.5 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001479/7.901, allocations: 56.67 kB / 3.478 GB, free: 343.5 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002188/7.901, allocations: 52.72 kB / 3.478 GB, free: 343.5 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.761e-06/7.901, allocations: 3.656 kB / 3.478 GB, free: 343.5 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.183e-06/7.901, allocations: 3.094 kB / 3.478 GB, free: 343.5 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0008073/7.902, allocations: 0.5014 MB / 3.479 GB, free: 343.1 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00182/7.903, allocations: 0.892 MB / 3.479 GB, free: 342.8 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.911e-06/7.903, allocations: 1.547 kB / 3.479 GB, free: 342.8 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002379/7.904, allocations: 48.33 kB / 3.479 GB, free: 342.8 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002589/7.904, allocations: 61.95 kB / 3.48 GB, free: 342.8 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.122e-05/7.904, allocations: 2.125 kB / 3.48 GB, free: 342.8 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001768/7.906, allocations: 1.617 MB / 3.481 GB, free: 341.5 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.587e-06/7.906, allocations: 1.531 kB / 3.481 GB, free: 341.5 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000792/7.907, allocations: 442.7 kB / 3.482 GB, free: 341.3 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002948/7.907, allocations: 170.5 kB / 3.482 GB, free: 341.2 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.421e-05/7.907, allocations: 10.5 kB / 3.482 GB, free: 341.2 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004732/7.907, allocations: 30.64 kB / 3.482 GB, free: 341.2 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000129/7.908, allocations: 21.59 kB / 3.482 GB, free: 341.2 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.745e-05/7.908, allocations: 15.53 kB / 3.482 GB, free: 341.2 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.0007278/7.908, allocations: 387 kB / 3.482 GB, free: 341.1 MB / 1.167 GB Notification: Performance of sort global known variables: time 1.2e-07/7.908, allocations: 0 / 3.482 GB, free: 341.1 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.001452/7.91, allocations: 290.5 kB / 3.482 GB, free: 341.1 MB / 1.167 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 5} Notification: Performance of Backend phase and start with SimCode phase: time 0.002026/7.912, allocations: 0.9392 MB / 3.483 GB, free: 340.9 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.0009883/7.913, allocations: 499.2 kB / 3.484 GB, free: 340.7 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 6.402e-06/7.913, allocations: 1.562 kB / 3.484 GB, free: 340.7 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.0003694/7.913, allocations: 235.6 kB / 3.484 GB, free: 340.6 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001781/7.915, allocations: 362.5 kB / 3.484 GB, free: 340.6 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001593/7.917, allocations: 0.6586 MB / 3.485 GB, free: 340.3 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000707/7.917, allocations: 0.9229 MB / 3.486 GB, free: 339.6 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.0005384/7.918, allocations: 109.6 kB / 3.486 GB, free: 339.6 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001108/7.918, allocations: 39.59 kB / 3.486 GB, free: 339.6 MB / 1.167 GB Notification: Performance of SimCode: time 2.11e-07/7.918, allocations: 0 / 3.486 GB, free: 339.6 MB / 1.167 GB Notification: Performance of Templates: time 0.06494/7.983, allocations: 25.86 MB / 3.511 GB, free: 339.3 MB / 1.167 GB make -j1 -f Buildings_latest_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction.makefile (rm -f Buildings_latest_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction.pipe ; mkfifo Buildings_latest_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction.pipe >> ../files/Buildings_latest_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction.sim & ./Buildings_latest_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_MixingVolumes_Examples_MixingVolumeHeatConduction.csv","../files/Buildings_latest_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches