Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.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.MixingVolumePrescribedHeatFlowRate,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.MixingVolumePrescribedHeatFlowRate") translateModel(Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate,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.MixingVolumePrescribedHeatFlowRate") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001189/0.001189, allocations: 99.86 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.001466/0.001466, allocations: 177.3 kB / 15.95 MB, free: 216 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.313/1.313, allocations: 223.2 MB / 239.9 MB, free: 5.41 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.519/2.519, allocations: 436.5 MB / 0.7104 GB, free: 7.879 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003164/0.0003165, allocations: 8 kB / 0.8708 GB, free: 4.793 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6025/0.6028, allocations: 153.7 MB / 1.021 GB, free: 1.082 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate): time 0.1639/0.7668, allocations: 143 MB / 1.16 GB, free: 1.68 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.006298/0.7731, allocations: 4.13 MB / 1.165 GB, free: 13.54 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006651/0.7738, allocations: 15.88 kB / 1.165 GB, free: 13.53 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.001019/0.7748, allocations: 322.5 kB / 1.165 GB, free: 13.21 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.002738/0.7776, allocations: 0.9972 MB / 1.166 GB, free: 12.21 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.002298/0.7799, allocations: 0.777 MB / 1.167 GB, free: 11.44 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.001545/0.7814, allocations: 0.7693 MB / 1.167 GB, free: 10.67 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007936/0.7823, allocations: 360.4 kB / 1.168 GB, free: 10.31 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001227/0.7835, allocations: 0.514 MB / 1.168 GB, free: 9.793 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006186/0.7841, allocations: 294.9 kB / 1.168 GB, free: 9.504 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 9.717e-05/0.7842, allocations: 20 kB / 1.168 GB, free: 9.484 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001501/0.7857, allocations: 0.6318 MB / 1.169 GB, free: 8.852 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 0.0002778/0.7861, allocations: 167.5 kB / 1.169 GB, free: 8.688 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.0002641/0.7863, allocations: 141.5 kB / 1.169 GB, free: 8.543 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.001136/0.7875, allocations: 0.7912 MB / 1.17 GB, free: 7.75 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 2.074e-06/0.7875, allocations: 4 kB / 1.17 GB, free: 7.746 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.933e-06/0.7875, allocations: 4 kB / 1.17 GB, free: 7.742 MB / 0.92 GB Notification: Performance of Transformations before backend: time 2.45e-05/0.7875, allocations: 0 / 1.17 GB, free: 7.742 MB / 0.92 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 106 * Number of variables: 106 Notification: Performance of Generate backend data structure: time 0.001808/0.7893, allocations: 0.8377 MB / 1.171 GB, free: 6.855 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 4.058e-05/0.7894, allocations: 11.98 kB / 1.171 GB, free: 6.844 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00177/0.7912, allocations: 291 kB / 1.171 GB, free: 6.559 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009835/0.7922, allocations: 481.6 kB / 1.172 GB, free: 6.047 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003482/0.7925, allocations: 100.9 kB / 1.172 GB, free: 5.949 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001024/0.7926, allocations: 36 kB / 1.172 GB, free: 5.914 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001429/0.7941, allocations: 0.6263 MB / 1.172 GB, free: 5.262 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.395e-05/0.7941, allocations: 0 / 1.172 GB, free: 5.262 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.223e-05/0.7942, allocations: 24 kB / 1.173 GB, free: 5.238 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.349e-05/0.7942, allocations: 17 kB / 1.173 GB, free: 5.223 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001538/0.7958, allocations: 0.5855 MB / 1.173 GB, free: 4.637 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.00465/0.8004, allocations: 2.3 MB / 1.175 GB, free: 2.207 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001058/0.8015, allocations: 314.3 kB / 1.176 GB, free: 1.891 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 2.699e-05/0.8016, allocations: 3.984 kB / 1.176 GB, free: 1.887 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.621e-05/0.8016, allocations: 42.72 kB / 1.176 GB, free: 1.836 MB / 0.92 GB Notification: Performance of pre-optimization done (n=11): time 1.913e-06/0.8016, allocations: 3.938 kB / 1.176 GB, free: 1.832 MB / 0.92 GB Notification: Performance of matching and sorting (n=11): time 0.005607/0.8072, allocations: 1.178 MB / 1.177 GB, free: 0.625 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.923e-05/0.8073, allocations: 85.11 kB / 1.177 GB, free: 0.5234 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007271/0.808, allocations: 0.5456 MB / 1.177 GB, free: 15.96 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 5.911e-05/0.8081, allocations: 33.7 kB / 1.177 GB, free: 15.93 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002339/0.8083, allocations: 295.5 kB / 1.178 GB, free: 15.63 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 5.284e-05/0.8084, allocations: 43.39 kB / 1.178 GB, free: 15.59 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.45e-05/0.8084, allocations: 8 kB / 1.178 GB, free: 15.58 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001458/0.8086, allocations: 362.7 kB / 1.178 GB, free: 15.22 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006588/0.8093, allocations: 199.8 kB / 1.178 GB, free: 15.02 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006926/0.81, allocations: 293.2 kB / 1.179 GB, free: 14.7 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006602/0.8106, allocations: 224.9 kB / 1.179 GB, free: 14.48 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.146e-06/0.8106, allocations: 0 / 1.179 GB, free: 14.48 MB / 0.9356 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.002937/0.8136, allocations: 0.7813 MB / 1.18 GB, free: 13.7 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 2.291e-05/0.8136, allocations: 4 kB / 1.18 GB, free: 13.69 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.047e-05/0.8137, allocations: 4 kB / 1.18 GB, free: 13.69 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006823/0.8143, allocations: 200.7 kB / 1.18 GB, free: 13.49 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004254/0.8148, allocations: 79.88 kB / 1.18 GB, free: 13.41 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005411/0.8202, allocations: 2.237 MB / 1.182 GB, free: 11.04 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009798/0.8212, allocations: 91.55 kB / 1.182 GB, free: 10.95 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.908e-05/0.8213, allocations: 15.98 kB / 1.182 GB, free: 10.94 MB / 0.9356 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 (26): * Single equations (assignments): 25 * 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 4} Notification: Performance of prepare postOptimizeDAE: time 0.0004448/0.8218, allocations: 185.7 kB / 1.182 GB, free: 10.75 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001979/0.822, allocations: 55.44 kB / 1.182 GB, free: 10.69 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001532/0.8221, allocations: 51.98 kB / 1.182 GB, free: 10.64 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.929e-06/0.8222, allocations: 4 kB / 1.182 GB, free: 10.63 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.687e-06/0.8222, allocations: 4.375 kB / 1.182 GB, free: 10.63 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.98e-06/0.8222, allocations: 0 / 1.182 GB, free: 10.63 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003565/0.8258, allocations: 1.176 MB / 1.184 GB, free: 9.387 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.154e-06/0.8258, allocations: 12.06 kB / 1.184 GB, free: 9.375 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002777/0.8261, allocations: 43.95 kB / 1.184 GB, free: 9.332 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000566/0.8266, allocations: 192.7 kB / 1.184 GB, free: 9.141 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.061e-05/0.8267, allocations: 0 / 1.184 GB, free: 9.141 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003746/0.8304, allocations: 2.112 MB / 1.186 GB, free: 6.898 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.754e-06/0.8304, allocations: 0 / 1.186 GB, free: 6.898 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002757/0.8332, allocations: 0.7816 MB / 1.187 GB, free: 6.078 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003341/0.8336, allocations: 160.5 kB / 1.187 GB, free: 5.902 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001005/0.8337, allocations: 8.375 kB / 1.187 GB, free: 5.895 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006872/0.8344, allocations: 67.83 kB / 1.187 GB, free: 5.828 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.918e-05/0.8344, allocations: 23.91 kB / 1.187 GB, free: 5.805 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.591e-05/0.8345, allocations: 19.94 kB / 1.187 GB, free: 5.785 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.0005043/0.835, allocations: 386.8 kB / 1.187 GB, free: 5.41 MB / 0.9356 GB Notification: Performance of sort global known variables: time 5.01e-07/0.835, allocations: 96 / 1.187 GB, free: 5.41 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0007221/0.8357, allocations: 187.7 kB / 1.187 GB, free: 5.227 MB / 0.9356 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 (7): * Single equations (assignments): 6 * 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 4} Notification: Performance of Backend phase and start with SimCode phase: time 0.0004348/0.8362, allocations: 181.6 kB / 1.188 GB, free: 5.051 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.002337/0.8385, allocations: 0.643 MB / 1.188 GB, free: 4.395 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 4.228e-06/0.8386, allocations: 4 kB / 1.188 GB, free: 4.391 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0008034/0.8394, allocations: 322.7 kB / 1.189 GB, free: 4.062 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001529/0.8409, allocations: 288.4 kB / 1.189 GB, free: 3.777 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00331/0.8442, allocations: 1.257 MB / 1.19 GB, free: 2.488 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004522/0.8447, allocations: 0.8778 MB / 1.191 GB, free: 1.582 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 0.0004922/0.8452, allocations: 104.5 kB / 1.191 GB, free: 1.477 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001019/0.8453, allocations: 35.42 kB / 1.191 GB, free: 1.441 MB / 0.9356 GB Notification: Performance of SimCode: time 9.62e-07/0.8453, allocations: 0 / 1.191 GB, free: 1.441 MB / 0.9356 GB Notification: Performance of Templates: time 0.01967/0.865, allocations: 11.33 MB / 1.202 GB, free: 6.266 MB / 0.9512 GB make -j1 -f Buildings_latest_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.makefile (rm -f Buildings_latest_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.pipe ; mkfifo Buildings_latest_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.pipe >> ../files/Buildings_latest_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.sim & ./Buildings_latest_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_MixingVolumes_Examples_MixingVolumePrescribedHeatFlowRate.csv","../files/Buildings_latest_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches