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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.001169/0.001173, allocations: 98.77 kB / 15.05 MB, free: 1.105 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.0009261/0.0009262, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.363/1.363, allocations: 223.2 MB / 239.9 MB, free: 5.301 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.432/2.432, allocations: 390.3 MB / 0.6653 GB, free: 2.969 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0004796/0.0004799, allocations: 8 kB / 0.8145 GB, free: 14.28 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8227/0.8232, allocations: 142.3 MB / 0.9535 GB, free: 8.055 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction): time 0.1851/1.008, allocations: 143.1 MB / 1.093 GB, free: 0.707 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.007019/1.015, allocations: 4.139 MB / 1.097 GB, free: 12.56 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008088/1.016, allocations: 19.88 kB / 1.097 GB, free: 12.54 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.001087/1.017, allocations: 314.5 kB / 1.098 GB, free: 12.23 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.003199/1.021, allocations: 1.005 MB / 1.099 GB, free: 11.22 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.002379/1.023, allocations: 0.7746 MB / 1.099 GB, free: 10.45 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.001795/1.025, allocations: 0.9721 MB / 1.1 GB, free: 9.48 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000662/1.026, allocations: 420.8 kB / 1.101 GB, free: 9.07 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001076/1.027, allocations: 0.5334 MB / 1.101 GB, free: 8.535 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005878/1.027, allocations: 362.6 kB / 1.102 GB, free: 8.18 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 6.462e-05/1.027, allocations: 28 kB / 1.102 GB, free: 8.152 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001005/1.028, allocations: 347.5 kB / 1.102 GB, free: 7.812 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0002403/1.029, allocations: 211.4 kB / 1.102 GB, free: 7.605 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0001897/1.029, allocations: 173.3 kB / 1.102 GB, free: 7.43 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0009844/1.03, allocations: 0.8377 MB / 1.103 GB, free: 6.59 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 3.527e-06/1.03, allocations: 0 / 1.103 GB, free: 6.59 MB / 0.8575 GB Notification: Performance of FrontEnd: time 3.086e-06/1.03, allocations: 0 / 1.103 GB, free: 6.59 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 9.798e-06/1.03, allocations: 0 / 1.103 GB, free: 6.59 MB / 0.8575 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.001734/1.032, allocations: 0.9001 MB / 1.104 GB, free: 5.641 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.145e-05/1.032, allocations: 8.031 kB / 1.104 GB, free: 5.633 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001015/1.033, allocations: 167 kB / 1.104 GB, free: 5.469 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008432/1.033, allocations: 0.5019 MB / 1.105 GB, free: 4.926 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.67e-05/1.033, allocations: 37.31 kB / 1.105 GB, free: 4.887 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.648e-05/1.034, allocations: 52 kB / 1.105 GB, free: 4.836 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001089/1.035, allocations: 0.6479 MB / 1.105 GB, free: 4.172 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.625e-05/1.035, allocations: 7.938 kB / 1.105 GB, free: 4.164 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.797e-05/1.035, allocations: 24 kB / 1.105 GB, free: 4.141 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.835e-05/1.035, allocations: 25.3 kB / 1.105 GB, free: 4.117 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009374/1.036, allocations: 0.5204 MB / 1.106 GB, free: 3.598 MB / 0.8575 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.003605/1.039, allocations: 2.305 MB / 1.108 GB, free: 1.125 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005255/1.04, allocations: 259.8 kB / 1.108 GB, free: 0.8633 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 3.083e-05/1.04, allocations: 4 kB / 1.108 GB, free: 0.8594 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.173e-05/1.04, allocations: 38.56 kB / 1.108 GB, free: 0.8125 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=20): time 3.276e-06/1.04, allocations: 4 kB / 1.108 GB, free: 0.8086 MB / 0.8575 GB Notification: Performance of matching and sorting (n=20): time 0.001702/1.042, allocations: 0.6829 MB / 1.109 GB, free: 80 kB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.018e-05/1.042, allocations: 81.11 kB / 1.109 GB, free: 15.98 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007035/1.043, allocations: 0.5535 MB / 1.11 GB, free: 15.42 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 4.251e-05/1.043, allocations: 33.7 kB / 1.11 GB, free: 15.38 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002502/1.043, allocations: 339 kB / 1.11 GB, free: 15.04 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 7.4e-05/1.043, allocations: 63.11 kB / 1.11 GB, free: 14.98 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.039e-05/1.043, allocations: 8 kB / 1.11 GB, free: 14.97 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001577/1.043, allocations: 362.7 kB / 1.111 GB, free: 14.61 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003032/1.043, allocations: 140.6 kB / 1.111 GB, free: 14.47 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003138/1.044, allocations: 218.6 kB / 1.111 GB, free: 14.22 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003042/1.044, allocations: 175.8 kB / 1.111 GB, free: 14.05 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.136e-06/1.044, allocations: 0 / 1.111 GB, free: 14.05 MB / 0.8731 GB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0009604/1.045, allocations: 0.5025 MB / 1.112 GB, free: 13.54 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 2.007e-05/1.045, allocations: 8.938 kB / 1.112 GB, free: 13.53 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.897e-06/1.045, allocations: 3.953 kB / 1.112 GB, free: 13.52 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002986/1.045, allocations: 93.64 kB / 1.112 GB, free: 13.43 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003817/1.046, allocations: 79.89 kB / 1.112 GB, free: 13.35 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003219/1.049, allocations: 3.139 MB / 1.115 GB, free: 9.938 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006263/1.05, allocations: 63.41 kB / 1.115 GB, free: 9.875 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.735e-05/1.05, allocations: 16 kB / 1.115 GB, free: 9.859 MB / 0.8731 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 (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 5,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0003613/1.05, allocations: 221.6 kB / 1.115 GB, free: 9.633 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.494e-05/1.05, allocations: 55.39 kB / 1.115 GB, free: 9.578 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.403e-05/1.05, allocations: 60.5 kB / 1.115 GB, free: 9.52 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.984e-06/1.05, allocations: 0 / 1.115 GB, free: 9.52 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.547e-06/1.05, allocations: 0 / 1.115 GB, free: 9.52 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007891/1.051, allocations: 0.5401 MB / 1.116 GB, free: 8.91 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001398/1.052, allocations: 0.9315 MB / 1.117 GB, free: 7.914 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.517e-06/1.052, allocations: 0 / 1.117 GB, free: 7.914 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002126/1.053, allocations: 43.97 kB / 1.117 GB, free: 7.871 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002037/1.053, allocations: 64.88 kB / 1.117 GB, free: 7.805 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.076e-05/1.053, allocations: 8 kB / 1.117 GB, free: 7.797 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001692/1.055, allocations: 1.718 MB / 1.118 GB, free: 5.945 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.657e-06/1.055, allocations: 0 / 1.118 GB, free: 5.945 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007297/1.055, allocations: 476.7 kB / 1.119 GB, free: 5.441 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002818/1.056, allocations: 168.3 kB / 1.119 GB, free: 5.258 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.127e-05/1.056, allocations: 8 kB / 1.119 GB, free: 5.25 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004516/1.056, allocations: 33.61 kB / 1.119 GB, free: 5.219 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.345e-05/1.056, allocations: 23.92 kB / 1.119 GB, free: 5.195 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.071e-05/1.056, allocations: 12 kB / 1.119 GB, free: 5.184 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0004894/1.057, allocations: 398.8 kB / 1.119 GB, free: 4.797 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.21e-07/1.057, allocations: 0 / 1.119 GB, free: 4.797 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0006951/1.058, allocations: 203.6 kB / 1.12 GB, free: 4.598 MB / 0.8731 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 5} Notification: Performance of Backend phase and start with SimCode phase: time 0.0003802/1.058, allocations: 173.6 kB / 1.12 GB, free: 4.43 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.0008961/1.059, allocations: 0.5361 MB / 1.12 GB, free: 3.867 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 3.336e-06/1.059, allocations: 0 / 1.12 GB, free: 3.867 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0003637/1.059, allocations: 254.6 kB / 1.121 GB, free: 3.605 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001657/1.061, allocations: 353.9 kB / 1.121 GB, free: 3.258 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001693/1.063, allocations: 1.201 MB / 1.122 GB, free: 2.031 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000519/1.063, allocations: 0.921 MB / 1.123 GB, free: 1.082 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 0.0005143/1.064, allocations: 108.8 kB / 1.123 GB, free: 0.9727 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.623e-05/1.064, allocations: 39.44 kB / 1.123 GB, free: 0.9336 MB / 0.8731 GB Notification: Performance of SimCode: time 8.31e-07/1.064, allocations: 0 / 1.123 GB, free: 0.9336 MB / 0.8731 GB Notification: Performance of Templates: time 0.02051/1.084, allocations: 11.92 MB / 1.135 GB, free: 5.207 MB / 0.8887 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","../files/Buildings_9_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches