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.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.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.001589/0.001589, allocations: 108 kB / 15.6 MB, free: 132 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.002056/0.002056, allocations: 194.7 kB / 16.53 MB, free: 6.391 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.393/1.393, allocations: 222.9 MB / 240.2 MB, free: 4.406 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.417/2.417, allocations: 390.2 MB / 0.6647 GB, free: 284 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001317/0.001317, allocations: 55.91 kB / 0.8125 GB, free: 14.28 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6987/0.7, allocations: 140.4 MB / 0.9496 GB, free: 9.16 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate): time 0.1947/0.8947, allocations: 171 MB / 1.117 GB, free: 6.203 MB / 0.8731 GB Notification: Performance of NFInst.instExpressions: time 0.007027/0.9018, allocations: 4.284 MB / 1.121 GB, free: 1.906 MB / 0.8731 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007978/0.9026, allocations: 19.88 kB / 1.121 GB, free: 1.887 MB / 0.8731 GB Notification: Performance of NFTyping.typeComponents: time 0.001128/0.9038, allocations: 357.9 kB / 1.121 GB, free: 1.535 MB / 0.8731 GB Notification: Performance of NFTyping.typeBindings: time 0.002981/0.9068, allocations: 1.003 MB / 1.122 GB, free: 0.5273 MB / 0.8731 GB Notification: Performance of NFTyping.typeClassSections: time 0.002403/0.9092, allocations: 0.8088 MB / 1.123 GB, free: 15.72 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.001787/0.911, allocations: 1.282 MB / 1.124 GB, free: 14.43 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007625/0.9118, allocations: 494.9 kB / 1.125 GB, free: 13.95 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001366/0.9132, allocations: 0.6615 MB / 1.125 GB, free: 13.29 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001002/0.9142, allocations: 448.7 kB / 1.126 GB, free: 12.85 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 0.0001085/0.9143, allocations: 56 kB / 1.126 GB, free: 12.79 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001729/0.9161, allocations: 0.9082 MB / 1.127 GB, free: 11.88 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 0.000236/0.9163, allocations: 219.3 kB / 1.127 GB, free: 11.67 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 0.0003626/0.9167, allocations: 326.6 kB / 1.127 GB, free: 11.35 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.001654/0.9183, allocations: 1.13 MB / 1.128 GB, free: 10.21 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 5.029e-06/0.9183, allocations: 0 / 1.128 GB, free: 10.21 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.372e-06/0.9184, allocations: 0 / 1.128 GB, free: 10.21 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 1.005e-05/0.9184, allocations: 0 / 1.128 GB, free: 10.21 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.001694/0.9201, allocations: 0.9544 MB / 1.129 GB, free: 9.211 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 3.768e-05/0.9201, allocations: 8.031 kB / 1.129 GB, free: 9.203 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001748/0.9219, allocations: 259 kB / 1.129 GB, free: 8.949 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008384/0.9227, allocations: 493.4 kB / 1.13 GB, free: 8.426 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003352/0.9231, allocations: 80.94 kB / 1.13 GB, free: 8.344 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.615e-05/0.9231, allocations: 40 kB / 1.13 GB, free: 8.305 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001296/0.9245, allocations: 0.6301 MB / 1.131 GB, free: 7.648 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.356e-05/0.9245, allocations: 0 / 1.131 GB, free: 7.648 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.988e-05/0.9245, allocations: 20 kB / 1.131 GB, free: 7.629 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.337e-05/0.9246, allocations: 20.98 kB / 1.131 GB, free: 7.609 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001519/0.9261, allocations: 0.562 MB / 1.131 GB, free: 7.047 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.004181/0.9303, allocations: 2.28 MB / 1.133 GB, free: 4.641 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001072/0.9314, allocations: 294.3 kB / 1.134 GB, free: 4.344 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006046/0.932, allocations: 180.6 kB / 1.134 GB, free: 4.164 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 2.19e-05/0.932, allocations: 4 kB / 1.134 GB, free: 4.16 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.108e-05/0.9321, allocations: 38.56 kB / 1.134 GB, free: 4.113 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=11): time 1.694e-06/0.9321, allocations: 0 / 1.134 GB, free: 4.113 MB / 0.8887 GB Notification: Performance of matching and sorting (n=11): time 0.005564/0.9377, allocations: 1.096 MB / 1.135 GB, free: 2.988 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.57e-05/0.9377, allocations: 81.11 kB / 1.135 GB, free: 2.891 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006606/0.9384, allocations: 0.5495 MB / 1.136 GB, free: 2.328 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 6.176e-05/0.9385, allocations: 37.7 kB / 1.136 GB, free: 2.285 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002258/0.9387, allocations: 307.4 kB / 1.136 GB, free: 1.98 MB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 5.058e-05/0.9388, allocations: 39.45 kB / 1.136 GB, free: 1.941 MB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001238/0.9389, allocations: 61.59 kB / 1.136 GB, free: 1.875 MB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.0001488/0.9391, allocations: 354.8 kB / 1.136 GB, free: 1.52 MB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006861/0.9398, allocations: 199.8 kB / 1.137 GB, free: 1.324 MB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007308/0.9405, allocations: 277.7 kB / 1.137 GB, free: 1.02 MB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001319/0.9418, allocations: 422 kB / 1.137 GB, free: 0.5781 MB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.497e-06/0.9418, allocations: 0 / 1.137 GB, free: 0.5781 MB / 0.8887 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.002939/0.9448, allocations: 0.7332 MB / 1.138 GB, free: 15.83 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 2.429e-05/0.9448, allocations: 9.875 kB / 1.138 GB, free: 15.82 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.969e-06/0.9448, allocations: 4.094 kB / 1.138 GB, free: 15.82 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007026/0.9455, allocations: 184.7 kB / 1.138 GB, free: 15.64 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000412/0.946, allocations: 71.88 kB / 1.138 GB, free: 15.57 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004167/0.9501, allocations: 2.235 MB / 1.14 GB, free: 13.2 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000715/0.9509, allocations: 79.48 kB / 1.14 GB, free: 13.12 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.819e-05/0.9509, allocations: 8 kB / 1.14 GB, free: 13.11 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.0003105/0.9512, allocations: 191.7 kB / 1.141 GB, free: 12.91 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001101/0.9514, allocations: 51.44 kB / 1.141 GB, free: 12.86 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000109/0.9515, allocations: 55.97 kB / 1.141 GB, free: 12.8 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.757e-06/0.9515, allocations: 4 kB / 1.141 GB, free: 12.79 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.024e-06/0.9515, allocations: 4 kB / 1.141 GB, free: 12.79 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.717e-06/0.9515, allocations: 0 / 1.141 GB, free: 12.79 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003298/0.9548, allocations: 1.14 MB / 1.142 GB, free: 11.59 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.226e-06/0.9548, allocations: 0 / 1.142 GB, free: 11.59 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002631/0.9551, allocations: 44.02 kB / 1.142 GB, free: 11.54 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005939/0.9557, allocations: 192.6 kB / 1.142 GB, free: 11.35 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.069e-05/0.9557, allocations: 0 / 1.142 GB, free: 11.35 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003819/0.9596, allocations: 2.179 MB / 1.144 GB, free: 9.031 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.527e-06/0.9596, allocations: 7.969 kB / 1.144 GB, free: 9.023 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002741/0.9623, allocations: 0.7118 MB / 1.145 GB, free: 8.285 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002776/0.9626, allocations: 168.4 kB / 1.145 GB, free: 8.102 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.269e-05/0.9627, allocations: 4 kB / 1.145 GB, free: 8.098 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006175/0.9633, allocations: 57.5 kB / 1.145 GB, free: 8.043 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.773e-05/0.9634, allocations: 15.98 kB / 1.145 GB, free: 8.027 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.475e-05/0.9635, allocations: 11.98 kB / 1.145 GB, free: 8.016 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.0005973/0.9641, allocations: 394.8 kB / 1.146 GB, free: 7.633 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.3e-07/0.9641, allocations: 4 kB / 1.146 GB, free: 7.629 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0007799/0.9649, allocations: 179.8 kB / 1.146 GB, free: 7.453 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.0005566/0.9655, allocations: 181.1 kB / 1.146 GB, free: 7.281 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.00221/0.9677, allocations: 0.5413 MB / 1.146 GB, free: 6.727 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 7.694e-06/0.9677, allocations: 384 / 1.146 GB, free: 6.727 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.0009445/0.9687, allocations: 306.6 kB / 1.147 GB, free: 6.414 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001742/0.9704, allocations: 302.2 kB / 1.147 GB, free: 6.121 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003698/0.9741, allocations: 1.082 MB / 1.148 GB, free: 5.004 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005232/0.9747, allocations: 0.8582 MB / 1.149 GB, free: 4.117 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 0.0004765/0.9752, allocations: 108.5 kB / 1.149 GB, free: 4.008 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.749e-05/0.9753, allocations: 35.44 kB / 1.149 GB, free: 3.973 MB / 0.9044 GB Notification: Performance of SimCode: time 9.01e-07/0.9753, allocations: 0 / 1.149 GB, free: 3.973 MB / 0.9044 GB Notification: Performance of Templates: time 0.0215/0.9968, allocations: 12.41 MB / 1.161 GB, free: 7.742 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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches