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.0009489/0.0009487, allocations: 91.92 kB / 16.02 MB, free: 80 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.001338/0.001338, allocations: 179.3 kB / 16.92 MB, free: 6.652 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.419/1.419, allocations: 223.3 MB / 241 MB, free: 5.254 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.9 MB / 0.667 GB, free: 2.348 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003615/0.0003615, allocations: 8 kB / 0.8166 GB, free: 13.23 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7478/0.7481, allocations: 142.4 MB / 0.9557 GB, free: 7.629 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow): time 0.2087/0.9569, allocations: 185.9 MB / 1.137 GB, free: 4.816 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.01024/0.9672, allocations: 5.738 MB / 1.143 GB, free: 15.06 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00169/0.9689, allocations: 31.75 kB / 1.143 GB, free: 15.03 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.001832/0.9708, allocations: 0.5013 MB / 1.143 GB, free: 14.53 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.005905/0.9767, allocations: 1.743 MB / 1.145 GB, free: 12.78 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.003934/0.9806, allocations: 1.084 MB / 1.146 GB, free: 11.7 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.006197/0.9868, allocations: 4.088 MB / 1.15 GB, free: 7.605 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001911/0.9888, allocations: 0.7757 MB / 1.151 GB, free: 6.82 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002695/0.9915, allocations: 0.8672 MB / 1.152 GB, free: 5.949 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00268/0.9942, allocations: 0.9137 MB / 1.153 GB, free: 5.035 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 0.0003281/0.9946, allocations: 44 kB / 1.153 GB, free: 4.992 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003825/0.9984, allocations: 1.625 MB / 1.154 GB, free: 3.363 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.0007482/0.9992, allocations: 382.8 kB / 1.155 GB, free: 2.988 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.001386/1.001, allocations: 0.6042 MB / 1.155 GB, free: 2.375 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.002667/1.003, allocations: 1.574 MB / 1.157 GB, free: 0.7969 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 5.992e-06/1.003, allocations: 0 / 1.157 GB, free: 0.7969 MB / 0.9044 GB Notification: Performance of FrontEnd: time 2.875e-06/1.003, allocations: 0 / 1.157 GB, free: 0.7969 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 6.711e-05/1.003, allocations: 0 / 1.157 GB, free: 0.7969 MB / 0.9044 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.003061/1.006, allocations: 1.278 MB / 1.158 GB, free: 15.46 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 5.086e-05/1.006, allocations: 15.97 kB / 1.158 GB, free: 15.45 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002379/1.009, allocations: 318.2 kB / 1.158 GB, free: 15.14 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001781/1.011, allocations: 0.8084 MB / 1.159 GB, free: 14.29 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.318e-05/1.011, allocations: 70 kB / 1.159 GB, free: 14.22 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002174/1.011, allocations: 84 kB / 1.159 GB, free: 14.14 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001963/1.013, allocations: 0.9247 MB / 1.16 GB, free: 13.2 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.35e-05/1.013, allocations: 0 / 1.16 GB, free: 13.2 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001077/1.013, allocations: 36 kB / 1.16 GB, free: 13.17 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.94e-05/1.013, allocations: 33.98 kB / 1.16 GB, free: 13.13 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001658/1.015, allocations: 0.8393 MB / 1.161 GB, free: 12.3 MB / 0.92 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.007177/1.022, allocations: 3.548 MB / 1.164 GB, free: 8.523 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009331/1.023, allocations: 0.5042 MB / 1.165 GB, free: 8.008 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005441/1.024, allocations: 302 kB / 1.165 GB, free: 7.711 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002284/1.024, allocations: 105.5 kB / 1.165 GB, free: 7.59 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.508e-05/1.024, allocations: 39 kB / 1.165 GB, free: 7.543 MB / 0.92 GB Notification: Performance of pre-optimization done (n=47): time 3.416e-06/1.024, allocations: 0 / 1.165 GB, free: 7.543 MB / 0.92 GB Notification: Performance of matching and sorting (n=49): time 0.004767/1.029, allocations: 1.95 MB / 1.167 GB, free: 5.496 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.022e-05/1.029, allocations: 55.84 kB / 1.167 GB, free: 5.43 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001254/1.03, allocations: 0.8097 MB / 1.168 GB, free: 4.609 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 9.438e-05/1.03, allocations: 37.7 kB / 1.168 GB, free: 4.566 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004367/1.031, allocations: 471.3 kB / 1.169 GB, free: 4.102 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002027/1.031, allocations: 173.6 kB / 1.169 GB, free: 3.93 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001055/1.031, allocations: 53.69 kB / 1.169 GB, free: 3.871 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001397/1.031, allocations: 333.8 kB / 1.169 GB, free: 3.539 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004898/1.032, allocations: 245.2 kB / 1.169 GB, free: 3.297 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005774/1.032, allocations: 365.2 kB / 1.17 GB, free: 2.906 MB / 0.92 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.003993/1.036, allocations: 1.561 MB / 1.171 GB, free: 1.293 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.268e-06/1.036, allocations: 0 / 1.171 GB, free: 1.293 MB / 0.92 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.001577/1.038, allocations: 0.7962 MB / 1.172 GB, free: 492 kB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 2.447e-05/1.038, allocations: 4.344 kB / 1.172 GB, free: 488 kB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.239e-05/1.038, allocations: 8 kB / 1.172 GB, free: 480 kB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003176/1.038, allocations: 93.66 kB / 1.172 GB, free: 380 kB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006808/1.039, allocations: 159.8 kB / 1.172 GB, free: 220 kB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003197/1.042, allocations: 3.055 MB / 1.175 GB, free: 12.9 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001171/1.043, allocations: 63.8 kB / 1.175 GB, free: 12.84 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.391e-05/1.043, allocations: 20 kB / 1.175 GB, free: 12.82 MB / 0.9356 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 (not torn): 0 * Torn equation systems: 2 * 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): 2 systems {(1,4), (1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.000673/1.044, allocations: 300.8 kB / 1.176 GB, free: 12.52 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002908/1.044, allocations: 102.8 kB / 1.176 GB, free: 12.41 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002705/1.045, allocations: 100.7 kB / 1.176 GB, free: 12.31 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.78e-06/1.045, allocations: 4 kB / 1.176 GB, free: 12.31 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.696e-06/1.045, allocations: 4 kB / 1.176 GB, free: 12.3 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001258/1.046, allocations: 0.8544 MB / 1.177 GB, free: 11.36 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003464/1.049, allocations: 1.802 MB / 1.178 GB, free: 9.457 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.861e-06/1.049, allocations: 416 / 1.178 GB, free: 9.457 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006417/1.05, allocations: 151.7 kB / 1.179 GB, free: 9.309 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002423/1.05, allocations: 68.81 kB / 1.179 GB, free: 9.238 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.376e-05/1.05, allocations: 15.98 kB / 1.179 GB, free: 9.223 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001747/1.052, allocations: 1.652 MB / 1.18 GB, free: 7.434 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.96e-06/1.052, allocations: 4 kB / 1.18 GB, free: 7.43 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001849/1.054, allocations: 1.084 MB / 1.181 GB, free: 6.289 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005769/1.055, allocations: 243.9 kB / 1.182 GB, free: 6.031 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001951/1.055, allocations: 11.98 kB / 1.182 GB, free: 6.02 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000949/1.056, allocations: 69.58 kB / 1.182 GB, free: 5.953 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001186/1.056, allocations: 43.89 kB / 1.182 GB, free: 5.91 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.053e-05/1.056, allocations: 27.98 kB / 1.182 GB, free: 5.883 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.000905/1.057, allocations: 0.5654 MB / 1.182 GB, free: 5.324 MB / 0.9356 GB Notification: Performance of sort global known variables: time 4.61e-07/1.057, allocations: 0 / 1.182 GB, free: 5.324 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.001164/1.058, allocations: 284 kB / 1.183 GB, free: 5.047 MB / 0.9356 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 (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.0005277/1.059, allocations: 190.5 kB / 1.183 GB, free: 4.859 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.001572/1.06, allocations: 0.8038 MB / 1.184 GB, free: 4.027 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 5.741e-06/1.06, allocations: 0.6875 kB / 1.184 GB, free: 4.027 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0006761/1.061, allocations: 422.8 kB / 1.184 GB, free: 3.602 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003556/1.064, allocations: 0.5853 MB / 1.184 GB, free: 3.027 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003844/1.068, allocations: 2.315 MB / 1.187 GB, free: 0.6328 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008891/1.069, allocations: 1.087 MB / 1.188 GB, free: 15.52 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000281/1.07, allocations: 71.38 kB / 1.188 GB, free: 15.45 MB / 0.9512 GB Notification: Performance of SimCode: time 8.71e-07/1.07, allocations: 0 / 1.188 GB, free: 15.45 MB / 0.9512 GB Notification: Performance of Templates: time 0.03501/1.105, allocations: 21.76 MB / 1.209 GB, free: 9.805 MB / 0.9669 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","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "" Variables in the reference:time,volDyn.ports[1].m_flow,gain.y,volDyn.T,volSte.T Variables in the result:gain.y,time,volDyn.T,volDyn.ports[1].m_flow,volSte.T