Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_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_11_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.001388/0.001388, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001393/0.001392, allocations: 194.2 kB / 16.25 MB, free: 6.629 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.399/1.399, allocations: 222.9 MB / 239.9 MB, free: 4.539 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.847/2.847, allocations: 469.8 MB / 0.742 GB, free: 7.617 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001899/0.001899, allocations: 70.89 kB / 0.908 GB, free: 34.66 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3522/0.3541, allocations: 159.1 MB / 1.063 GB, free: 14.62 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction): time 0.2038/0.5579, allocations: 168.8 MB / 1.228 GB, free: 5.211 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.007045/0.565, allocations: 4.276 MB / 1.232 GB, free: 0.9258 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007564/0.5658, allocations: 19.88 kB / 1.232 GB, free: 0.9062 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.001126/0.567, allocations: 314.5 kB / 1.233 GB, free: 0.5977 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.003079/0.5701, allocations: 1.152 MB / 1.234 GB, free: 15.44 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.002065/0.5721, allocations: 0.7189 MB / 1.235 GB, free: 14.73 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.00226/0.5744, allocations: 1.696 MB / 1.236 GB, free: 13.03 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008101/0.5752, allocations: 0.5503 MB / 1.237 GB, free: 12.48 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001308/0.5766, allocations: 0.681 MB / 1.237 GB, free: 11.79 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00126/0.5778, allocations: 0.5867 MB / 1.238 GB, free: 11.21 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001073/0.5779, allocations: 68 kB / 1.238 GB, free: 11.14 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001618/0.5796, allocations: 0.8378 MB / 1.239 GB, free: 10.3 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0003822/0.58, allocations: 271.3 kB / 1.239 GB, free: 10.04 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0004839/0.5805, allocations: 414.2 kB / 1.24 GB, free: 9.629 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.00172/0.5822, allocations: 1.313 MB / 1.241 GB, free: 8.312 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.698e-06/0.5822, allocations: 0 / 1.241 GB, free: 8.312 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.443e-06/0.5822, allocations: 0 / 1.241 GB, free: 8.312 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 9.818e-06/0.5822, allocations: 0 / 1.241 GB, free: 8.312 MB / 0.9981 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.001828/0.5841, allocations: 1.04 MB / 1.242 GB, free: 7.219 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.075e-05/0.5841, allocations: 12.03 kB / 1.242 GB, free: 7.207 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001003/0.5851, allocations: 167.1 kB / 1.242 GB, free: 7.043 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000793/0.5859, allocations: 0.5171 MB / 1.243 GB, free: 6.488 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.872e-05/0.586, allocations: 37.31 kB / 1.243 GB, free: 6.453 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.939e-05/0.5861, allocations: 52 kB / 1.243 GB, free: 6.402 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001175/0.5872, allocations: 0.6557 MB / 1.243 GB, free: 5.73 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.586e-05/0.5873, allocations: 0 / 1.243 GB, free: 5.73 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.741e-05/0.5873, allocations: 28 kB / 1.243 GB, free: 5.703 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.415e-05/0.5874, allocations: 29.28 kB / 1.243 GB, free: 5.672 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009434/0.5883, allocations: 0.5125 MB / 1.244 GB, free: 5.16 MB / 0.9981 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.003511/0.5919, allocations: 2.297 MB / 1.246 GB, free: 2.695 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005269/0.5924, allocations: 246.8 kB / 1.246 GB, free: 2.445 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002578/0.5927, allocations: 144.7 kB / 1.246 GB, free: 2.301 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 4.072e-05/0.5927, allocations: 15.91 kB / 1.246 GB, free: 2.285 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.71e-05/0.5928, allocations: 38.5 kB / 1.246 GB, free: 2.238 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=20): time 1.623e-06/0.5928, allocations: 0 / 1.246 GB, free: 2.238 MB / 0.9981 GB Notification: Performance of matching and sorting (n=20): time 0.001719/0.5945, allocations: 0.6667 MB / 1.247 GB, free: 1.523 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.059e-05/0.5946, allocations: 77.11 kB / 1.247 GB, free: 1.43 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006897/0.5953, allocations: 0.5574 MB / 1.248 GB, free: 0.8594 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 3.811e-05/0.5953, allocations: 33.64 kB / 1.248 GB, free: 0.8203 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002643/0.5956, allocations: 335.1 kB / 1.248 GB, free: 500 kB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 7.654e-05/0.5957, allocations: 70.94 kB / 1.248 GB, free: 428 kB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001374/0.5958, allocations: 73.94 kB / 1.248 GB, free: 348 kB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.507/1.103, allocations: 362.5 kB / 1.249 GB, free: 188.6 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003995/1.103, allocations: 127.9 kB / 1.249 GB, free: 188.6 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003251/1.104, allocations: 214 kB / 1.249 GB, free: 188.6 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005467/1.104, allocations: 337.3 kB / 1.249 GB, free: 188.5 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.497e-06/1.104, allocations: 1.031 kB / 1.249 GB, free: 188.5 MB / 0.9981 GB Notification: Performance of matching and sorting (n=40) (initialization): time 0.001022/1.105, allocations: 0.4964 MB / 1.25 GB, free: 188.4 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.333e-05/1.105, allocations: 7.625 kB / 1.25 GB, free: 188.4 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.969e-06/1.105, allocations: 2.75 kB / 1.25 GB, free: 188.4 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003358/1.106, allocations: 96.22 kB / 1.25 GB, free: 188.4 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003436/1.106, allocations: 68.45 kB / 1.25 GB, free: 188.4 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002539/1.108, allocations: 3.356 MB / 1.253 GB, free: 185.7 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005873/1.109, allocations: 57.92 kB / 1.253 GB, free: 185.7 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.965e-05/1.109, allocations: 13.03 kB / 1.253 GB, free: 185.7 MB / 0.9981 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.0003046/1.109, allocations: 215.7 kB / 1.253 GB, free: 185.6 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000106/1.11, allocations: 57.69 kB / 1.254 GB, free: 185.6 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.551e-05/1.11, allocations: 60.06 kB / 1.254 GB, free: 185.6 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.368e-06/1.11, allocations: 3.578 kB / 1.254 GB, free: 185.6 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.985e-06/1.11, allocations: 0 / 1.254 GB, free: 185.6 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006615/1.11, allocations: 0.5297 MB / 1.254 GB, free: 185.2 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001221/1.112, allocations: 0.9184 MB / 1.255 GB, free: 184.9 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.266e-06/1.112, allocations: 0.8438 kB / 1.255 GB, free: 184.9 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002308/1.112, allocations: 52.94 kB / 1.255 GB, free: 184.9 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001982/1.112, allocations: 66.59 kB / 1.255 GB, free: 184.9 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.871e-05/1.112, allocations: 5.688 kB / 1.255 GB, free: 184.9 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001338/1.113, allocations: 1.823 MB / 1.257 GB, free: 183.5 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.184e-06/1.113, allocations: 4.938 kB / 1.257 GB, free: 183.5 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006009/1.114, allocations: 439.2 kB / 1.257 GB, free: 183.3 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001931/1.114, allocations: 171.2 kB / 1.257 GB, free: 183.2 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.125e-05/1.114, allocations: 3.781 kB / 1.257 GB, free: 183.2 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004635/1.115, allocations: 42.2 kB / 1.258 GB, free: 183.2 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.897e-05/1.115, allocations: 18.95 kB / 1.258 GB, free: 183.2 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.339e-05/1.115, allocations: 15.47 kB / 1.258 GB, free: 183.2 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0004324/1.115, allocations: 397.5 kB / 1.258 GB, free: 183.1 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.1e-07/1.115, allocations: 0 / 1.258 GB, free: 183.1 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0007212/1.116, allocations: 207.2 kB / 1.258 GB, free: 183.1 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 (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.0003701/1.116, allocations: 168 kB / 1.258 GB, free: 183 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0007789/1.117, allocations: 0.5428 MB / 1.259 GB, free: 182.8 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 3.767e-06/1.117, allocations: 2.875 kB / 1.259 GB, free: 182.8 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0002892/1.118, allocations: 255.1 kB / 1.259 GB, free: 182.7 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00147/1.119, allocations: 383.4 kB / 1.259 GB, free: 182.6 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001363/1.12, allocations: 1.2 MB / 1.261 GB, free: 182 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002906/1.121, allocations: 0.9062 MB / 1.261 GB, free: 181.3 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0004392/1.121, allocations: 108.9 kB / 1.262 GB, free: 181.3 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.981e-05/1.121, allocations: 38.31 kB / 1.262 GB, free: 181.3 MB / 0.9981 GB Notification: Performance of SimCode: time 4.01e-07/1.121, allocations: 0 / 1.262 GB, free: 181.3 MB / 0.9981 GB Notification: Performance of Templates: time 0.026/1.147, allocations: 12.87 MB / 1.274 GB, free: 179.4 MB / 0.9981 GB make -j1 -f Buildings_11_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction.makefile (rm -f Buildings_11_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction.pipe ; mkfifo Buildings_11_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction.pipe >> ../files/Buildings_11_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction.sim & ./Buildings_11_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_MixingVolumes_Examples_MixingVolumeHeatConduction.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches