Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow.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.Validation.MixingVolumeHeatReverseFlow,tolerance=1e-08,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volDyn.ports.1..m_flow|gain.y|volDyn.T|volSte.T",fileNamePrefix="Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow") translateModel(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow,tolerance=1e-08,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volDyn.ports.1..m_flow|gain.y|volDyn.T|volSte.T",fileNamePrefix="Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001405/0.001405, allocations: 100.2 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.002046/0.002046, 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.444/1.444, allocations: 223.2 MB / 239.9 MB, free: 5.426 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.384/2.384, allocations: 390.2 MB / 0.6653 GB, free: 2.941 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0004018/0.0004018, allocations: 11.98 kB / 0.8145 GB, free: 14.22 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8568/0.8572, allocations: 142.3 MB / 0.9535 GB, free: 8.109 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow): time 0.1835/1.041, allocations: 158.3 MB / 1.108 GB, free: 1.402 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.009076/1.05, allocations: 5.66 MB / 1.114 GB, free: 11.73 MB / 0.8731 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001113/1.051, allocations: 35.75 kB / 1.114 GB, free: 11.7 MB / 0.8731 GB Notification: Performance of NFTyping.typeComponents: time 0.001656/1.053, allocations: 0.5716 MB / 1.114 GB, free: 11.12 MB / 0.8731 GB Notification: Performance of NFTyping.typeBindings: time 0.004732/1.057, allocations: 1.667 MB / 1.116 GB, free: 9.453 MB / 0.8731 GB Notification: Performance of NFTyping.typeClassSections: time 0.003445/1.061, allocations: 1.192 MB / 1.117 GB, free: 8.273 MB / 0.8731 GB Notification: Performance of NFFlatten.flatten: time 0.002942/1.064, allocations: 1.695 MB / 1.119 GB, free: 6.582 MB / 0.8731 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001106/1.065, allocations: 0.722 MB / 1.119 GB, free: 5.852 MB / 0.8731 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001482/1.066, allocations: 0.7747 MB / 1.12 GB, free: 5.074 MB / 0.8731 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008661/1.067, allocations: 0.5681 MB / 1.121 GB, free: 4.504 MB / 0.8731 GB Notification: Performance of NFPackage.collectConstants: time 0.0001084/1.067, allocations: 40 kB / 1.121 GB, free: 4.465 MB / 0.8731 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001764/1.069, allocations: 0.6201 MB / 1.121 GB, free: 3.844 MB / 0.8731 GB Notification: Performance of NFScalarize.scalarize: time 0.0003895/1.07, allocations: 359 kB / 1.122 GB, free: 3.492 MB / 0.8731 GB Notification: Performance of NFVerifyModel.verify: time 0.0002974/1.07, allocations: 261.1 kB / 1.122 GB, free: 3.23 MB / 0.8731 GB Notification: Performance of NFConvertDAE.convert: time 0.001597/1.071, allocations: 1.395 MB / 1.123 GB, free: 1.832 MB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 2.334e-06/1.072, allocations: 0 / 1.123 GB, free: 1.832 MB / 0.8731 GB Notification: Performance of FrontEnd: time 1.453e-06/1.072, allocations: 0 / 1.123 GB, free: 1.832 MB / 0.8731 GB Notification: Performance of Transformations before backend: time 2.046e-05/1.072, allocations: 0 / 1.123 GB, free: 1.832 MB / 0.8731 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 213 * Number of variables: 213 Notification: Performance of Generate backend data structure: time 0.002325/1.074, allocations: 1.278 MB / 1.125 GB, free: 0.5 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 4.659e-05/1.074, allocations: 12.03 kB / 1.125 GB, free: 500 kB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00197/1.076, allocations: 318.2 kB / 1.125 GB, free: 180 kB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001485/1.077, allocations: 0.7855 MB / 1.126 GB, free: 15.35 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.875e-05/1.077, allocations: 66 kB / 1.126 GB, free: 15.29 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000119/1.078, allocations: 84 kB / 1.126 GB, free: 15.2 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001616/1.079, allocations: 0.9014 MB / 1.127 GB, free: 14.3 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.433e-05/1.079, allocations: 0 / 1.127 GB, free: 14.3 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.996e-05/1.079, allocations: 39.95 kB / 1.127 GB, free: 14.26 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.393e-05/1.079, allocations: 37.98 kB / 1.127 GB, free: 14.22 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001384/1.081, allocations: 0.8237 MB / 1.128 GB, free: 13.39 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.00574/1.087, allocations: 3.544 MB / 1.131 GB, free: 9.621 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008694/1.087, allocations: 0.4926 MB / 1.131 GB, free: 9.121 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 8.22e-05/1.088, allocations: 16.41 kB / 1.131 GB, free: 9.105 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.017e-05/1.088, allocations: 43 kB / 1.132 GB, free: 9.055 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=47): time 3.767e-06/1.088, allocations: 0 / 1.132 GB, free: 9.055 MB / 0.8887 GB Notification: Performance of matching and sorting (n=49): time 0.004373/1.092, allocations: 1.939 MB / 1.133 GB, free: 7.016 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.78e-05/1.092, allocations: 55.84 kB / 1.133 GB, free: 6.949 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001059/1.093, allocations: 0.8018 MB / 1.134 GB, free: 6.141 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 5.538e-05/1.093, allocations: 41.7 kB / 1.134 GB, free: 6.094 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003582/1.094, allocations: 475.3 kB / 1.135 GB, free: 5.625 MB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001851/1.094, allocations: 173.5 kB / 1.135 GB, free: 5.453 MB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.25e-05/1.094, allocations: 12 kB / 1.135 GB, free: 5.441 MB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.0001567/1.094, allocations: 337.9 kB / 1.135 GB, free: 5.105 MB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004292/1.094, allocations: 241.2 kB / 1.135 GB, free: 4.867 MB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005222/1.095, allocations: 361.2 kB / 1.136 GB, free: 4.48 MB / 0.8887 GB Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: volDyn.dynBal.medium.p = volDyn.dynBal.p_start (bou.p = volDyn.dynBal.p_start) Notification: Performance of analyzeInitialSystem (initialization): time 0.002821/1.098, allocations: 1.01 MB / 1.137 GB, free: 3.453 MB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.036e-06/1.098, allocations: 3.938 kB / 1.137 GB, free: 3.449 MB / 0.8887 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.001326/1.099, allocations: 0.7846 MB / 1.138 GB, free: 2.652 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 2.017e-05/1.099, allocations: 4 kB / 1.138 GB, free: 2.648 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.004e-05/1.099, allocations: 4 kB / 1.138 GB, free: 2.645 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002959/1.099, allocations: 97.98 kB / 1.138 GB, free: 2.543 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006519/1.1, allocations: 151.8 kB / 1.138 GB, free: 2.395 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00275/1.103, allocations: 3.101 MB / 1.141 GB, free: 15.03 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001016/1.104, allocations: 67.67 kB / 1.141 GB, free: 14.96 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.36e-05/1.104, allocations: 31.98 kB / 1.141 GB, free: 14.93 MB / 0.9044 GB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization sytem: volDyn.dynBal.medium.p = volDyn.dynBal.p_start. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * 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 (67): * Single equations (assignments): 65 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 4,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0005325/1.104, allocations: 297.6 kB / 1.141 GB, free: 14.63 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001347/1.105, allocations: 90.97 kB / 1.141 GB, free: 14.54 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001723/1.105, allocations: 96.73 kB / 1.141 GB, free: 14.45 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.452e-06/1.105, allocations: 7.984 kB / 1.141 GB, free: 14.44 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.86e-06/1.105, allocations: 0 / 1.141 GB, free: 14.44 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00101/1.106, allocations: 0.8544 MB / 1.142 GB, free: 13.5 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002789/1.109, allocations: 1.799 MB / 1.144 GB, free: 11.6 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.558e-06/1.109, allocations: 4 kB / 1.144 GB, free: 11.59 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000601/1.109, allocations: 148.2 kB / 1.144 GB, free: 11.45 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000213/1.109, allocations: 64.81 kB / 1.144 GB, free: 11.38 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.481e-05/1.11, allocations: 12 kB / 1.144 GB, free: 11.37 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001579/1.111, allocations: 1.687 MB / 1.146 GB, free: 9.543 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.438e-06/1.111, allocations: 4 kB / 1.146 GB, free: 9.539 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001582/1.113, allocations: 1.23 MB / 1.147 GB, free: 8.168 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004279/1.113, allocations: 236 kB / 1.147 GB, free: 7.918 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001101/1.113, allocations: 15.98 kB / 1.147 GB, free: 7.902 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007275/1.114, allocations: 69.48 kB / 1.147 GB, free: 7.836 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.81e-05/1.114, allocations: 47.91 kB / 1.147 GB, free: 7.789 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.882e-05/1.114, allocations: 27.98 kB / 1.147 GB, free: 7.762 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.0006834/1.115, allocations: 0.5575 MB / 1.148 GB, free: 7.211 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.1e-07/1.115, allocations: 0 / 1.148 GB, free: 7.211 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0009399/1.116, allocations: 284 kB / 1.148 GB, free: 6.934 MB / 0.9044 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * Number of states: 2 (volDyn.dynBal.medium.Xi[1],volDyn.dynBal.U) * 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 (45): * Single equations (assignments): 44 * 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.0004545/1.116, allocations: 187.8 kB / 1.148 GB, free: 6.75 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.001274/1.118, allocations: 0.7999 MB / 1.149 GB, free: 5.922 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 3.437e-06/1.118, allocations: 0 / 1.149 GB, free: 5.922 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.0005564/1.118, allocations: 419.4 kB / 1.15 GB, free: 5.5 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002559/1.121, allocations: 0.5749 MB / 1.15 GB, free: 4.934 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003155/1.124, allocations: 2.166 MB / 1.152 GB, free: 2.695 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006791/1.125, allocations: 1.107 MB / 1.153 GB, free: 1.555 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 0.0008703/1.125, allocations: 215.7 kB / 1.154 GB, free: 1.34 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001667/1.126, allocations: 67.38 kB / 1.154 GB, free: 1.277 MB / 0.9044 GB Notification: Performance of SimCode: time 5.11e-07/1.126, allocations: 0 / 1.154 GB, free: 1.277 MB / 0.9044 GB Notification: Performance of Templates: time 0.03437/1.16, allocations: 18.9 MB / 1.172 GB, free: 14.64 MB / 0.9356 GB make -j1 -f Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow.makefile (rm -f Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow.pipe ; mkfifo Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow.pipe >> ../files/Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow.sim & ./Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_MixingVolumes_Validation_MixingVolumeHeatReverseFlow.csv","../files/Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches