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.007028/0.007028, allocations: 100.1 kB / 15.73 MB, free: 6.008 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.00128/0.00128, allocations: 191.1 kB / 16.67 MB, free: 5.934 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.326/1.326, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.612/2.612, allocations: 469.8 MB / 0.7425 GB, free: 3.371 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001266/0.001266, allocations: 67.91 kB / 1.065 GB, free: 13.56 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8428/0.8441, allocations: 159.1 MB / 1.221 GB, free: 2.09 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction): time 0.192/1.036, allocations: 171.5 MB / 1.388 GB, free: 5.914 MB / 1.107 GB Notification: Performance of NFInst.instExpressions: time 0.008344/1.044, allocations: 4.303 MB / 1.392 GB, free: 1.605 MB / 1.107 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001146/1.046, allocations: 23.88 kB / 1.392 GB, free: 1.582 MB / 1.107 GB Notification: Performance of NFTyping.typeComponents: time 0.001441/1.047, allocations: 373.9 kB / 1.393 GB, free: 1.215 MB / 1.107 GB Notification: Performance of NFTyping.typeBindings: time 0.004081/1.051, allocations: 1.26 MB / 1.394 GB, free: 15.95 MB / 1.123 GB Notification: Performance of NFTyping.typeClassSections: time 0.002419/1.054, allocations: 0.8023 MB / 1.395 GB, free: 15.15 MB / 1.123 GB Notification: Performance of NFFlatten.flatten: time 0.002634/1.056, allocations: 1.707 MB / 1.396 GB, free: 13.44 MB / 1.123 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000907/1.057, allocations: 483.7 kB / 1.397 GB, free: 12.96 MB / 1.123 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001577/1.059, allocations: 0.7161 MB / 1.398 GB, free: 12.25 MB / 1.123 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001192/1.06, allocations: 0.5574 MB / 1.398 GB, free: 11.69 MB / 1.123 GB Notification: Performance of NFPackage.collectConstants: time 9.784e-05/1.06, allocations: 64 kB / 1.398 GB, free: 11.63 MB / 1.123 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00158/1.062, allocations: 0.8029 MB / 1.399 GB, free: 10.82 MB / 1.123 GB Notification: Performance of NFScalarize.scalarize: time 0.0003006/1.062, allocations: 279.2 kB / 1.399 GB, free: 10.55 MB / 1.123 GB Notification: Performance of NFVerifyModel.verify: time 0.0005192/1.062, allocations: 406.3 kB / 1.4 GB, free: 10.15 MB / 1.123 GB Notification: Performance of NFConvertDAE.convert: time 0.001762/1.064, allocations: 1.266 MB / 1.401 GB, free: 8.883 MB / 1.123 GB Notification: Performance of FrontEnd - DAE generated: time 5.871e-06/1.064, allocations: 3.984 kB / 1.401 GB, free: 8.879 MB / 1.123 GB Notification: Performance of FrontEnd: time 1.102e-06/1.064, allocations: 0 / 1.401 GB, free: 8.879 MB / 1.123 GB Notification: Performance of Transformations before backend: time 8.867e-06/1.064, allocations: 0 / 1.401 GB, free: 8.879 MB / 1.123 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.001729/1.066, allocations: 1.055 MB / 1.402 GB, free: 7.77 MB / 1.123 GB Notification: Performance of prepare preOptimizeDAE: time 4.18e-05/1.066, allocations: 8.031 kB / 1.402 GB, free: 7.762 MB / 1.123 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001048/1.067, allocations: 167.4 kB / 1.402 GB, free: 7.598 MB / 1.123 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008262/1.068, allocations: 0.5487 MB / 1.403 GB, free: 7.012 MB / 1.123 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.704e-05/1.068, allocations: 45.3 kB / 1.403 GB, free: 6.969 MB / 1.123 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.349e-05/1.068, allocations: 48 kB / 1.403 GB, free: 6.922 MB / 1.123 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001065/1.069, allocations: 0.6479 MB / 1.403 GB, free: 6.258 MB / 1.123 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.579e-05/1.069, allocations: 0 / 1.403 GB, free: 6.258 MB / 1.123 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.343e-05/1.069, allocations: 28 kB / 1.403 GB, free: 6.23 MB / 1.123 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.833e-05/1.069, allocations: 25.25 kB / 1.403 GB, free: 6.203 MB / 1.123 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009175/1.07, allocations: 0.5087 MB / 1.404 GB, free: 5.695 MB / 1.123 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.00334/1.073, allocations: 2.302 MB / 1.406 GB, free: 3.23 MB / 1.123 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005041/1.074, allocations: 242.8 kB / 1.406 GB, free: 2.984 MB / 1.123 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002357/1.074, allocations: 128.8 kB / 1.406 GB, free: 2.855 MB / 1.123 GB Notification: Performance of preOpt evalFunc (simulation): time 3.197e-05/1.074, allocations: 7.938 kB / 1.406 GB, free: 2.848 MB / 1.123 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.748e-05/1.074, allocations: 34.55 kB / 1.406 GB, free: 2.805 MB / 1.123 GB Notification: Performance of pre-optimization done (n=20): time 1.834e-06/1.074, allocations: 3.938 kB / 1.406 GB, free: 2.801 MB / 1.123 GB Notification: Performance of matching and sorting (n=20): time 0.001705/1.076, allocations: 0.6713 MB / 1.407 GB, free: 2.082 MB / 1.123 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.77e-05/1.076, allocations: 81.11 kB / 1.407 GB, free: 1.984 MB / 1.123 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006549/1.077, allocations: 0.5574 MB / 1.408 GB, free: 1.418 MB / 1.123 GB Notification: Performance of collectPreVariables (initialization): time 3.822e-05/1.077, allocations: 33.7 kB / 1.408 GB, free: 1.379 MB / 1.123 GB Notification: Performance of collectInitialEqns (initialization): time 0.000259/1.077, allocations: 335.8 kB / 1.408 GB, free: 1.047 MB / 1.123 GB Notification: Performance of collectInitialBindings (initialization): time 8.392e-05/1.077, allocations: 87.34 kB / 1.408 GB, free: 0.9609 MB / 1.123 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000122/1.077, allocations: 65.98 kB / 1.408 GB, free: 0.8906 MB / 1.123 GB Notification: Performance of setup shared object (initialization): time 0.0001432/1.077, allocations: 362.7 kB / 1.409 GB, free: 0.5273 MB / 1.123 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002629/1.077, allocations: 132.6 kB / 1.409 GB, free: 408 kB / 1.123 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002999/1.078, allocations: 226.5 kB / 1.409 GB, free: 148 kB / 1.123 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005395/1.078, allocations: 328.9 kB / 1.409 GB, free: 15.79 MB / 1.139 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.955e-06/1.078, allocations: 4 kB / 1.409 GB, free: 15.79 MB / 1.139 GB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0008878/1.079, allocations: 498.6 kB / 1.41 GB, free: 15.29 MB / 1.139 GB Notification: Performance of prepare postOptimizeDAE: time 2.042e-05/1.079, allocations: 8 kB / 1.41 GB, free: 15.28 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.302e-06/1.079, allocations: 0 / 1.41 GB, free: 15.28 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003137/1.08, allocations: 101.9 kB / 1.41 GB, free: 15.18 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003325/1.08, allocations: 67.91 kB / 1.41 GB, free: 15.11 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003017/1.083, allocations: 3.344 MB / 1.413 GB, free: 11.48 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004958/1.083, allocations: 55.61 kB / 1.413 GB, free: 11.43 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.555e-05/1.083, allocations: 8 kB / 1.413 GB, free: 11.42 MB / 1.139 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.0003031/1.084, allocations: 225.7 kB / 1.413 GB, free: 11.19 MB / 1.139 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.652e-05/1.084, allocations: 55.67 kB / 1.413 GB, free: 11.13 MB / 1.139 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.021e-05/1.084, allocations: 60.44 kB / 1.414 GB, free: 11.07 MB / 1.139 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.506e-06/1.084, allocations: 4 kB / 1.414 GB, free: 11.07 MB / 1.139 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.009e-06/1.084, allocations: 3.938 kB / 1.414 GB, free: 11.07 MB / 1.139 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006738/1.085, allocations: 0.5285 MB / 1.414 GB, free: 10.47 MB / 1.139 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001214/1.086, allocations: 0.9127 MB / 1.415 GB, free: 9.492 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.206e-06/1.086, allocations: 192 / 1.415 GB, free: 9.492 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002126/1.086, allocations: 47.91 kB / 1.415 GB, free: 9.445 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002031/1.086, allocations: 64.88 kB / 1.415 GB, free: 9.379 MB / 1.139 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.939e-05/1.086, allocations: 8 kB / 1.415 GB, free: 9.371 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001642/1.088, allocations: 1.825 MB / 1.417 GB, free: 7.406 MB / 1.139 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.463e-06/1.088, allocations: 0 / 1.417 GB, free: 7.406 MB / 1.139 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006118/1.088, allocations: 433.7 kB / 1.417 GB, free: 6.957 MB / 1.139 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002164/1.089, allocations: 176.7 kB / 1.417 GB, free: 6.766 MB / 1.139 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.093e-05/1.089, allocations: 7.875 kB / 1.417 GB, free: 6.758 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004325/1.089, allocations: 23.02 kB / 1.417 GB, free: 6.738 MB / 1.139 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.381e-05/1.089, allocations: 19.97 kB / 1.417 GB, free: 6.719 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.317e-05/1.089, allocations: 20 kB / 1.417 GB, free: 6.699 MB / 1.139 GB Notification: Performance of sorting global known variables: time 0.0004212/1.09, allocations: 398.8 kB / 1.418 GB, free: 6.312 MB / 1.139 GB Notification: Performance of sort global known variables: time 9e-08/1.09, allocations: 3.938 kB / 1.418 GB, free: 6.309 MB / 1.139 GB Notification: Performance of remove unused functions: time 0.0006441/1.09, allocations: 203.7 kB / 1.418 GB, free: 6.109 MB / 1.139 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.0003796/1.091, allocations: 154.3 kB / 1.418 GB, free: 5.957 MB / 1.139 GB Notification: Performance of simCode: created initialization part: time 0.0008705/1.092, allocations: 0.5204 MB / 1.419 GB, free: 5.41 MB / 1.139 GB Notification: Performance of simCode: created event and clocks part: time 4.228e-06/1.092, allocations: 0 / 1.419 GB, free: 5.41 MB / 1.139 GB Notification: Performance of simCode: created simulation system equations: time 0.0003439/1.092, allocations: 259.8 kB / 1.419 GB, free: 5.145 MB / 1.139 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001487/1.093, allocations: 370.6 kB / 1.419 GB, free: 4.793 MB / 1.139 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001531/1.095, allocations: 1.007 MB / 1.42 GB, free: 3.75 MB / 1.139 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004324/1.095, allocations: 0.9054 MB / 1.421 GB, free: 2.816 MB / 1.139 GB Notification: Performance of simCode: alias equations: time 0.0003672/1.096, allocations: 116.8 kB / 1.421 GB, free: 2.703 MB / 1.139 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.431e-05/1.096, allocations: 39.44 kB / 1.421 GB, free: 2.664 MB / 1.139 GB Notification: Performance of SimCode: time 4.81e-07/1.096, allocations: 0 / 1.421 GB, free: 2.664 MB / 1.139 GB Notification: Performance of Templates: time 0.02138/1.117, allocations: 13.15 MB / 1.434 GB, free: 5.723 MB / 1.154 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=480 -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