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.338/2.338, allocations: 390.5 MB / 398 MB, free: 10.95 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.001211/0.001211, allocations: 178.4 kB / 491.2 MB, free: 1.551 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.714/1.714, allocations: 221.5 MB / 0.7868 GB, free: 13.25 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.0009855/0.0009855, allocations: 95.88 kB / 0.9269 GB, free: 13.75 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 1.632e-05/1.634e-05, allocations: 4 kB / 1.073 GB, free: 182 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.316/0.316, allocations: 143 MB / 1.212 GB, free: 39.52 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.261/6.577, allocations: 1.982 GB / 3.194 GB, free: 290.8 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002778/6.578, allocations: 84.92 kB / 3.194 GB, free: 290.7 MB / 1.151 GB Notification: Performance of FrontEnd - DAE generated: time 0.5084/7.086, allocations: 268.7 MB / 3.457 GB, free: 30.98 MB / 1.151 GB Notification: Performance of FrontEnd: time 1.252e-06/7.086, allocations: 0 / 3.457 GB, free: 30.98 MB / 1.151 GB Notification: Performance of Transformations before backend: time 3.873e-05/7.086, allocations: 16 kB / 3.457 GB, free: 30.96 MB / 1.151 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.001699/7.088, allocations: 0.9084 MB / 3.457 GB, free: 30.01 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 4.53e-05/7.088, allocations: 8.031 kB / 3.458 GB, free: 30 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009366/7.089, allocations: 159 kB / 3.458 GB, free: 29.85 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00082/7.09, allocations: 0.5354 MB / 3.458 GB, free: 29.28 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.365e-05/7.09, allocations: 24 kB / 3.458 GB, free: 29.25 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.678e-05/7.09, allocations: 28 kB / 3.458 GB, free: 29.23 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0006871/7.09, allocations: 442.5 kB / 3.459 GB, free: 28.79 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000765/7.091, allocations: 0.5407 MB / 3.459 GB, free: 28.23 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.727e-05/7.091, allocations: 0 / 3.459 GB, free: 28.23 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.3e-05/7.091, allocations: 0 / 3.459 GB, free: 28.23 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.834e-05/7.091, allocations: 25.3 kB / 3.459 GB, free: 28.21 MB / 1.151 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.002977/7.094, allocations: 2.104 MB / 3.461 GB, free: 25.96 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003649/7.095, allocations: 227.2 kB / 3.461 GB, free: 25.73 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001426/7.095, allocations: 110.7 kB / 3.462 GB, free: 25.62 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 4.673e-05/7.095, allocations: 7.984 kB / 3.462 GB, free: 25.61 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.151e-05/7.095, allocations: 46.48 kB / 3.462 GB, free: 25.56 MB / 1.151 GB Notification: Performance of pre-optimization done (n=20): time 2.275e-06/7.095, allocations: 0 / 3.462 GB, free: 25.56 MB / 1.151 GB Notification: Performance of matching and sorting (n=20): time 0.0007949/7.096, allocations: 304.3 kB / 3.462 GB, free: 25.25 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.16e-05/7.096, allocations: 85.05 kB / 3.462 GB, free: 25.15 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003687/7.096, allocations: 361.2 kB / 3.462 GB, free: 24.79 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 3.107e-05/7.096, allocations: 29.7 kB / 3.462 GB, free: 24.76 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001553/7.096, allocations: 342.8 kB / 3.463 GB, free: 24.42 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 5.691e-05/7.096, allocations: 74.94 kB / 3.463 GB, free: 24.34 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.66e-05/7.096, allocations: 0 / 3.463 GB, free: 24.34 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 9.508e-05/7.097, allocations: 350.8 kB / 3.463 GB, free: 23.99 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001351/7.097, allocations: 104.6 kB / 3.463 GB, free: 23.89 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001752/7.097, allocations: 199.8 kB / 3.463 GB, free: 23.66 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001692/7.097, allocations: 135.9 kB / 3.464 GB, free: 23.52 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.835e-06/7.097, allocations: 0 / 3.464 GB, free: 23.52 MB / 1.151 GB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0006196/7.098, allocations: 427.1 kB / 3.464 GB, free: 23.09 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 2.069e-05/7.098, allocations: 4 kB / 3.464 GB, free: 23.09 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.384e-06/7.098, allocations: 7.938 kB / 3.464 GB, free: 23.08 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003176/7.098, allocations: 89.94 kB / 3.464 GB, free: 22.99 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003003/7.098, allocations: 67.91 kB / 3.464 GB, free: 22.92 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002017/7.1, allocations: 2.845 MB / 3.467 GB, free: 19.85 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004945/7.101, allocations: 39.67 kB / 3.467 GB, free: 19.81 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.354e-05/7.101, allocations: 12 kB / 3.467 GB, free: 19.8 MB / 1.151 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.0001167/7.101, allocations: 116.9 kB / 3.467 GB, free: 19.68 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.389e-05/7.101, allocations: 47.44 kB / 3.467 GB, free: 19.63 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001008/7.101, allocations: 43.52 kB / 3.467 GB, free: 19.59 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.705e-06/7.101, allocations: 4 kB / 3.467 GB, free: 19.58 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.334e-06/7.101, allocations: 0 / 3.467 GB, free: 19.58 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0004764/7.102, allocations: 0.4888 MB / 3.468 GB, free: 19.02 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009434/7.103, allocations: 0.7961 MB / 3.468 GB, free: 18.18 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.996e-06/7.103, allocations: 0 / 3.468 GB, free: 18.18 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001891/7.103, allocations: 47.97 kB / 3.468 GB, free: 18.13 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001734/7.103, allocations: 60.88 kB / 3.468 GB, free: 18.07 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.639e-05/7.103, allocations: 192 / 3.468 GB, free: 18.07 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001132/7.104, allocations: 1.565 MB / 3.47 GB, free: 16.38 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.236e-06/7.104, allocations: 3.938 kB / 3.47 GB, free: 16.38 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004746/7.105, allocations: 414 kB / 3.47 GB, free: 15.94 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001606/7.105, allocations: 156.5 kB / 3.471 GB, free: 15.77 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.303e-05/7.105, allocations: 0 / 3.471 GB, free: 15.77 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004237/7.105, allocations: 35.88 kB / 3.471 GB, free: 15.73 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.05e-05/7.106, allocations: 19.97 kB / 3.471 GB, free: 15.71 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.733e-05/7.106, allocations: 19.92 kB / 3.471 GB, free: 15.69 MB / 1.151 GB Notification: Performance of sorting global known variables: time 0.0002433/7.106, allocations: 279 kB / 3.471 GB, free: 15.42 MB / 1.151 GB Notification: Performance of sort global known variables: time 1.9e-07/7.106, allocations: 0 / 3.471 GB, free: 15.42 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.00103/7.107, allocations: 275.4 kB / 3.471 GB, free: 15.15 MB / 1.151 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.00133/7.108, allocations: 1.064 MB / 3.472 GB, free: 14.09 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.000619/7.109, allocations: 471.2 kB / 3.473 GB, free: 13.61 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 4.448e-06/7.109, allocations: 4 kB / 3.473 GB, free: 13.61 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.0002032/7.109, allocations: 217.6 kB / 3.473 GB, free: 13.38 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001138/7.11, allocations: 258.1 kB / 3.473 GB, free: 13.13 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001062/7.111, allocations: 0.6237 MB / 3.474 GB, free: 12.47 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003228/7.112, allocations: 0.9167 MB / 3.475 GB, free: 11.53 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.0003881/7.112, allocations: 88.12 kB / 3.475 GB, free: 11.45 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.119e-05/7.112, allocations: 31.44 kB / 3.475 GB, free: 11.41 MB / 1.151 GB Notification: Performance of SimCode: time 3e-07/7.112, allocations: 0 / 3.475 GB, free: 11.41 MB / 1.151 GB Notification: Performance of Templates: time 0.7413/7.853, allocations: 14.2 MB / 3.489 GB, free: 334.9 MB / 1.151 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