Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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: 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_10_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_10_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001817/0.001817, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.002117/0.002116, allocations: 191 kB / 16.14 MB, free: 6.711 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.45/1.45, allocations: 222.9 MB / 239.8 MB, free: 4.582 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.705/2.705, allocations: 437 MB / 0.7099 GB, free: 5.34 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.002755/0.002755, allocations: 67.89 kB / 0.8686 GB, free: 5.188 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7365/0.7393, allocations: 151.6 MB / 1.017 GB, free: 2.777 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction): time 0.2164/0.9557, allocations: 168.8 MB / 1.181 GB, free: 9.328 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.00772/0.9634, allocations: 4.355 MB / 1.186 GB, free: 4.961 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008323/0.9643, allocations: 19.88 kB / 1.186 GB, free: 4.941 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.001147/0.9655, allocations: 306.5 kB / 1.186 GB, free: 4.641 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.003473/0.969, allocations: 1.152 MB / 1.187 GB, free: 3.484 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.002035/0.971, allocations: 0.7294 MB / 1.188 GB, free: 2.762 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.003122/0.9742, allocations: 2.366 MB / 1.19 GB, free: 400 kB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008358/0.975, allocations: 491.1 kB / 1.191 GB, free: 15.9 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001199/0.9762, allocations: 0.5912 MB / 1.191 GB, free: 15.31 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001366/0.9776, allocations: 0.5706 MB / 1.192 GB, free: 14.74 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 9.561e-05/0.9777, allocations: 32 kB / 1.192 GB, free: 14.71 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001805/0.9795, allocations: 0.9195 MB / 1.193 GB, free: 13.79 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 0.0002837/0.9798, allocations: 239.3 kB / 1.193 GB, free: 13.55 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 0.0004547/0.9803, allocations: 370.3 kB / 1.193 GB, free: 13.19 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.001666/0.982, allocations: 1.285 MB / 1.195 GB, free: 11.9 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 4.528e-06/0.982, allocations: 3.938 kB / 1.195 GB, free: 11.89 MB / 0.9512 GB Notification: Performance of FrontEnd: time 8.91e-07/0.982, allocations: 0 / 1.195 GB, free: 11.89 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 1.178e-05/0.982, allocations: 0 / 1.195 GB, free: 11.89 MB / 0.9512 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.002035/0.984, allocations: 1.029 MB / 1.196 GB, free: 10.82 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 4.177e-05/0.9841, allocations: 15.91 kB / 1.196 GB, free: 10.8 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001035/0.9851, allocations: 163 kB / 1.196 GB, free: 10.64 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008449/0.986, allocations: 0.5171 MB / 1.196 GB, free: 10.08 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.854e-05/0.986, allocations: 41.31 kB / 1.196 GB, free: 10.04 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.568e-05/0.9861, allocations: 48 kB / 1.196 GB, free: 9.996 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001223/0.9873, allocations: 0.6596 MB / 1.197 GB, free: 9.32 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.504e-05/0.9874, allocations: 4 kB / 1.197 GB, free: 9.316 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.176e-05/0.9874, allocations: 23.94 kB / 1.197 GB, free: 9.293 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.07e-05/0.9875, allocations: 25.31 kB / 1.197 GB, free: 9.27 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001015/0.9885, allocations: 0.5126 MB / 1.198 GB, free: 8.758 MB / 0.9512 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.003728/0.9923, allocations: 2.305 MB / 1.2 GB, free: 6.281 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005407/0.9928, allocations: 250.8 kB / 1.2 GB, free: 6.027 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002678/0.9931, allocations: 136.8 kB / 1.2 GB, free: 5.891 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 3.36e-05/0.9931, allocations: 7.938 kB / 1.2 GB, free: 5.883 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.872e-05/0.9932, allocations: 38.56 kB / 1.2 GB, free: 5.836 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=20): time 2.204e-06/0.9932, allocations: 0 / 1.2 GB, free: 5.836 MB / 0.9512 GB Notification: Performance of matching and sorting (n=20): time 0.001893/0.9951, allocations: 0.675 MB / 1.201 GB, free: 5.113 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.45e-05/0.9952, allocations: 85.05 kB / 1.201 GB, free: 5.012 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007724/0.996, allocations: 0.5574 MB / 1.201 GB, free: 4.441 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 5.269e-05/0.996, allocations: 33.7 kB / 1.202 GB, free: 4.402 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003036/0.9963, allocations: 335 kB / 1.202 GB, free: 4.07 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 8.518e-05/0.9964, allocations: 71 kB / 1.202 GB, free: 4 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001397/0.9966, allocations: 69.94 kB / 1.202 GB, free: 3.926 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.000196/0.9968, allocations: 362.7 kB / 1.202 GB, free: 3.562 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002901/0.9971, allocations: 132.6 kB / 1.202 GB, free: 3.434 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000349/0.9974, allocations: 210.7 kB / 1.203 GB, free: 3.195 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000558/0.998, allocations: 328.9 kB / 1.203 GB, free: 2.844 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.565e-06/0.998, allocations: 0 / 1.203 GB, free: 2.844 MB / 0.9512 GB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0009786/0.999, allocations: 0.4906 MB / 1.203 GB, free: 2.34 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 2.275e-05/0.999, allocations: 8 kB / 1.203 GB, free: 2.332 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.162e-06/0.999, allocations: 0 / 1.203 GB, free: 2.332 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003427/0.9994, allocations: 101.9 kB / 1.204 GB, free: 2.227 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003326/0.9997, allocations: 71.91 kB / 1.204 GB, free: 2.156 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003379/1.003, allocations: 3.116 MB / 1.207 GB, free: 14.78 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005733/1.004, allocations: 63.52 kB / 1.207 GB, free: 14.72 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.752e-05/1.004, allocations: 12 kB / 1.207 GB, free: 14.71 MB / 0.9669 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.000357/1.004, allocations: 227.4 kB / 1.207 GB, free: 14.48 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001195/1.004, allocations: 55.34 kB / 1.207 GB, free: 14.42 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001033/1.004, allocations: 48.52 kB / 1.207 GB, free: 14.37 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.088e-06/1.004, allocations: 4 kB / 1.207 GB, free: 14.36 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.544e-06/1.004, allocations: 3.984 kB / 1.207 GB, free: 14.36 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0008287/1.005, allocations: 0.5321 MB / 1.208 GB, free: 13.76 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001471/1.007, allocations: 0.9202 MB / 1.208 GB, free: 12.77 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.915e-06/1.007, allocations: 4 kB / 1.208 GB, free: 12.77 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002133/1.007, allocations: 40.05 kB / 1.209 GB, free: 12.73 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002213/1.007, allocations: 64.8 kB / 1.209 GB, free: 12.66 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.113e-05/1.007, allocations: 7.938 kB / 1.209 GB, free: 12.66 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001881/1.009, allocations: 1.687 MB / 1.21 GB, free: 10.84 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.293e-06/1.009, allocations: 0 / 1.21 GB, free: 10.84 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007184/1.01, allocations: 445.2 kB / 1.211 GB, free: 10.38 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002412/1.01, allocations: 160.4 kB / 1.211 GB, free: 10.2 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.186e-05/1.01, allocations: 15.92 kB / 1.211 GB, free: 10.19 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004645/1.011, allocations: 31.89 kB / 1.211 GB, free: 10.16 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.879e-05/1.011, allocations: 19.97 kB / 1.211 GB, free: 10.14 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.194e-05/1.011, allocations: 11.98 kB / 1.211 GB, free: 10.12 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.000506/1.011, allocations: 402.8 kB / 1.211 GB, free: 9.734 MB / 0.9669 GB Notification: Performance of sort global known variables: time 2.71e-07/1.011, allocations: 0 / 1.211 GB, free: 9.734 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0007262/1.012, allocations: 207.6 kB / 1.211 GB, free: 9.531 MB / 0.9669 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.0004375/1.012, allocations: 161 kB / 1.212 GB, free: 9.367 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0009969/1.013, allocations: 0.5286 MB / 1.212 GB, free: 8.812 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 2.866e-06/1.013, allocations: 0 / 1.212 GB, free: 8.812 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.0003974/1.014, allocations: 260.9 kB / 1.212 GB, free: 8.547 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001672/1.016, allocations: 366.5 kB / 1.213 GB, free: 8.195 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001845/1.017, allocations: 1.197 MB / 1.214 GB, free: 6.965 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005907/1.018, allocations: 0.9015 MB / 1.215 GB, free: 6.035 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 0.0004513/1.018, allocations: 120.8 kB / 1.215 GB, free: 5.914 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.811e-05/1.019, allocations: 35.44 kB / 1.215 GB, free: 5.879 MB / 0.9669 GB Notification: Performance of SimCode: time 3.11e-07/1.019, allocations: 0 / 1.215 GB, free: 5.879 MB / 0.9669 GB Notification: Performance of Templates: time 0.02484/1.043, allocations: 12.37 MB / 1.227 GB, free: 9.715 MB / 0.9825 GB make -j1 -f Buildings_10_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction.makefile (rm -f Buildings_10_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction.pipe ; mkfifo Buildings_10_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction.pipe >> ../files/Buildings_10_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction.sim & ./Buildings_10_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_MixingVolumes_Examples_MixingVolumeHeatConduction.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches