Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 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.MixingVolumePrescribedHeatFlowRate,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.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_9_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.001702/0.001702, allocations: 100.1 kB / 15.88 MB, free: 12 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001931/0.001931, allocations: 198 kB / 16.79 MB, free: 6.809 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.423/1.423, allocations: 222.9 MB / 240.5 MB, free: 4.574 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.481/2.481, allocations: 390.2 MB / 0.6649 GB, free: 0.6367 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001437/0.001437, allocations: 67.89 kB / 0.8125 GB, free: 14.89 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7344/0.7358, allocations: 140.4 MB / 0.9496 GB, free: 9.133 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate): time 0.1919/0.9278, allocations: 168.8 MB / 1.114 GB, free: 8.766 MB / 0.8731 GB Notification: Performance of NFInst.instExpressions: time 0.007115/0.935, allocations: 4.331 MB / 1.119 GB, free: 4.422 MB / 0.8731 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009694/0.936, allocations: 19.88 kB / 1.119 GB, free: 4.402 MB / 0.8731 GB Notification: Performance of NFTyping.typeComponents: time 0.001343/0.9374, allocations: 306.5 kB / 1.119 GB, free: 4.102 MB / 0.8731 GB Notification: Performance of NFTyping.typeBindings: time 0.002833/0.9403, allocations: 0.9336 MB / 1.12 GB, free: 3.164 MB / 0.8731 GB Notification: Performance of NFTyping.typeClassSections: time 0.002289/0.9426, allocations: 0.7362 MB / 1.121 GB, free: 2.434 MB / 0.8731 GB Notification: Performance of NFFlatten.flatten: time 0.002356/0.945, allocations: 1.79 MB / 1.122 GB, free: 0.6367 MB / 0.8731 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000788/0.9458, allocations: 406.9 kB / 1.123 GB, free: 244 kB / 0.8731 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001541/0.9473, allocations: 0.5992 MB / 1.123 GB, free: 15.64 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001317/0.9487, allocations: 474.1 kB / 1.124 GB, free: 15.17 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 0.000155/0.9488, allocations: 28 kB / 1.124 GB, free: 15.14 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002066/0.9509, allocations: 1.005 MB / 1.125 GB, free: 14.14 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 0.0002958/0.9512, allocations: 195.3 kB / 1.125 GB, free: 13.95 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 0.0005279/0.9518, allocations: 306.5 kB / 1.125 GB, free: 13.64 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.001279/0.9531, allocations: 0.8303 MB / 1.126 GB, free: 12.81 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 6.422e-06/0.9531, allocations: 4 kB / 1.126 GB, free: 12.81 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.082e-06/0.9531, allocations: 0 / 1.126 GB, free: 12.81 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 2.265e-05/0.9531, allocations: 0 / 1.126 GB, free: 12.81 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: 106 * Number of variables: 106 Notification: Performance of Generate backend data structure: time 0.001994/0.9551, allocations: 0.9552 MB / 1.127 GB, free: 11.8 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 4.124e-05/0.9552, allocations: 12.03 kB / 1.127 GB, free: 11.79 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001742/0.9569, allocations: 263 kB / 1.127 GB, free: 11.54 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009124/0.9578, allocations: 485.4 kB / 1.128 GB, free: 11.02 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000342/0.9582, allocations: 88.94 kB / 1.128 GB, free: 10.93 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.65e-05/0.9583, allocations: 40 kB / 1.128 GB, free: 10.89 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001371/0.9597, allocations: 0.6224 MB / 1.128 GB, free: 10.25 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.317e-05/0.9597, allocations: 0 / 1.128 GB, free: 10.25 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.281e-05/0.9598, allocations: 16 kB / 1.128 GB, free: 10.23 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.434e-05/0.9598, allocations: 17 kB / 1.128 GB, free: 10.21 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001478/0.9613, allocations: 0.562 MB / 1.129 GB, free: 9.652 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.00437/0.9657, allocations: 2.276 MB / 1.131 GB, free: 7.25 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001001/0.9667, allocations: 298.2 kB / 1.132 GB, free: 6.949 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005619/0.9673, allocations: 176.7 kB / 1.132 GB, free: 6.773 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 2.878e-05/0.9673, allocations: 4 kB / 1.132 GB, free: 6.77 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.391e-05/0.9674, allocations: 34.56 kB / 1.132 GB, free: 6.727 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=11): time 2.294e-06/0.9674, allocations: 0 / 1.132 GB, free: 6.727 MB / 0.8887 GB Notification: Performance of matching and sorting (n=11): time 0.005308/0.9727, allocations: 1.111 MB / 1.133 GB, free: 5.586 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.008e-05/0.9728, allocations: 77.11 kB / 1.133 GB, free: 5.492 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007468/0.9735, allocations: 0.5534 MB / 1.133 GB, free: 4.926 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 5.929e-05/0.9736, allocations: 29.7 kB / 1.133 GB, free: 4.891 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 0.000211/0.9738, allocations: 303.5 kB / 1.134 GB, free: 4.59 MB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 5.116e-05/0.9739, allocations: 35.45 kB / 1.134 GB, free: 4.555 MB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001405/0.974, allocations: 61.61 kB / 1.134 GB, free: 4.488 MB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.0001295/0.9741, allocations: 358.8 kB / 1.134 GB, free: 4.129 MB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006013/0.9748, allocations: 191.8 kB / 1.134 GB, free: 3.941 MB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006329/0.9754, allocations: 273.2 kB / 1.135 GB, free: 3.641 MB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001152/0.9766, allocations: 421.5 kB / 1.135 GB, free: 3.199 MB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.488e-06/0.9766, allocations: 0 / 1.135 GB, free: 3.199 MB / 0.8887 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.002758/0.9793, allocations: 0.745 MB / 1.136 GB, free: 2.445 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 2.615e-05/0.9794, allocations: 5.406 kB / 1.136 GB, free: 2.441 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.133e-05/0.9794, allocations: 11.94 kB / 1.136 GB, free: 2.43 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006571/0.9801, allocations: 180.8 kB / 1.136 GB, free: 2.25 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003954/0.9805, allocations: 71.88 kB / 1.136 GB, free: 2.18 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003884/0.9844, allocations: 2.088 MB / 1.138 GB, free: 15.96 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007388/0.9851, allocations: 91.31 kB / 1.138 GB, free: 15.87 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.099e-05/0.9852, allocations: 8 kB / 1.138 GB, free: 15.86 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 (26): * Single equations (assignments): 25 * 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,4)} Notification: Performance of prepare postOptimizeDAE: time 0.0003354/0.9855, allocations: 193.7 kB / 1.138 GB, free: 15.66 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001517/0.9857, allocations: 47.44 kB / 1.138 GB, free: 15.62 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001296/0.9858, allocations: 48.05 kB / 1.138 GB, free: 15.56 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.995e-06/0.9858, allocations: 7.938 kB / 1.138 GB, free: 15.55 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.883e-06/0.9859, allocations: 7.922 kB / 1.138 GB, free: 15.55 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.506e-06/0.9859, allocations: 0 / 1.138 GB, free: 15.55 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0032/0.9891, allocations: 1.144 MB / 1.14 GB, free: 14.34 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.178e-06/0.9891, allocations: 0 / 1.14 GB, free: 14.34 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002599/0.9894, allocations: 44.02 kB / 1.14 GB, free: 14.29 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005294/0.9899, allocations: 180.6 kB / 1.14 GB, free: 14.11 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.813e-05/0.99, allocations: 11.98 kB / 1.14 GB, free: 14.1 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003435/0.9934, allocations: 2.03 MB / 1.142 GB, free: 11.94 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.264e-06/0.9934, allocations: 4.062 kB / 1.142 GB, free: 11.94 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002572/0.996, allocations: 0.7084 MB / 1.142 GB, free: 11.2 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003163/0.9963, allocations: 168.4 kB / 1.143 GB, free: 11.02 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001118/0.9965, allocations: 12 kB / 1.143 GB, free: 11.01 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00064/0.9971, allocations: 59.78 kB / 1.143 GB, free: 10.95 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.418e-05/0.9972, allocations: 11.98 kB / 1.143 GB, free: 10.94 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.639e-05/0.9972, allocations: 11.98 kB / 1.143 GB, free: 10.93 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.0005001/0.9978, allocations: 394.8 kB / 1.143 GB, free: 10.54 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.3e-07/0.9978, allocations: 0 / 1.143 GB, free: 10.54 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0007244/0.9985, allocations: 179.8 kB / 1.143 GB, free: 10.37 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 (7): * Single equations (assignments): 6 * 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,4)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0004888/0.999, allocations: 203.7 kB / 1.143 GB, free: 10.17 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.001624/1.001, allocations: 0.5218 MB / 1.144 GB, free: 9.637 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 5.35e-06/1.001, allocations: 4 kB / 1.144 GB, free: 9.633 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.0007288/1.001, allocations: 314.9 kB / 1.144 GB, free: 9.312 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001553/1.003, allocations: 283.4 kB / 1.145 GB, free: 9.031 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003322/1.006, allocations: 1.274 MB / 1.146 GB, free: 7.719 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004186/1.007, allocations: 0.8585 MB / 1.147 GB, free: 6.832 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001504/1.007, allocations: 39.61 kB / 1.147 GB, free: 6.793 MB / 0.9044 GB Notification: Performance of SimCode: time 8.11e-07/1.007, allocations: 4 kB / 1.147 GB, free: 6.789 MB / 0.9044 GB Notification: Performance of Templates: time 0.01619/1.023, allocations: 11.08 MB / 1.157 GB, free: 11.8 MB / 0.92 GB make -j1 -f Buildings_9_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.makefile (rm -f Buildings_9_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.pipe ; mkfifo Buildings_9_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.pipe >> ../files/Buildings_9_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.sim & ./Buildings_9_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_MixingVolumes_Examples_MixingVolumePrescribedHeatFlowRate.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches