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.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-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.005877/0.005877, allocations: 97.23 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.001504/0.001504, allocations: 194.5 kB / 16.68 MB, free: 5.973 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.453/1.453, allocations: 222.9 MB / 240.4 MB, free: 4.32 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.403/2.403, allocations: 390.2 MB / 0.6648 GB, free: 188 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001202/0.001202, allocations: 62.38 kB / 0.9508 GB, free: 5.59 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3226/0.3238, allocations: 140.4 MB / 1.088 GB, free: 1.496 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction): time 0.1922/0.516, allocations: 171.1 MB / 1.255 GB, free: 5.766 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.006925/0.523, allocations: 4.304 MB / 1.259 GB, free: 1.449 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007349/0.5238, allocations: 23.88 kB / 1.259 GB, free: 1.426 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.001202/0.525, allocations: 365.9 kB / 1.26 GB, free: 1.066 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.7947/1.32, allocations: 1.254 MB / 1.261 GB, free: 4.527 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.002499/1.322, allocations: 0.799 MB / 1.262 GB, free: 4.527 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.002876/1.325, allocations: 1.701 MB / 1.263 GB, free: 4.523 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001015/1.326, allocations: 0.5556 MB / 1.264 GB, free: 4.508 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001671/1.328, allocations: 0.7188 MB / 1.264 GB, free: 4.508 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0014/1.329, allocations: 0.5482 MB / 1.265 GB, free: 4.508 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 0.000127/1.329, allocations: 66.47 kB / 1.265 GB, free: 4.508 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001929/1.331, allocations: 0.799 MB / 1.266 GB, free: 4.508 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.0003341/1.332, allocations: 270.7 kB / 1.266 GB, free: 4.508 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.0005443/1.332, allocations: 405.7 kB / 1.266 GB, free: 4.508 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.002227/1.335, allocations: 1.271 MB / 1.268 GB, free: 4.441 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 4.278e-06/1.335, allocations: 0 / 1.268 GB, free: 4.441 MB / 1.014 GB Notification: Performance of FrontEnd: time 2.995e-06/1.335, allocations: 1.625 kB / 1.268 GB, free: 4.441 MB / 1.014 GB Notification: Performance of Transformations before backend: time 1.972e-05/1.335, allocations: 0 / 1.268 GB, free: 4.441 MB / 1.014 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.001973/1.337, allocations: 1.057 MB / 1.269 GB, free: 3.824 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.549e-05/1.337, allocations: 10.03 kB / 1.269 GB, free: 3.824 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001077/1.338, allocations: 166.5 kB / 1.269 GB, free: 3.785 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009292/1.339, allocations: 0.5431 MB / 1.269 GB, free: 3.523 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.084e-05/1.339, allocations: 42.52 kB / 1.269 GB, free: 3.523 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.841e-05/1.339, allocations: 49.5 kB / 1.27 GB, free: 3.523 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001307/1.34, allocations: 0.6499 MB / 1.27 GB, free: 3.449 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.903e-05/1.34, allocations: 3.531 kB / 1.27 GB, free: 3.449 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.703e-05/1.34, allocations: 29.75 kB / 1.27 GB, free: 3.449 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.09e-05/1.34, allocations: 25.88 kB / 1.27 GB, free: 3.445 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001086/1.341, allocations: 0.5161 MB / 1.271 GB, free: 3.438 MB / 1.014 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.003766/1.345, allocations: 2.294 MB / 1.273 GB, free: 2.395 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000631/1.346, allocations: 258.8 kB / 1.273 GB, free: 2.367 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003048/1.346, allocations: 139.7 kB / 1.273 GB, free: 2.359 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 3.737e-05/1.346, allocations: 4.219 kB / 1.273 GB, free: 2.359 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.457e-05/1.346, allocations: 38.75 kB / 1.273 GB, free: 2.32 MB / 1.014 GB Notification: Performance of pre-optimization done (n=20): time 1.914e-06/1.346, allocations: 0.5 kB / 1.273 GB, free: 2.32 MB / 1.014 GB Notification: Performance of matching and sorting (n=20): time 0.00191/1.348, allocations: 0.6725 MB / 1.274 GB, free: 2.051 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.374e-05/1.348, allocations: 80.83 kB / 1.274 GB, free: 1.957 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008749/1.349, allocations: 0.5556 MB / 1.275 GB, free: 17.83 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 4.715e-05/1.349, allocations: 31.7 kB / 1.275 GB, free: 17.8 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002628/1.349, allocations: 342.7 kB / 1.275 GB, free: 17.62 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 7.7e-05/1.349, allocations: 77.52 kB / 1.275 GB, free: 17.57 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001285/1.35, allocations: 68.41 kB / 1.275 GB, free: 17.55 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001795/1.35, allocations: 363.7 kB / 1.276 GB, free: 17.24 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002766/1.35, allocations: 132.2 kB / 1.276 GB, free: 17.24 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000307/1.35, allocations: 218.7 kB / 1.276 GB, free: 17.15 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005309/1.351, allocations: 341.7 kB / 1.276 GB, free: 17.06 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.908e-06/1.351, allocations: 4.469 kB / 1.276 GB, free: 17.06 MB / 1.029 GB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0009325/1.352, allocations: 498.8 kB / 1.277 GB, free: 16.98 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.878e-05/1.352, allocations: 6 kB / 1.277 GB, free: 16.98 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.965e-06/1.352, allocations: 3.266 kB / 1.277 GB, free: 16.98 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000314/1.352, allocations: 97.09 kB / 1.277 GB, free: 16.97 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003231/1.353, allocations: 70.53 kB / 1.277 GB, free: 16.97 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003234/1.356, allocations: 3.343 MB / 1.28 GB, free: 14.27 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006306/1.356, allocations: 53.89 kB / 1.28 GB, free: 14.24 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.9e-05/1.356, allocations: 14.62 kB / 1.28 GB, free: 14.23 MB / 1.029 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.0004203/1.357, allocations: 214.3 kB / 1.28 GB, free: 14.12 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001086/1.357, allocations: 62.34 kB / 1.28 GB, free: 14.09 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.988e-05/1.357, allocations: 53.33 kB / 1.28 GB, free: 14.09 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.629e-06/1.357, allocations: 4.25 kB / 1.28 GB, free: 14.09 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.848e-06/1.357, allocations: 0.9688 kB / 1.28 GB, free: 14.09 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0008406/1.358, allocations: 0.5348 MB / 1.281 GB, free: 13.73 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00179/1.36, allocations: 0.9204 MB / 1.282 GB, free: 13.39 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.368e-06/1.36, allocations: 1.062 kB / 1.282 GB, free: 13.39 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002287/1.36, allocations: 42.52 kB / 1.282 GB, free: 13.39 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002336/1.36, allocations: 71.06 kB / 1.282 GB, free: 13.38 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.101e-05/1.36, allocations: 6.875 kB / 1.282 GB, free: 13.38 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002031/1.362, allocations: 1.823 MB / 1.284 GB, free: 12.02 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.927e-06/1.362, allocations: 2.031 kB / 1.284 GB, free: 12.02 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007975/1.363, allocations: 438.5 kB / 1.284 GB, free: 11.84 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002964/1.363, allocations: 174 kB / 1.284 GB, free: 11.71 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.545e-05/1.364, allocations: 2.875 kB / 1.284 GB, free: 11.71 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004426/1.364, allocations: 29.7 kB / 1.284 GB, free: 11.71 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.871e-05/1.364, allocations: 19.58 kB / 1.284 GB, free: 11.71 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.165e-05/1.364, allocations: 12.3 kB / 1.284 GB, free: 11.71 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0005566/1.365, allocations: 399.5 kB / 1.285 GB, free: 11.62 MB / 1.029 GB Notification: Performance of sort global known variables: time 9.12e-07/1.365, allocations: 3.188 kB / 1.285 GB, free: 11.62 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0007607/1.366, allocations: 205.1 kB / 1.285 GB, free: 11.6 MB / 1.029 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.0004162/1.366, allocations: 173.6 kB / 1.285 GB, free: 11.5 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.001057/1.367, allocations: 0.5364 MB / 1.286 GB, free: 11.27 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 4.89e-06/1.367, allocations: 1.094 kB / 1.286 GB, free: 11.27 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0004221/1.367, allocations: 256.5 kB / 1.286 GB, free: 11.16 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001795/1.369, allocations: 367.2 kB / 1.286 GB, free: 11.12 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001657/1.371, allocations: 0.9931 MB / 1.287 GB, free: 10.68 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006854/1.372, allocations: 0.9113 MB / 1.288 GB, free: 9.977 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.0004872/1.372, allocations: 114.6 kB / 1.288 GB, free: 9.953 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001034/1.372, allocations: 40.09 kB / 1.288 GB, free: 9.945 MB / 1.029 GB Notification: Performance of SimCode: time 9.92e-07/1.372, allocations: 3.094 kB / 1.288 GB, free: 9.945 MB / 1.029 GB Notification: Performance of Templates: time 0.0266/1.399, allocations: 13.1 MB / 1.301 GB, free: 9.434 MB / 1.029 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