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.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-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.001407/0.001407, allocations: 104.6 kB / 16.35 MB, free: 5.895 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.001476/0.001476, allocations: 192.3 kB / 17.29 MB, free: 5.527 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.349/1.349, allocations: 222.9 MB / 241 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.558/2.558, allocations: 442.6 MB / 0.7165 GB, free: 14.66 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001403/0.001403, allocations: 63.2 kB / 0.8773 GB, free: 10.98 MB / 0.6544 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.253/0.2544, allocations: 153 MB / 1.027 GB, free: 2.062 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction): time 0.5999/0.8544, allocations: 171.1 MB / 1.194 GB, free: 10.55 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.006092/0.8605, allocations: 4.29 MB / 1.198 GB, free: 7.066 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006238/0.8611, allocations: 23 kB / 1.198 GB, free: 7.059 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.0009148/0.8621, allocations: 350.6 kB / 1.198 GB, free: 6.777 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.00266/0.8648, allocations: 1.231 MB / 1.2 GB, free: 5.816 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.001843/0.8666, allocations: 0.7843 MB / 1.2 GB, free: 5.227 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.001974/0.8686, allocations: 1.693 MB / 1.202 GB, free: 4.254 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006881/0.8693, allocations: 0.5627 MB / 1.202 GB, free: 3.906 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001019/0.8703, allocations: 0.6901 MB / 1.203 GB, free: 3.5 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001054/0.8714, allocations: 0.5487 MB / 1.204 GB, free: 3.188 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 9.427e-05/0.8715, allocations: 65.19 kB / 1.204 GB, free: 3.188 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001396/0.8729, allocations: 0.7989 MB / 1.205 GB, free: 2.766 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.0002516/0.8732, allocations: 271.6 kB / 1.205 GB, free: 2.582 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.0003994/0.8736, allocations: 407.6 kB / 1.205 GB, free: 2.332 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.001439/0.875, allocations: 1.263 MB / 1.206 GB, free: 1.512 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 2.805e-06/0.875, allocations: 4 kB / 1.206 GB, free: 1.508 MB / 0.9044 GB Notification: Performance of FrontEnd: time 1.072e-06/0.8751, allocations: 0 / 1.206 GB, free: 1.508 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 1.122e-05/0.8751, allocations: 0 / 1.206 GB, free: 1.508 MB / 0.9044 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.001654/0.8767, allocations: 1.036 MB / 1.207 GB, free: 0.6875 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 3.297e-05/0.8768, allocations: 9.562 kB / 1.207 GB, free: 0.6875 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009825/0.8778, allocations: 167.3 kB / 1.208 GB, free: 0.6133 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008378/0.8786, allocations: 0.5374 MB / 1.208 GB, free: 164 kB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.931e-05/0.8787, allocations: 45.72 kB / 1.208 GB, free: 140 kB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.586e-05/0.8787, allocations: 51.25 kB / 1.208 GB, free: 124 kB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001021/0.8798, allocations: 0.6496 MB / 1.209 GB, free: 15.73 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.394e-05/0.8798, allocations: 0 / 1.209 GB, free: 15.73 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.998e-05/0.8798, allocations: 27.61 kB / 1.209 GB, free: 15.71 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.102e-05/0.8799, allocations: 21.19 kB / 1.209 GB, free: 15.71 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008409/0.8807, allocations: 0.5137 MB / 1.209 GB, free: 15.46 MB / 0.92 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.003185/0.8839, allocations: 2.293 MB / 1.212 GB, free: 13.56 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004882/0.8844, allocations: 248.9 kB / 1.212 GB, free: 13.43 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002263/0.8847, allocations: 137.5 kB / 1.212 GB, free: 13.36 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 2.932e-05/0.8847, allocations: 5.812 kB / 1.212 GB, free: 13.36 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.9e-05/0.8847, allocations: 45.3 kB / 1.212 GB, free: 13.31 MB / 0.92 GB Notification: Performance of pre-optimization done (n=20): time 1.433e-06/0.8847, allocations: 3.938 kB / 1.212 GB, free: 13.3 MB / 0.92 GB Notification: Performance of matching and sorting (n=20): time 0.001586/0.8863, allocations: 0.6694 MB / 1.213 GB, free: 12.84 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.382e-05/0.8864, allocations: 81.05 kB / 1.213 GB, free: 12.74 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005875/0.887, allocations: 0.5612 MB / 1.213 GB, free: 12.41 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 3.598e-05/0.887, allocations: 29.7 kB / 1.213 GB, free: 12.37 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.000218/0.8873, allocations: 336.9 kB / 1.214 GB, free: 12.07 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 6.379e-05/0.8873, allocations: 68.66 kB / 1.214 GB, free: 12.02 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001197/0.8875, allocations: 69.88 kB / 1.214 GB, free: 11.97 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001346/0.8876, allocations: 366.9 kB / 1.214 GB, free: 11.61 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000238/0.8879, allocations: 130.2 kB / 1.214 GB, free: 11.55 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002805/0.8881, allocations: 207.1 kB / 1.215 GB, free: 11.39 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000486/0.8886, allocations: 339.6 kB / 1.215 GB, free: 11.17 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.318e-06/0.8887, allocations: 3.984 kB / 1.215 GB, free: 11.16 MB / 0.92 GB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0008631/0.8895, allocations: 0.4939 MB / 1.215 GB, free: 10.89 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.605e-05/0.8896, allocations: 7.375 kB / 1.215 GB, free: 10.89 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.993e-06/0.8896, allocations: 2.688 kB / 1.215 GB, free: 10.89 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002969/0.8899, allocations: 90.73 kB / 1.215 GB, free: 10.84 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000322/0.8902, allocations: 75 kB / 1.215 GB, free: 10.82 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002818/0.893, allocations: 3.337 MB / 1.219 GB, free: 7.625 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005002/0.8935, allocations: 55.11 kB / 1.219 GB, free: 7.586 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.588e-05/0.8936, allocations: 13.38 kB / 1.219 GB, free: 7.582 MB / 0.92 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.0002713/0.8939, allocations: 214 kB / 1.219 GB, free: 7.406 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.544e-05/0.894, allocations: 55.53 kB / 1.219 GB, free: 7.379 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.333e-05/0.8941, allocations: 58.12 kB / 1.219 GB, free: 7.336 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.564e-06/0.8941, allocations: 2.031 kB / 1.219 GB, free: 7.336 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.477e-06/0.8941, allocations: 2.625 kB / 1.219 GB, free: 7.336 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006792/0.8948, allocations: 0.5289 MB / 1.22 GB, free: 6.863 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001221/0.896, allocations: 0.9277 MB / 1.221 GB, free: 6.074 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.128e-06/0.896, allocations: 7.922 kB / 1.221 GB, free: 6.066 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000215/0.8962, allocations: 39.97 kB / 1.221 GB, free: 6.027 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000207/0.8964, allocations: 64.88 kB / 1.221 GB, free: 5.961 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.887e-05/0.8965, allocations: 11.94 kB / 1.221 GB, free: 5.949 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001617/0.8981, allocations: 1.819 MB / 1.222 GB, free: 3.996 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.814e-06/0.8981, allocations: 4 kB / 1.222 GB, free: 3.992 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006144/0.8987, allocations: 437.3 kB / 1.223 GB, free: 3.539 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000264/0.899, allocations: 168.3 kB / 1.223 GB, free: 3.355 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.078e-05/0.8991, allocations: 11.92 kB / 1.223 GB, free: 3.344 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004467/0.8995, allocations: 20.59 kB / 1.223 GB, free: 3.324 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.926e-05/0.8996, allocations: 15.98 kB / 1.223 GB, free: 3.309 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.268e-05/0.8997, allocations: 15.98 kB / 1.223 GB, free: 3.293 MB / 0.92 GB Notification: Performance of sorting global known variables: time 0.0004323/0.9001, allocations: 398.8 kB / 1.223 GB, free: 2.906 MB / 0.92 GB Notification: Performance of sort global known variables: time 1.6e-07/0.9001, allocations: 4 kB / 1.223 GB, free: 2.902 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.0006133/0.9007, allocations: 199.7 kB / 1.224 GB, free: 2.707 MB / 0.92 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.0003482/0.9011, allocations: 159 kB / 1.224 GB, free: 2.547 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.0008564/0.9019, allocations: 0.529 MB / 1.224 GB, free: 1.992 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 6.041e-06/0.902, allocations: 8 kB / 1.224 GB, free: 1.984 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 0.0003466/0.9023, allocations: 254.5 kB / 1.225 GB, free: 1.723 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001498/0.9038, allocations: 383.7 kB / 1.225 GB, free: 1.363 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001451/0.9053, allocations: 0.9704 MB / 1.226 GB, free: 368 kB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004708/0.9058, allocations: 0.9132 MB / 1.227 GB, free: 15.42 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 0.0003588/0.9061, allocations: 108.8 kB / 1.227 GB, free: 15.31 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.526e-05/0.9062, allocations: 35.44 kB / 1.227 GB, free: 15.27 MB / 0.9356 GB Notification: Performance of SimCode: time 2.8e-07/0.9063, allocations: 7.938 kB / 1.227 GB, free: 15.27 MB / 0.9356 GB Notification: Performance of Templates: time 0.02113/0.9274, allocations: 13.01 MB / 1.24 GB, free: 2.438 MB / 0.9356 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 -s gbode -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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches