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/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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/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_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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001047/0.001047, allocations: 92 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.001337/0.001337, 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.379/1.379, allocations: 223.3 MB / 240 MB, free: 5.43 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.803/2.803, allocations: 462.6 MB / 0.736 GB, free: 15.73 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003246/0.0003247, allocations: 9.406 kB / 0.9021 GB, free: 36.56 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2608/0.2611, allocations: 159.6 MB / 1.058 GB, free: 5.332 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction): time 0.1578/0.4189, allocations: 155.4 MB / 1.21 GB, free: 9.461 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.005882/0.4248, allocations: 4.037 MB / 1.214 GB, free: 5.418 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005087/0.4254, allocations: 19.88 kB / 1.214 GB, free: 5.398 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.000715/0.4261, allocations: 238.5 kB / 1.214 GB, free: 5.164 MB / 0.9669 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.002119/0.4282, allocations: 0.9096 MB / 1.215 GB, free: 4.25 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.001482/0.4297, allocations: 0.5602 MB / 1.215 GB, free: 3.695 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.002003/0.4317, allocations: 1.991 MB / 1.217 GB, free: 1.699 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005816/0.4323, allocations: 416.6 kB / 1.218 GB, free: 1.293 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009115/0.4332, allocations: 0.5757 MB / 1.218 GB, free: 0.7148 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007143/0.434, allocations: 0.5216 MB / 1.219 GB, free: 196 kB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 6.949e-05/0.434, allocations: 28 kB / 1.219 GB, free: 168 kB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001005/0.4351, allocations: 407 kB / 1.219 GB, free: 15.77 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0002313/0.4353, allocations: 227.3 kB / 1.219 GB, free: 15.54 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0001549/0.4355, allocations: 169.4 kB / 1.22 GB, free: 15.37 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0008743/0.4363, allocations: 0.8922 MB / 1.221 GB, free: 14.48 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 3.587e-06/0.4364, allocations: 4 kB / 1.221 GB, free: 14.47 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.253e-06/0.4364, allocations: 0 / 1.221 GB, free: 14.47 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 8.196e-06/0.4364, allocations: 0 / 1.221 GB, free: 14.47 MB / 0.9825 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.001505/0.4379, allocations: 0.9119 MB / 1.221 GB, free: 13.51 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.313e-05/0.4379, allocations: 8.031 kB / 1.221 GB, free: 13.5 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001005/0.4389, allocations: 167.1 kB / 1.222 GB, free: 13.34 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007016/0.4397, allocations: 0.5019 MB / 1.222 GB, free: 12.8 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.875e-05/0.4397, allocations: 45.25 kB / 1.222 GB, free: 12.75 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.124e-05/0.4398, allocations: 52 kB / 1.222 GB, free: 12.7 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001084/0.4409, allocations: 0.6479 MB / 1.223 GB, free: 12.04 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.347e-05/0.4409, allocations: 4 kB / 1.223 GB, free: 12.04 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.274e-05/0.441, allocations: 28 kB / 1.223 GB, free: 12.01 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.254e-05/0.441, allocations: 21.31 kB / 1.223 GB, free: 11.98 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009167/0.4419, allocations: 0.5164 MB / 1.223 GB, free: 11.47 MB / 0.9825 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.003066/0.445, allocations: 2.313 MB / 1.226 GB, free: 8.984 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005043/0.4455, allocations: 258.8 kB / 1.226 GB, free: 8.723 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002474/0.4458, allocations: 140.7 kB / 1.226 GB, free: 8.582 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 2.626e-05/0.4458, allocations: 4 kB / 1.226 GB, free: 8.578 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.936e-05/0.4459, allocations: 42.56 kB / 1.226 GB, free: 8.527 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=20): time 1.513e-06/0.4459, allocations: 0 / 1.226 GB, free: 8.527 MB / 0.9825 GB Notification: Performance of matching and sorting (n=20): time 0.001542/0.4474, allocations: 0.6857 MB / 1.227 GB, free: 7.793 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.479e-05/0.4475, allocations: 85.05 kB / 1.227 GB, free: 7.691 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000608/0.4481, allocations: 0.5535 MB / 1.227 GB, free: 7.125 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.988e-05/0.4481, allocations: 29.7 kB / 1.227 GB, free: 7.09 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.000224/0.4484, allocations: 343.1 kB / 1.228 GB, free: 6.75 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 5.825e-05/0.4484, allocations: 63.02 kB / 1.228 GB, free: 6.688 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.993e-05/0.4484, allocations: 8 kB / 1.228 GB, free: 6.68 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001227/0.4486, allocations: 362.8 kB / 1.228 GB, free: 6.316 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000257/0.4488, allocations: 136.6 kB / 1.228 GB, free: 6.184 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002971/0.4491, allocations: 218.6 kB / 1.228 GB, free: 5.938 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003041/0.4495, allocations: 168.4 kB / 1.229 GB, free: 5.773 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.715e-06/0.4495, allocations: 0 / 1.229 GB, free: 5.773 MB / 0.9825 GB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0009039/0.4504, allocations: 0.5064 MB / 1.229 GB, free: 5.254 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.769e-05/0.4504, allocations: 8 kB / 1.229 GB, free: 5.246 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.586e-06/0.4504, allocations: 0 / 1.229 GB, free: 5.246 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002975/0.4507, allocations: 97.7 kB / 1.229 GB, free: 5.145 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003258/0.4511, allocations: 71.91 kB / 1.229 GB, free: 5.074 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002685/0.4538, allocations: 3.109 MB / 1.232 GB, free: 1.699 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004775/0.4542, allocations: 67.42 kB / 1.232 GB, free: 1.633 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.602e-05/0.4543, allocations: 19.92 kB / 1.232 GB, free: 1.613 MB / 0.9825 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.0002671/0.4546, allocations: 213.7 kB / 1.233 GB, free: 1.395 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.267e-05/0.4547, allocations: 55.34 kB / 1.233 GB, free: 1.34 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.934e-05/0.4548, allocations: 56.5 kB / 1.233 GB, free: 1.281 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.416e-06/0.4548, allocations: 4 kB / 1.233 GB, free: 1.277 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.603e-06/0.4548, allocations: 0 / 1.233 GB, free: 1.277 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006996/0.4555, allocations: 0.5438 MB / 1.233 GB, free: 0.6641 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001227/0.4567, allocations: 0.9261 MB / 1.234 GB, free: 15.67 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.534e-06/0.4567, allocations: 192 / 1.234 GB, free: 15.67 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002136/0.457, allocations: 43.98 kB / 1.234 GB, free: 15.63 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001916/0.4572, allocations: 72.81 kB / 1.234 GB, free: 15.55 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.761e-05/0.4572, allocations: 4 kB / 1.234 GB, free: 15.55 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001518/0.4587, allocations: 1.691 MB / 1.236 GB, free: 13.72 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.302e-06/0.4587, allocations: 3.938 kB / 1.236 GB, free: 13.72 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006049/0.4593, allocations: 450.7 kB / 1.236 GB, free: 13.25 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002018/0.4595, allocations: 160.5 kB / 1.236 GB, free: 13.08 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.301e-05/0.4596, allocations: 15.94 kB / 1.236 GB, free: 13.06 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004395/0.4601, allocations: 44.5 kB / 1.237 GB, free: 13.02 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.818e-05/0.4601, allocations: 11.98 kB / 1.237 GB, free: 13.01 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.053e-05/0.4602, allocations: 19.98 kB / 1.237 GB, free: 12.99 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0004257/0.4606, allocations: 394.8 kB / 1.237 GB, free: 12.61 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.7e-07/0.4606, allocations: 4 kB / 1.237 GB, free: 12.6 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.000644/0.4613, allocations: 199.7 kB / 1.237 GB, free: 12.41 MB / 0.9981 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.0003308/0.4616, allocations: 164 kB / 1.237 GB, free: 12.25 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0008499/0.4625, allocations: 0.5322 MB / 1.238 GB, free: 11.69 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.935e-06/0.4625, allocations: 0 / 1.238 GB, free: 11.69 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0003575/0.4629, allocations: 260.7 kB / 1.238 GB, free: 11.42 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001555/0.4644, allocations: 359 kB / 1.238 GB, free: 11.07 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001489/0.4659, allocations: 1.19 MB / 1.24 GB, free: 9.852 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004609/0.4664, allocations: 0.9093 MB / 1.24 GB, free: 8.914 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.000451/0.4669, allocations: 112.8 kB / 1.241 GB, free: 8.801 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.24e-05/0.467, allocations: 43.44 kB / 1.241 GB, free: 8.758 MB / 0.9981 GB Notification: Performance of SimCode: time 3.71e-07/0.467, allocations: 4 kB / 1.241 GB, free: 8.754 MB / 0.9981 GB Notification: Performance of Templates: time 0.4783/0.9452, allocations: 11.93 MB / 1.252 GB, free: 186.9 MB / 0.9981 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches