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.001417/0.001417, allocations: 110.8 kB / 16.37 MB, free: 6.004 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.001537/0.001537, allocations: 195.8 kB / 17.31 MB, free: 5.613 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.38/1.38, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.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.233/2.233, allocations: 390.3 MB / 0.6655 GB, free: 0.6094 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001263/0.001263, allocations: 64.67 kB / 0.814 GB, free: 32.7 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2705/0.2718, allocations: 140.4 MB / 0.9511 GB, free: 8.078 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate): time 0.6474/0.9193, allocations: 171 MB / 1.118 GB, free: 5.277 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.006095/0.9254, allocations: 4.286 MB / 1.122 GB, free: 5.16 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009661/0.9264, allocations: 21.91 kB / 1.122 GB, free: 5.16 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.001012/0.9275, allocations: 349.7 kB / 1.123 GB, free: 5.148 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.003133/0.9306, allocations: 0.9988 MB / 1.124 GB, free: 5.098 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.002468/0.9331, allocations: 0.81 MB / 1.124 GB, free: 5.066 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.002096/0.9352, allocations: 1.297 MB / 1.126 GB, free: 5.062 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008104/0.936, allocations: 481.3 kB / 1.126 GB, free: 5.012 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001421/0.9374, allocations: 0.6735 MB / 1.127 GB, free: 5.004 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001141/0.9386, allocations: 456.3 kB / 1.127 GB, free: 5 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 0.0001025/0.9387, allocations: 51.75 kB / 1.127 GB, free: 5 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00197/0.9407, allocations: 0.9154 MB / 1.128 GB, free: 4.984 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0002762/0.941, allocations: 214.5 kB / 1.128 GB, free: 4.984 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0004851/0.9415, allocations: 326.1 kB / 1.129 GB, free: 4.984 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.001903/0.9434, allocations: 1.136 MB / 1.13 GB, free: 4.922 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.97e-06/0.9434, allocations: 1.062 kB / 1.13 GB, free: 4.922 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.533e-06/0.9434, allocations: 0 / 1.13 GB, free: 4.922 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 1.17e-05/0.9434, allocations: 0 / 1.13 GB, free: 4.922 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: 106 * Number of variables: 106 Notification: Performance of Generate backend data structure: time 0.001758/0.9452, allocations: 0.9458 MB / 1.131 GB, free: 20.34 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 3.842e-05/0.9452, allocations: 10.23 kB / 1.131 GB, free: 20.34 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001752/0.947, allocations: 266.6 kB / 1.131 GB, free: 20.29 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009449/0.948, allocations: 497.7 kB / 1.131 GB, free: 20.03 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.907e-05/0.948, allocations: 39.12 kB / 1.132 GB, free: 20.02 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.518e-05/0.9481, allocations: 40.69 kB / 1.132 GB, free: 20.02 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001205/0.9493, allocations: 0.6136 MB / 1.132 GB, free: 19.93 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.354e-05/0.9493, allocations: 0 / 1.132 GB, free: 19.93 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.218e-05/0.9494, allocations: 19.16 kB / 1.132 GB, free: 19.93 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.393e-05/0.9494, allocations: 20.78 kB / 1.132 GB, free: 19.93 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001356/0.9508, allocations: 0.548 MB / 1.133 GB, free: 19.91 MB / 0.8731 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.003958/0.9548, allocations: 2.254 MB / 1.135 GB, free: 18.87 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009031/0.9557, allocations: 279.1 kB / 1.135 GB, free: 18.84 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00051/0.9562, allocations: 170.1 kB / 1.135 GB, free: 18.82 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 3.474e-05/0.9562, allocations: 2.297 kB / 1.135 GB, free: 18.82 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.301e-05/0.9563, allocations: 40.78 kB / 1.135 GB, free: 18.78 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=11): time 2.124e-06/0.9563, allocations: 1.344 kB / 1.135 GB, free: 18.78 MB / 0.8731 GB Notification: Performance of matching and sorting (n=11): time 0.005048/0.9613, allocations: 1.089 MB / 1.136 GB, free: 18.58 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.1e-05/0.9614, allocations: 78.33 kB / 1.137 GB, free: 18.49 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007119/0.9621, allocations: 0.5504 MB / 1.137 GB, free: 18.36 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 5.972e-05/0.9622, allocations: 31.42 kB / 1.137 GB, free: 18.33 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001958/0.9624, allocations: 302.9 kB / 1.137 GB, free: 18.17 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 4.297e-05/0.9625, allocations: 41.95 kB / 1.137 GB, free: 18.15 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001159/0.9626, allocations: 60.61 kB / 1.137 GB, free: 18.13 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001626/0.9628, allocations: 360 kB / 1.138 GB, free: 17.81 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005675/0.9633, allocations: 187.4 kB / 1.138 GB, free: 17.8 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005925/0.9639, allocations: 273.2 kB / 1.138 GB, free: 17.71 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00104/0.965, allocations: 406.1 kB / 1.139 GB, free: 17.62 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.116e-06/0.965, allocations: 0 / 1.139 GB, free: 17.62 MB / 0.8731 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.002666/0.9677, allocations: 0.7299 MB / 1.139 GB, free: 17.53 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 1.764e-05/0.9677, allocations: 9.312 kB / 1.139 GB, free: 17.53 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.604e-06/0.9677, allocations: 2.438 kB / 1.139 GB, free: 17.53 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006166/0.9683, allocations: 185.8 kB / 1.14 GB, free: 17.5 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003694/0.9687, allocations: 70.77 kB / 1.14 GB, free: 17.5 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003772/0.9725, allocations: 2.233 MB / 1.142 GB, free: 16.12 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006757/0.9732, allocations: 73.91 kB / 1.142 GB, free: 16.09 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.191e-05/0.9732, allocations: 11.75 kB / 1.142 GB, free: 16.09 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 (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.0002952/0.9735, allocations: 192 kB / 1.142 GB, free: 15.98 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.984e-05/0.9736, allocations: 53.62 kB / 1.142 GB, free: 15.95 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.488e-05/0.9737, allocations: 52.66 kB / 1.142 GB, free: 15.94 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.076e-06/0.9737, allocations: 4.781 kB / 1.142 GB, free: 15.93 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.047e-05/0.9738, allocations: 0 / 1.142 GB, free: 15.93 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.643e-06/0.9738, allocations: 3.828 kB / 1.142 GB, free: 15.93 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002926/0.9767, allocations: 1.13 MB / 1.143 GB, free: 15.59 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.889e-06/0.9767, allocations: 1.156 kB / 1.143 GB, free: 15.59 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002374/0.977, allocations: 42.11 kB / 1.143 GB, free: 15.58 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005138/0.9775, allocations: 175.1 kB / 1.143 GB, free: 15.57 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.569e-05/0.9775, allocations: 12.06 kB / 1.144 GB, free: 15.56 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003405/0.9809, allocations: 2.189 MB / 1.146 GB, free: 14.17 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.334e-06/0.981, allocations: 4.859 kB / 1.146 GB, free: 14.17 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002427/0.9834, allocations: 0.7017 MB / 1.146 GB, free: 13.97 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003159/0.9837, allocations: 167.5 kB / 1.146 GB, free: 13.85 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.716e-05/0.9838, allocations: 8.625 kB / 1.147 GB, free: 13.85 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005751/0.9844, allocations: 45.67 kB / 1.147 GB, free: 13.84 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.088e-05/0.9845, allocations: 16.86 kB / 1.147 GB, free: 13.84 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.731e-05/0.9845, allocations: 15.78 kB / 1.147 GB, free: 13.84 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0004726/0.985, allocations: 396.1 kB / 1.147 GB, free: 13.75 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.353e-06/0.985, allocations: 0 / 1.147 GB, free: 13.75 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0006828/0.9857, allocations: 185.5 kB / 1.147 GB, free: 13.73 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 (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.0003959/0.9861, allocations: 175.5 kB / 1.147 GB, free: 13.63 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.001458/0.9876, allocations: 0.5232 MB / 1.148 GB, free: 13.5 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 5.089e-06/0.9876, allocations: 1.312 kB / 1.148 GB, free: 13.5 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.000694/0.9883, allocations: 304 kB / 1.148 GB, free: 13.38 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001305/0.9896, allocations: 303.1 kB / 1.148 GB, free: 13.33 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002913/0.9925, allocations: 1.068 MB / 1.149 GB, free: 12.91 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004183/0.993, allocations: 0.8601 MB / 1.15 GB, free: 12.21 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 0.0004061/0.9934, allocations: 104.8 kB / 1.15 GB, free: 12.18 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.792e-05/0.9935, allocations: 37.09 kB / 1.15 GB, free: 12.17 MB / 0.8731 GB Notification: Performance of SimCode: time 3.2e-07/0.9935, allocations: 3.938 kB / 1.15 GB, free: 12.17 MB / 0.8731 GB Notification: Performance of Templates: time 0.01829/1.012, allocations: 12.4 MB / 1.163 GB, free: 8.711 MB / 0.8731 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 -s gbode -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