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.001037/0.001037, allocations: 90.52 kB / 15.36 MB, free: 0.7383 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.008522/0.008522, allocations: 171.6 kB / 16.26 MB, free: 6.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.439/1.439, allocations: 223.3 MB / 240.3 MB, free: 5.359 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.509/2.509, allocations: 390.9 MB / 0.6663 GB, free: 2.363 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0005532/0.0005532, allocations: 8 kB / 0.8159 GB, free: 13.26 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7353/0.7359, allocations: 142.4 MB / 0.955 GB, free: 7.723 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate): time 0.207/0.9429, allocations: 166.6 MB / 1.118 GB, free: 8.223 MB / 0.8731 GB Notification: Performance of NFInst.instExpressions: time 0.007028/0.95, allocations: 4.298 MB / 1.122 GB, free: 3.914 MB / 0.8731 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008716/0.9509, allocations: 19.88 kB / 1.122 GB, free: 3.895 MB / 0.8731 GB Notification: Performance of NFTyping.typeComponents: time 0.001076/0.952, allocations: 298.5 kB / 1.122 GB, free: 3.602 MB / 0.8731 GB Notification: Performance of NFTyping.typeBindings: time 0.002557/0.9546, allocations: 0.9414 MB / 1.123 GB, free: 2.656 MB / 0.8731 GB Notification: Performance of NFTyping.typeClassSections: time 0.002218/0.9568, allocations: 0.7155 MB / 1.124 GB, free: 1.945 MB / 0.8731 GB Notification: Performance of NFFlatten.flatten: time 0.002304/0.9591, allocations: 1.802 MB / 1.126 GB, free: 140 kB / 0.8731 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007359/0.9599, allocations: 394.4 kB / 1.126 GB, free: 15.75 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001357/0.9612, allocations: 0.5796 MB / 1.127 GB, free: 15.17 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001146/0.9624, allocations: 458.2 kB / 1.127 GB, free: 14.72 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 9.721e-05/0.9625, allocations: 24 kB / 1.127 GB, free: 14.7 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001791/0.9643, allocations: 1.002 MB / 1.128 GB, free: 13.69 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 0.0002645/0.9646, allocations: 179.4 kB / 1.128 GB, free: 13.52 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 0.000454/0.965, allocations: 316.2 kB / 1.128 GB, free: 13.2 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.001742/0.9668, allocations: 1.137 MB / 1.13 GB, free: 12.06 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 4.048e-06/0.9668, allocations: 0 / 1.13 GB, free: 12.06 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.673e-06/0.9668, allocations: 0 / 1.13 GB, free: 12.06 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 9.418e-06/0.9668, allocations: 0 / 1.13 GB, free: 12.06 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.001558/0.9684, allocations: 0.8415 MB / 1.13 GB, free: 11.17 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 4.65e-05/0.9685, allocations: 8.031 kB / 1.13 GB, free: 11.16 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001729/0.9702, allocations: 291 kB / 1.131 GB, free: 10.88 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008416/0.971, allocations: 477.5 kB / 1.131 GB, free: 10.37 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003552/0.9714, allocations: 108.8 kB / 1.131 GB, free: 10.26 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.621e-05/0.9715, allocations: 44 kB / 1.131 GB, free: 10.22 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001339/0.9728, allocations: 0.6302 MB / 1.132 GB, free: 9.562 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.465e-05/0.9729, allocations: 0 / 1.132 GB, free: 9.562 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.051e-05/0.9729, allocations: 24 kB / 1.132 GB, free: 9.539 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.2e-05/0.973, allocations: 20.94 kB / 1.132 GB, free: 9.52 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00154/0.9745, allocations: 0.5894 MB / 1.132 GB, free: 8.93 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.004165/0.9787, allocations: 2.307 MB / 1.135 GB, free: 6.496 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001084/0.9798, allocations: 310.3 kB / 1.135 GB, free: 6.184 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000632/0.9805, allocations: 196.6 kB / 1.135 GB, free: 5.988 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 3.277e-05/0.9805, allocations: 0 / 1.135 GB, free: 5.988 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.237e-05/0.9805, allocations: 38.56 kB / 1.135 GB, free: 5.941 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=11): time 1.543e-06/0.9805, allocations: 0 / 1.135 GB, free: 5.941 MB / 0.8887 GB Notification: Performance of matching and sorting (n=11): time 0.005715/0.9863, allocations: 1.19 MB / 1.136 GB, free: 4.723 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.511e-05/0.9863, allocations: 77.11 kB / 1.136 GB, free: 4.629 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007732/0.9871, allocations: 0.5534 MB / 1.137 GB, free: 4.062 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 7.169e-05/0.9872, allocations: 25.7 kB / 1.137 GB, free: 4.031 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 0.000236/0.9875, allocations: 307.4 kB / 1.137 GB, free: 3.727 MB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 5.183e-05/0.9875, allocations: 39.45 kB / 1.137 GB, free: 3.688 MB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.805e-05/0.9876, allocations: 29.7 kB / 1.137 GB, free: 3.652 MB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.0001544/0.9877, allocations: 354.8 kB / 1.138 GB, free: 3.297 MB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007038/0.9885, allocations: 211.8 kB / 1.138 GB, free: 3.09 MB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000744/0.9892, allocations: 289.2 kB / 1.138 GB, free: 2.773 MB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001344/0.9906, allocations: 443 kB / 1.139 GB, free: 2.312 MB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.538e-06/0.9906, allocations: 8 kB / 1.139 GB, free: 2.305 MB / 0.8887 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.003091/0.9937, allocations: 0.7825 MB / 1.139 GB, free: 1.512 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 2.229e-05/0.9937, allocations: 5.719 kB / 1.139 GB, free: 1.508 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.113e-05/0.9937, allocations: 4 kB / 1.139 GB, free: 1.504 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006854/0.9944, allocations: 184.8 kB / 1.14 GB, free: 1.32 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000447/0.9949, allocations: 83.88 kB / 1.14 GB, free: 1.238 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00436/0.9993, allocations: 2.118 MB / 1.142 GB, free: 14.99 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009453/1, allocations: 99.47 kB / 1.142 GB, free: 14.89 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.919e-05/1, allocations: 16 kB / 1.142 GB, free: 14.88 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.0003825/1.001, allocations: 185.7 kB / 1.142 GB, free: 14.68 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001744/1.001, allocations: 55.42 kB / 1.142 GB, free: 14.63 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001457/1.001, allocations: 48.05 kB / 1.142 GB, free: 14.57 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.575e-06/1.001, allocations: 0 / 1.142 GB, free: 14.57 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.342e-06/1.001, allocations: 11.92 kB / 1.142 GB, free: 14.56 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.697e-06/1.001, allocations: 4 kB / 1.142 GB, free: 14.56 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003551/1.005, allocations: 1.183 MB / 1.143 GB, free: 13.31 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.099e-06/1.005, allocations: 8.062 kB / 1.143 GB, free: 13.3 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002759/1.005, allocations: 47.98 kB / 1.143 GB, free: 13.25 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00057/1.006, allocations: 188.6 kB / 1.144 GB, free: 13.07 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.192e-05/1.006, allocations: 3.984 kB / 1.144 GB, free: 13.06 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003687/1.009, allocations: 2.073 MB / 1.146 GB, free: 10.86 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.675e-06/1.009, allocations: 4.031 kB / 1.146 GB, free: 10.86 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002935/1.012, allocations: 0.7587 MB / 1.146 GB, free: 10.07 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000301/1.013, allocations: 164.5 kB / 1.146 GB, free: 9.891 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.895e-05/1.013, allocations: 0 / 1.146 GB, free: 9.891 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007027/1.013, allocations: 66.12 kB / 1.147 GB, free: 9.828 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.691e-05/1.013, allocations: 11.98 kB / 1.147 GB, free: 9.816 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.847e-05/1.013, allocations: 15.98 kB / 1.147 GB, free: 9.801 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.0005137/1.014, allocations: 398.8 kB / 1.147 GB, free: 9.414 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.4e-07/1.014, allocations: 0 / 1.147 GB, free: 9.414 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0007086/1.015, allocations: 187.7 kB / 1.147 GB, free: 9.23 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.0004421/1.015, allocations: 187.4 kB / 1.147 GB, free: 9.055 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.001734/1.017, allocations: 0.5531 MB / 1.148 GB, free: 8.488 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 4.108e-06/1.017, allocations: 0 / 1.148 GB, free: 8.488 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.0008323/1.018, allocations: 326.9 kB / 1.148 GB, free: 8.156 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001663/1.019, allocations: 290.1 kB / 1.148 GB, free: 7.867 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003327/1.023, allocations: 1.286 MB / 1.15 GB, free: 6.551 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004562/1.023, allocations: 0.8585 MB / 1.151 GB, free: 5.664 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 0.0004879/1.024, allocations: 104.5 kB / 1.151 GB, free: 5.559 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001085/1.024, allocations: 39.42 kB / 1.151 GB, free: 5.52 MB / 0.9044 GB Notification: Performance of SimCode: time 4.41e-07/1.024, allocations: 3.938 kB / 1.151 GB, free: 5.516 MB / 0.9044 GB Notification: Performance of Templates: time 0.02132/1.045, allocations: 11.78 MB / 1.162 GB, free: 9.891 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