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.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.007325/0.007325, allocations: 103.5 kB / 15.73 MB, free: 6.047 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.001704/0.001704, allocations: 188.1 kB / 16.67 MB, free: 5.969 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.368/1.368, allocations: 222.9 MB / 240.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.693/2.693, allocations: 461.9 MB / 0.7348 GB, free: 11.09 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001286/0.001286, allocations: 63.89 kB / 1.054 GB, free: 7.73 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9029/0.9042, allocations: 157.4 MB / 1.208 GB, free: 13.62 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction): time 0.1886/1.093, allocations: 171.1 MB / 1.375 GB, free: 1.906 MB / 1.092 GB Notification: Performance of NFInst.instExpressions: time 0.006864/1.1, allocations: 4.298 MB / 1.379 GB, free: 13.6 MB / 1.107 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001026/1.101, allocations: 19.88 kB / 1.379 GB, free: 13.58 MB / 1.107 GB Notification: Performance of NFTyping.typeComponents: time 0.00127/1.102, allocations: 353.9 kB / 1.379 GB, free: 13.23 MB / 1.107 GB Notification: Performance of NFTyping.typeBindings: time 0.003361/1.106, allocations: 1.221 MB / 1.381 GB, free: 12.01 MB / 1.107 GB Notification: Performance of NFTyping.typeClassSections: time 0.002187/1.108, allocations: 0.8053 MB / 1.381 GB, free: 11.21 MB / 1.107 GB Notification: Performance of NFFlatten.flatten: time 0.002353/1.11, allocations: 1.687 MB / 1.383 GB, free: 9.512 MB / 1.107 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000939/1.111, allocations: 0.5621 MB / 1.383 GB, free: 8.953 MB / 1.107 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001559/1.113, allocations: 0.6927 MB / 1.384 GB, free: 8.258 MB / 1.107 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001559/1.114, allocations: 0.5448 MB / 1.385 GB, free: 7.711 MB / 1.107 GB Notification: Performance of NFPackage.collectConstants: time 0.0001714/1.114, allocations: 68 kB / 1.385 GB, free: 7.645 MB / 1.107 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00165/1.116, allocations: 0.8068 MB / 1.386 GB, free: 6.836 MB / 1.107 GB Notification: Performance of NFScalarize.scalarize: time 0.0003489/1.116, allocations: 263.3 kB / 1.386 GB, free: 6.578 MB / 1.107 GB Notification: Performance of NFVerifyModel.verify: time 0.0006608/1.117, allocations: 402.3 kB / 1.386 GB, free: 6.184 MB / 1.107 GB Notification: Performance of NFConvertDAE.convert: time 0.001994/1.119, allocations: 1.272 MB / 1.387 GB, free: 4.91 MB / 1.107 GB Notification: Performance of FrontEnd - DAE generated: time 4.758e-06/1.119, allocations: 0 / 1.387 GB, free: 4.91 MB / 1.107 GB Notification: Performance of FrontEnd: time 1.774e-06/1.119, allocations: 0 / 1.387 GB, free: 4.91 MB / 1.107 GB Notification: Performance of Transformations before backend: time 3.523e-05/1.119, allocations: 0 / 1.387 GB, free: 4.91 MB / 1.107 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.00196/1.121, allocations: 1.036 MB / 1.388 GB, free: 3.82 MB / 1.107 GB Notification: Performance of prepare preOptimizeDAE: time 3.859e-05/1.121, allocations: 8.031 kB / 1.388 GB, free: 3.812 MB / 1.107 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009934/1.122, allocations: 167 kB / 1.389 GB, free: 3.648 MB / 1.107 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008737/1.123, allocations: 0.5444 MB / 1.389 GB, free: 3.062 MB / 1.107 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.959e-05/1.123, allocations: 37.31 kB / 1.389 GB, free: 3.027 MB / 1.107 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.591e-05/1.123, allocations: 51.98 kB / 1.389 GB, free: 2.977 MB / 1.107 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001018/1.124, allocations: 0.6519 MB / 1.39 GB, free: 2.309 MB / 1.107 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.732e-05/1.124, allocations: 0 / 1.39 GB, free: 2.309 MB / 1.107 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.732e-05/1.124, allocations: 27.94 kB / 1.39 GB, free: 2.281 MB / 1.107 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.375e-05/1.124, allocations: 21.31 kB / 1.39 GB, free: 2.258 MB / 1.107 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008646/1.125, allocations: 0.5125 MB / 1.39 GB, free: 1.746 MB / 1.107 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.003202/1.128, allocations: 2.289 MB / 1.393 GB, free: 15.29 MB / 1.123 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004728/1.129, allocations: 254.8 kB / 1.393 GB, free: 15.03 MB / 1.123 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002335/1.129, allocations: 142 kB / 1.393 GB, free: 14.89 MB / 1.123 GB Notification: Performance of preOpt evalFunc (simulation): time 3.051e-05/1.129, allocations: 11.91 kB / 1.393 GB, free: 14.88 MB / 1.123 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.611e-05/1.129, allocations: 34.56 kB / 1.393 GB, free: 14.84 MB / 1.123 GB Notification: Performance of pre-optimization done (n=20): time 2.936e-06/1.129, allocations: 3.984 kB / 1.393 GB, free: 14.84 MB / 1.123 GB Notification: Performance of matching and sorting (n=20): time 0.001565/1.131, allocations: 0.6688 MB / 1.394 GB, free: 14.12 MB / 1.123 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.458e-05/1.131, allocations: 81.11 kB / 1.394 GB, free: 14.02 MB / 1.123 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005869/1.132, allocations: 0.5575 MB / 1.394 GB, free: 13.45 MB / 1.123 GB Notification: Performance of collectPreVariables (initialization): time 3.779e-05/1.132, allocations: 33.7 kB / 1.394 GB, free: 13.41 MB / 1.123 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002241/1.132, allocations: 338.9 kB / 1.395 GB, free: 13.07 MB / 1.123 GB Notification: Performance of collectInitialBindings (initialization): time 5.775e-05/1.132, allocations: 75.08 kB / 1.395 GB, free: 13 MB / 1.123 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000114/1.132, allocations: 69.94 kB / 1.395 GB, free: 12.93 MB / 1.123 GB Notification: Performance of setup shared object (initialization): time 0.0001258/1.132, allocations: 362.7 kB / 1.395 GB, free: 12.56 MB / 1.123 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002521/1.132, allocations: 128.6 kB / 1.395 GB, free: 12.44 MB / 1.123 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003066/1.133, allocations: 222.5 kB / 1.396 GB, free: 12.19 MB / 1.123 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005194/1.133, allocations: 332.9 kB / 1.396 GB, free: 11.83 MB / 1.123 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.948e-06/1.133, allocations: 4 kB / 1.396 GB, free: 11.83 MB / 1.123 GB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0009921/1.134, allocations: 0.4905 MB / 1.396 GB, free: 11.32 MB / 1.123 GB Notification: Performance of prepare postOptimizeDAE: time 2.43e-05/1.134, allocations: 4.281 kB / 1.396 GB, free: 11.32 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.026e-05/1.134, allocations: 11.94 kB / 1.396 GB, free: 11.31 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000358/1.135, allocations: 89.64 kB / 1.396 GB, free: 11.21 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003133/1.135, allocations: 71.91 kB / 1.396 GB, free: 11.14 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003234/1.138, allocations: 3.343 MB / 1.4 GB, free: 7.52 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004668/1.139, allocations: 55.42 kB / 1.4 GB, free: 7.465 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.829e-05/1.139, allocations: 16 kB / 1.4 GB, free: 7.449 MB / 1.123 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.0002895/1.139, allocations: 209.7 kB / 1.4 GB, free: 7.234 MB / 1.123 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001279/1.139, allocations: 51.44 kB / 1.4 GB, free: 7.184 MB / 1.123 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001041/1.139, allocations: 60.5 kB / 1.4 GB, free: 7.125 MB / 1.123 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.024e-06/1.139, allocations: 0 / 1.4 GB, free: 7.125 MB / 1.123 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.006e-05/1.139, allocations: 4.125 kB / 1.4 GB, free: 7.121 MB / 1.123 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007778/1.14, allocations: 0.5402 MB / 1.401 GB, free: 6.512 MB / 1.123 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001295/1.141, allocations: 0.9142 MB / 1.402 GB, free: 5.531 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.525e-06/1.141, allocations: 4.062 kB / 1.402 GB, free: 5.527 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002199/1.142, allocations: 47.91 kB / 1.402 GB, free: 5.48 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001959/1.142, allocations: 64.81 kB / 1.402 GB, free: 5.414 MB / 1.123 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.236e-05/1.142, allocations: 4 kB / 1.402 GB, free: 5.41 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001582/1.143, allocations: 1.817 MB / 1.403 GB, free: 3.453 MB / 1.123 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.663e-06/1.143, allocations: 0 / 1.403 GB, free: 3.453 MB / 1.123 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006101/1.144, allocations: 433.5 kB / 1.404 GB, free: 3.004 MB / 1.123 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002532/1.144, allocations: 168.3 kB / 1.404 GB, free: 2.82 MB / 1.123 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.825e-05/1.144, allocations: 12.12 kB / 1.404 GB, free: 2.809 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000411/1.145, allocations: 26.02 kB / 1.404 GB, free: 2.785 MB / 1.123 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.742e-05/1.145, allocations: 23.91 kB / 1.404 GB, free: 2.762 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.48e-05/1.145, allocations: 16 kB / 1.404 GB, free: 2.746 MB / 1.123 GB Notification: Performance of sorting global known variables: time 0.0004325/1.145, allocations: 394.8 kB / 1.404 GB, free: 2.363 MB / 1.123 GB Notification: Performance of sort global known variables: time 1.1e-07/1.145, allocations: 0 / 1.404 GB, free: 2.363 MB / 1.123 GB Notification: Performance of remove unused functions: time 0.0006319/1.146, allocations: 207.6 kB / 1.405 GB, free: 2.16 MB / 1.123 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.0003896/1.146, allocations: 168.5 kB / 1.405 GB, free: 1.996 MB / 1.123 GB Notification: Performance of simCode: created initialization part: time 0.0008739/1.147, allocations: 0.5266 MB / 1.405 GB, free: 1.445 MB / 1.123 GB Notification: Performance of simCode: created event and clocks part: time 4.258e-06/1.147, allocations: 7.938 kB / 1.405 GB, free: 1.438 MB / 1.123 GB Notification: Performance of simCode: created simulation system equations: time 0.0003569/1.148, allocations: 257 kB / 1.406 GB, free: 1.176 MB / 1.123 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001648/1.149, allocations: 372 kB / 1.406 GB, free: 0.8164 MB / 1.123 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00159/1.151, allocations: 0.9719 MB / 1.407 GB, free: 15.81 MB / 1.139 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000462/1.151, allocations: 0.9093 MB / 1.408 GB, free: 14.88 MB / 1.139 GB Notification: Performance of simCode: alias equations: time 0.0004056/1.152, allocations: 104.8 kB / 1.408 GB, free: 14.77 MB / 1.139 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.122e-05/1.152, allocations: 43.44 kB / 1.408 GB, free: 14.73 MB / 1.139 GB Notification: Performance of SimCode: time 2.41e-07/1.152, allocations: 0 / 1.408 GB, free: 14.73 MB / 1.139 GB Notification: Performance of Templates: time 0.02151/1.173, allocations: 13.32 MB / 1.421 GB, free: 1.602 MB / 1.139 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