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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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: 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_9_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_9_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.001126/0.001126, allocations: 91.69 kB / 15.06 MB, free: 1.098 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.001291/0.001292, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.456/1.456, allocations: 223.3 MB / 240 MB, free: 5.32 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.532/2.532, allocations: 390.9 MB / 0.666 GB, free: 2.492 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0004968/0.0004971, allocations: 8 kB / 0.8153 GB, free: 13.68 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7864/0.7869, allocations: 142.4 MB / 0.9544 GB, free: 7.836 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction): time 0.1943/0.9813, allocations: 155.4 MB / 1.106 GB, free: 3.691 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.008201/0.9895, allocations: 4.036 MB / 1.11 GB, free: 15.64 MB / 0.8731 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001052/0.9906, allocations: 19.88 kB / 1.11 GB, free: 15.62 MB / 0.8731 GB Notification: Performance of NFTyping.typeComponents: time 0.001053/0.9917, allocations: 238.5 kB / 1.11 GB, free: 15.39 MB / 0.8731 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Fluid/Sources.mo:784:36-785:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Fluid/Sources.mo:782:36-783:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Fluid/Sources.mo:730:36-731:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Fluid/Sources.mo:728:36-729:54:writable] Warning: 'each' used when modifying non-array element m_flow. Notification: Performance of NFTyping.typeBindings: time 0.003057/0.9948, allocations: 0.9096 MB / 1.111 GB, free: 14.48 MB / 0.8731 GB Notification: Performance of NFTyping.typeClassSections: time 0.001972/0.9968, allocations: 0.5637 MB / 1.112 GB, free: 13.92 MB / 0.8731 GB Notification: Performance of NFFlatten.flatten: time 0.002849/0.9996, allocations: 1.98 MB / 1.114 GB, free: 11.93 MB / 0.8731 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001042/1.001, allocations: 420.6 kB / 1.114 GB, free: 11.52 MB / 0.8731 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001568/1.002, allocations: 0.5719 MB / 1.115 GB, free: 10.95 MB / 0.8731 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001354/1.004, allocations: 0.5332 MB / 1.115 GB, free: 10.41 MB / 0.8731 GB Notification: Performance of NFPackage.collectConstants: time 0.0001404/1.004, allocations: 28 kB / 1.115 GB, free: 10.38 MB / 0.8731 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001473/1.005, allocations: 407 kB / 1.116 GB, free: 9.984 MB / 0.8731 GB Notification: Performance of NFScalarize.scalarize: time 0.0003658/1.006, allocations: 227.3 kB / 1.116 GB, free: 9.762 MB / 0.8731 GB Notification: Performance of NFVerifyModel.verify: time 0.0004456/1.006, allocations: 169.4 kB / 1.116 GB, free: 9.59 MB / 0.8731 GB Notification: Performance of NFConvertDAE.convert: time 0.001434/1.008, allocations: 0.8845 MB / 1.117 GB, free: 8.703 MB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 5.631e-06/1.008, allocations: 0 / 1.117 GB, free: 8.703 MB / 0.8731 GB Notification: Performance of FrontEnd: time 1.804e-06/1.008, allocations: 0 / 1.117 GB, free: 8.703 MB / 0.8731 GB Notification: Performance of Transformations before backend: time 4.457e-05/1.008, allocations: 0 / 1.117 GB, free: 8.703 MB / 0.8731 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.002244/1.01, allocations: 0.9156 MB / 1.118 GB, free: 7.738 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 4.411e-05/1.01, allocations: 11.97 kB / 1.118 GB, free: 7.727 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001182/1.011, allocations: 167 kB / 1.118 GB, free: 7.562 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009057/1.012, allocations: 0.498 MB / 1.118 GB, free: 7.023 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.169e-05/1.012, allocations: 45.31 kB / 1.119 GB, free: 6.977 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.582e-05/1.012, allocations: 52 kB / 1.119 GB, free: 6.926 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00118/1.013, allocations: 0.6479 MB / 1.119 GB, free: 6.262 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.698e-05/1.013, allocations: 3.953 kB / 1.119 GB, free: 6.258 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.975e-05/1.014, allocations: 35.94 kB / 1.119 GB, free: 6.223 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.666e-05/1.014, allocations: 25.31 kB / 1.119 GB, free: 6.199 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009568/1.015, allocations: 0.5164 MB / 1.12 GB, free: 5.68 MB / 0.8731 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.003619/1.018, allocations: 2.309 MB / 1.122 GB, free: 3.203 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006154/1.019, allocations: 262.7 kB / 1.122 GB, free: 2.938 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002503/1.019, allocations: 137.8 kB / 1.122 GB, free: 2.801 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 3.427e-05/1.019, allocations: 4 kB / 1.122 GB, free: 2.797 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.739e-05/1.019, allocations: 34.56 kB / 1.122 GB, free: 2.754 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=20): time 2.264e-06/1.019, allocations: 0 / 1.122 GB, free: 2.754 MB / 0.8731 GB Notification: Performance of matching and sorting (n=20): time 0.001759/1.021, allocations: 0.6855 MB / 1.123 GB, free: 2.02 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.855e-05/1.021, allocations: 93 kB / 1.123 GB, free: 1.91 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006682/1.022, allocations: 0.5574 MB / 1.124 GB, free: 1.344 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 3.831e-05/1.022, allocations: 29.7 kB / 1.124 GB, free: 1.309 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002587/1.022, allocations: 335.1 kB / 1.124 GB, free: 0.9727 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 7.192e-05/1.022, allocations: 67.02 kB / 1.124 GB, free: 0.9062 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.075e-05/1.022, allocations: 8 kB / 1.124 GB, free: 0.8984 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.000153/1.022, allocations: 358.8 kB / 1.124 GB, free: 0.5391 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002646/1.023, allocations: 136.6 kB / 1.125 GB, free: 416 kB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003103/1.023, allocations: 222.6 kB / 1.125 GB, free: 160 kB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003228/1.023, allocations: 172.5 kB / 1.125 GB, free: 15.98 MB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.476e-06/1.023, allocations: 0 / 1.125 GB, free: 15.98 MB / 0.8887 GB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0009375/1.024, allocations: 0.5025 MB / 1.125 GB, free: 15.47 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 2.135e-05/1.024, allocations: 8 kB / 1.126 GB, free: 15.46 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.846e-06/1.024, allocations: 0 / 1.126 GB, free: 15.46 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003197/1.025, allocations: 97.64 kB / 1.126 GB, free: 15.36 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003273/1.025, allocations: 79.84 kB / 1.126 GB, free: 15.29 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003053/1.028, allocations: 3.105 MB / 1.129 GB, free: 11.91 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005104/1.028, allocations: 63.41 kB / 1.129 GB, free: 11.85 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.897e-05/1.028, allocations: 12 kB / 1.129 GB, free: 11.84 MB / 0.8887 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 (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.0003584/1.029, allocations: 222.3 kB / 1.129 GB, free: 11.61 MB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001045/1.029, allocations: 55.39 kB / 1.129 GB, free: 11.55 MB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001039/1.029, allocations: 56.5 kB / 1.129 GB, free: 11.5 MB / 0.8887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.178e-06/1.029, allocations: 4 kB / 1.129 GB, free: 11.5 MB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.346e-06/1.029, allocations: 0 / 1.129 GB, free: 11.5 MB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007711/1.03, allocations: 0.5404 MB / 1.13 GB, free: 10.89 MB / 0.8887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001627/1.031, allocations: 0.9299 MB / 1.131 GB, free: 9.891 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.906e-06/1.032, allocations: 0 / 1.131 GB, free: 9.891 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002136/1.032, allocations: 47.91 kB / 1.131 GB, free: 9.844 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001943/1.032, allocations: 60.81 kB / 1.131 GB, free: 9.781 MB / 0.8887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.059e-05/1.032, allocations: 8.062 kB / 1.131 GB, free: 9.773 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001732/1.034, allocations: 1.687 MB / 1.132 GB, free: 7.953 MB / 0.8887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.984e-06/1.034, allocations: 4.031 kB / 1.132 GB, free: 7.949 MB / 0.8887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006548/1.034, allocations: 441.4 kB / 1.133 GB, free: 7.492 MB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002744/1.035, allocations: 180.3 kB / 1.133 GB, free: 7.297 MB / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.676e-05/1.035, allocations: 8 kB / 1.133 GB, free: 7.289 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004422/1.035, allocations: 33.61 kB / 1.133 GB, free: 7.258 MB / 0.8887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.287e-05/1.035, allocations: 11.98 kB / 1.133 GB, free: 7.246 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.532e-05/1.035, allocations: 19.98 kB / 1.133 GB, free: 7.227 MB / 0.8887 GB Notification: Performance of sorting global known variables: time 0.0005209/1.036, allocations: 390.8 kB / 1.133 GB, free: 6.848 MB / 0.8887 GB Notification: Performance of sort global known variables: time 1.2e-07/1.036, allocations: 0 / 1.133 GB, free: 6.848 MB / 0.8887 GB Notification: Performance of remove unused functions: time 0.0007244/1.037, allocations: 215.6 kB / 1.134 GB, free: 6.637 MB / 0.8887 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 (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.0004017/1.037, allocations: 163.7 kB / 1.134 GB, free: 6.477 MB / 0.8887 GB Notification: Performance of simCode: created initialization part: time 0.0009754/1.038, allocations: 0.5379 MB / 1.134 GB, free: 5.914 MB / 0.8887 GB Notification: Performance of simCode: created event and clocks part: time 4.027e-06/1.038, allocations: 8.125 kB / 1.134 GB, free: 5.906 MB / 0.8887 GB Notification: Performance of simCode: created simulation system equations: time 0.0003725/1.038, allocations: 260.4 kB / 1.134 GB, free: 5.641 MB / 0.8887 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001685/1.04, allocations: 359.3 kB / 1.135 GB, free: 5.289 MB / 0.8887 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001964/1.042, allocations: 1.188 MB / 1.136 GB, free: 4.07 MB / 0.8887 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005897/1.043, allocations: 0.9054 MB / 1.137 GB, free: 3.137 MB / 0.8887 GB Notification: Performance of simCode: alias equations: time 0.0005571/1.043, allocations: 120.8 kB / 1.137 GB, free: 3.016 MB / 0.8887 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.561e-05/1.043, allocations: 39.44 kB / 1.137 GB, free: 2.977 MB / 0.8887 GB Notification: Performance of SimCode: time 1.864e-06/1.043, allocations: 0 / 1.137 GB, free: 2.977 MB / 0.8887 GB Notification: Performance of Templates: time 0.02864/1.072, allocations: 11.94 MB / 1.149 GB, free: 7.242 MB / 0.9044 GB make -j1 -f Buildings_9_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction.makefile (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 & ./Buildings_9_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_MixingVolumes_Examples_MixingVolumeHeatConduction.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches