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.001082/0.001082, allocations: 97.95 kB / 15.36 MB, free: 0.7344 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.009698/0.009698, allocations: 170.9 kB / 16.27 MB, free: 6.652 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.405/1.405, allocations: 223.3 MB / 240.3 MB, free: 5.348 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.441/2.441, allocations: 390.9 MB / 0.6663 GB, free: 2.312 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0005905/0.0005906, allocations: 15.98 kB / 0.816 GB, free: 13.25 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.81/0.8106, allocations: 142.4 MB / 0.955 GB, free: 7.66 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction): time 0.1926/1.003, allocations: 166.6 MB / 1.118 GB, free: 8.156 MB / 0.8731 GB Notification: Performance of NFInst.instExpressions: time 0.008288/1.012, allocations: 4.306 MB / 1.122 GB, free: 3.836 MB / 0.8731 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009619/1.013, allocations: 19.88 kB / 1.122 GB, free: 3.816 MB / 0.8731 GB Notification: Performance of NFTyping.typeComponents: time 0.001139/1.014, allocations: 306.5 kB / 1.122 GB, free: 3.516 MB / 0.8731 GB Notification: Performance of NFTyping.typeBindings: time 0.003218/1.017, allocations: 1.152 MB / 1.123 GB, free: 2.359 MB / 0.8731 GB Notification: Performance of NFTyping.typeClassSections: time 0.001908/1.019, allocations: 0.7213 MB / 1.124 GB, free: 1.641 MB / 0.8731 GB Notification: Performance of NFFlatten.flatten: time 0.002445/1.021, allocations: 2.35 MB / 1.126 GB, free: 15.28 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006617/1.022, allocations: 473.6 kB / 1.127 GB, free: 14.82 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001003/1.023, allocations: 0.5796 MB / 1.127 GB, free: 14.23 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001188/1.024, allocations: 0.5562 MB / 1.128 GB, free: 13.68 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 7.276e-05/1.024, allocations: 24 kB / 1.128 GB, free: 13.66 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001958/1.026, allocations: 0.9117 MB / 1.129 GB, free: 12.74 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 0.000263/1.027, allocations: 235.3 kB / 1.129 GB, free: 12.51 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 0.000392/1.027, allocations: 384 kB / 1.129 GB, free: 12.13 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.001538/1.029, allocations: 1.262 MB / 1.131 GB, free: 10.86 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 6.242e-06/1.029, allocations: 0 / 1.131 GB, free: 10.86 MB / 0.8887 GB Notification: Performance of FrontEnd: time 2.464e-06/1.029, allocations: 0 / 1.131 GB, free: 10.86 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 1.705e-05/1.029, allocations: 4 kB / 1.131 GB, free: 10.86 MB / 0.8887 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.002229/1.031, allocations: 0.9001 MB / 1.132 GB, free: 9.91 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 6.197e-05/1.031, allocations: 12.03 kB / 1.132 GB, free: 9.898 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001227/1.032, allocations: 163 kB / 1.132 GB, free: 9.738 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001051/1.033, allocations: 0.521 MB / 1.132 GB, free: 9.176 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.071e-05/1.033, allocations: 41.31 kB / 1.132 GB, free: 9.133 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001084/1.033, allocations: 51.98 kB / 1.132 GB, free: 9.082 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001398/1.035, allocations: 0.6557 MB / 1.133 GB, free: 8.41 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.848e-05/1.035, allocations: 4 kB / 1.133 GB, free: 8.406 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.708e-05/1.035, allocations: 20 kB / 1.133 GB, free: 8.387 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.226e-05/1.035, allocations: 33.3 kB / 1.133 GB, free: 8.355 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009912/1.036, allocations: 0.5126 MB / 1.134 GB, free: 7.84 MB / 0.8887 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.003616/1.04, allocations: 2.309 MB / 1.136 GB, free: 5.363 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005892/1.04, allocations: 266.8 kB / 1.136 GB, free: 5.094 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002863/1.04, allocations: 141.7 kB / 1.136 GB, free: 4.953 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 3.735e-05/1.041, allocations: 3.984 kB / 1.136 GB, free: 4.949 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.23e-05/1.041, allocations: 46.55 kB / 1.136 GB, free: 4.895 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=20): time 2.384e-06/1.041, allocations: 0 / 1.136 GB, free: 4.895 MB / 0.8887 GB Notification: Performance of matching and sorting (n=20): time 0.001894/1.042, allocations: 0.6895 MB / 1.137 GB, free: 4.156 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.04e-05/1.043, allocations: 81.05 kB / 1.137 GB, free: 4.059 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006978/1.043, allocations: 0.5613 MB / 1.138 GB, free: 3.488 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 3.638e-05/1.043, allocations: 25.7 kB / 1.138 GB, free: 3.457 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002697/1.044, allocations: 335.1 kB / 1.138 GB, free: 3.121 MB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 6.741e-05/1.044, allocations: 71 kB / 1.138 GB, free: 3.051 MB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.477e-05/1.044, allocations: 29.7 kB / 1.138 GB, free: 3.016 MB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.0001659/1.044, allocations: 366.7 kB / 1.138 GB, free: 2.648 MB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000276/1.044, allocations: 132.6 kB / 1.138 GB, free: 2.52 MB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004134/1.045, allocations: 230.6 kB / 1.139 GB, free: 2.262 MB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006159/1.045, allocations: 336.9 kB / 1.139 GB, free: 1.902 MB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.821e-06/1.045, allocations: 8 kB / 1.139 GB, free: 1.895 MB / 0.8887 GB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0009589/1.046, allocations: 0.5025 MB / 1.139 GB, free: 1.379 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 2.001e-05/1.046, allocations: 4 kB / 1.139 GB, free: 1.375 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.508e-06/1.046, allocations: 4 kB / 1.139 GB, free: 1.371 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003508/1.047, allocations: 89.66 kB / 1.14 GB, free: 1.277 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003294/1.047, allocations: 79.89 kB / 1.14 GB, free: 1.199 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003468/1.05, allocations: 3.105 MB / 1.143 GB, free: 13.83 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005658/1.051, allocations: 59.64 kB / 1.143 GB, free: 13.77 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.625e-05/1.051, allocations: 16 kB / 1.143 GB, free: 13.75 MB / 0.9044 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.0003034/1.051, allocations: 221.7 kB / 1.143 GB, free: 13.53 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001114/1.051, allocations: 59.33 kB / 1.143 GB, free: 13.47 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001014/1.052, allocations: 60.44 kB / 1.143 GB, free: 13.41 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.616e-06/1.052, allocations: 4 kB / 1.143 GB, free: 13.41 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.407e-06/1.052, allocations: 0 / 1.143 GB, free: 13.41 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009647/1.053, allocations: 0.55 MB / 1.144 GB, free: 12.79 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001496/1.054, allocations: 0.9236 MB / 1.145 GB, free: 11.8 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.996e-06/1.054, allocations: 0 / 1.145 GB, free: 11.8 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000209/1.054, allocations: 47.97 kB / 1.145 GB, free: 11.75 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001993/1.055, allocations: 68.73 kB / 1.145 GB, free: 11.68 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.856e-05/1.055, allocations: 8.062 kB / 1.145 GB, free: 11.67 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00172/1.056, allocations: 1.675 MB / 1.146 GB, free: 9.863 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.934e-06/1.056, allocations: 0 / 1.146 GB, free: 9.863 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006794/1.057, allocations: 459 kB / 1.147 GB, free: 9.391 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002769/1.057, allocations: 172.3 kB / 1.147 GB, free: 9.203 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.955e-05/1.057, allocations: 0 / 1.147 GB, free: 9.203 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004787/1.058, allocations: 37.61 kB / 1.147 GB, free: 9.168 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.311e-05/1.058, allocations: 19.97 kB / 1.147 GB, free: 9.148 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.612e-05/1.058, allocations: 19.98 kB / 1.147 GB, free: 9.129 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.0004811/1.058, allocations: 390.8 kB / 1.147 GB, free: 8.75 MB / 0.9044 GB Notification: Performance of sort global known variables: time 3.41e-07/1.058, allocations: 0 / 1.147 GB, free: 8.75 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0007214/1.059, allocations: 215.6 kB / 1.148 GB, free: 8.539 MB / 0.9044 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.0004285/1.06, allocations: 166.9 kB / 1.148 GB, free: 8.379 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.000978/1.061, allocations: 0.5327 MB / 1.148 GB, free: 7.82 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 6.983e-06/1.061, allocations: 12.06 kB / 1.148 GB, free: 7.809 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.0003921/1.061, allocations: 264.2 kB / 1.148 GB, free: 7.539 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001837/1.063, allocations: 347.8 kB / 1.149 GB, free: 7.195 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001826/1.065, allocations: 1.244 MB / 1.15 GB, free: 5.922 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006601/1.065, allocations: 0.9132 MB / 1.151 GB, free: 4.98 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 0.0005518/1.066, allocations: 108.8 kB / 1.151 GB, free: 4.871 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.111e-05/1.066, allocations: 35.44 kB / 1.151 GB, free: 4.836 MB / 0.9044 GB Notification: Performance of SimCode: time 6.31e-07/1.066, allocations: 0 / 1.151 GB, free: 4.836 MB / 0.9044 GB Notification: Performance of Templates: time 0.02401/1.09, allocations: 12.31 MB / 1.163 GB, free: 8.719 MB / 0.92 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