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.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.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.001086/0.001086, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001311/0.001312, allocations: 195.7 kB / 16.14 MB, free: 6.691 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.409/1.409, allocations: 222.9 MB / 239.8 MB, free: 4.609 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.362/2.362, allocations: 390.2 MB / 0.6642 GB, free: 0.6484 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001221/0.001221, allocations: 71.91 kB / 0.8119 GB, free: 14.9 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7878/0.789, allocations: 140.3 MB / 0.9489 GB, free: 9.211 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow): time 0.2279/1.017, allocations: 188.4 MB / 1.133 GB, free: 5.129 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.01038/1.027, allocations: 5.79 MB / 1.139 GB, free: 15.32 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00187/1.029, allocations: 39.75 kB / 1.139 GB, free: 15.28 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.001918/1.031, allocations: 0.4935 MB / 1.139 GB, free: 14.79 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.005697/1.037, allocations: 1.743 MB / 1.141 GB, free: 13.04 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.003348/1.04, allocations: 1.078 MB / 1.142 GB, free: 11.96 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.005329/1.046, allocations: 4.09 MB / 1.146 GB, free: 7.867 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001451/1.047, allocations: 0.8042 MB / 1.147 GB, free: 7.051 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002212/1.049, allocations: 0.9062 MB / 1.147 GB, free: 6.141 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002527/1.052, allocations: 0.9352 MB / 1.148 GB, free: 5.207 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 0.0003035/1.052, allocations: 52 kB / 1.148 GB, free: 5.156 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003756/1.056, allocations: 1.636 MB / 1.15 GB, free: 3.516 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.0007445/1.057, allocations: 410.8 kB / 1.15 GB, free: 3.113 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.001349/1.058, allocations: 0.5948 MB / 1.151 GB, free: 2.516 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.003893/1.062, allocations: 2.169 MB / 1.153 GB, free: 348 kB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 4.098e-06/1.062, allocations: 0 / 1.153 GB, free: 348 kB / 0.9044 GB Notification: Performance of FrontEnd: time 1.202e-06/1.062, allocations: 0 / 1.153 GB, free: 348 kB / 0.9044 GB Notification: Performance of Transformations before backend: time 5.698e-05/1.062, allocations: 0 / 1.153 GB, free: 348 kB / 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.00331/1.065, allocations: 1.517 MB / 1.155 GB, free: 14.77 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 4.226e-05/1.066, allocations: 8.031 kB / 1.155 GB, free: 14.76 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00229/1.068, allocations: 314.3 kB / 1.155 GB, free: 14.45 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00147/1.069, allocations: 0.8124 MB / 1.156 GB, free: 13.6 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.983e-05/1.069, allocations: 65.98 kB / 1.156 GB, free: 13.54 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001484/1.07, allocations: 83.91 kB / 1.156 GB, free: 13.45 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001833/1.071, allocations: 0.9286 MB / 1.157 GB, free: 12.52 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.422e-05/1.071, allocations: 0 / 1.157 GB, free: 12.52 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001002/1.072, allocations: 43.92 kB / 1.157 GB, free: 12.47 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.887e-05/1.072, allocations: 30 kB / 1.157 GB, free: 12.44 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001554/1.073, allocations: 0.8315 MB / 1.158 GB, free: 11.61 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.006109/1.079, allocations: 3.513 MB / 1.161 GB, free: 7.879 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008827/1.08, allocations: 0.5003 MB / 1.162 GB, free: 7.367 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004692/1.081, allocations: 295.2 kB / 1.162 GB, free: 7.078 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001982/1.081, allocations: 113.5 kB / 1.162 GB, free: 6.949 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.786e-05/1.081, allocations: 42.94 kB / 1.162 GB, free: 6.898 MB / 0.92 GB Notification: Performance of pre-optimization done (n=47): time 2.185e-06/1.081, allocations: 0 / 1.162 GB, free: 6.898 MB / 0.92 GB Notification: Performance of matching and sorting (n=49): time 0.004973/1.086, allocations: 1.915 MB / 1.164 GB, free: 4.887 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.999e-05/1.086, allocations: 59.84 kB / 1.164 GB, free: 4.816 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001133/1.087, allocations: 0.8019 MB / 1.165 GB, free: 4.004 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 6.998e-05/1.087, allocations: 37.7 kB / 1.165 GB, free: 3.961 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004328/1.088, allocations: 471.4 kB / 1.165 GB, free: 3.496 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001882/1.088, allocations: 177.5 kB / 1.165 GB, free: 3.32 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002059/1.088, allocations: 114.2 kB / 1.165 GB, free: 3.203 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001439/1.088, allocations: 333.9 kB / 1.166 GB, free: 2.871 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004957/1.089, allocations: 245.2 kB / 1.166 GB, free: 2.629 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000613/1.089, allocations: 353.2 kB / 1.166 GB, free: 2.25 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.003879/1.093, allocations: 1.534 MB / 1.168 GB, free: 0.6641 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.469e-06/1.093, allocations: 0 / 1.168 GB, free: 0.6641 MB / 0.92 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.001562/1.095, allocations: 0.7767 MB / 1.169 GB, free: 15.87 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 2.328e-05/1.095, allocations: 8 kB / 1.169 GB, free: 15.86 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.263e-05/1.095, allocations: 4 kB / 1.169 GB, free: 15.86 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003364/1.095, allocations: 102 kB / 1.169 GB, free: 15.75 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006791/1.096, allocations: 139.8 kB / 1.169 GB, free: 15.62 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003221/1.099, allocations: 3.071 MB / 1.172 GB, free: 12.29 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001003/1.1, allocations: 63.77 kB / 1.172 GB, free: 12.22 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.69e-05/1.1, allocations: 20 kB / 1.172 GB, free: 12.2 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 system: 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.0005501/1.101, allocations: 301.6 kB / 1.172 GB, free: 11.9 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002195/1.101, allocations: 90.91 kB / 1.172 GB, free: 11.81 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002803/1.101, allocations: 100.7 kB / 1.172 GB, free: 11.7 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.161e-06/1.101, allocations: 8 kB / 1.172 GB, free: 11.7 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.949e-06/1.101, allocations: 0 / 1.172 GB, free: 11.7 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001121/1.102, allocations: 0.8388 MB / 1.173 GB, free: 10.77 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003273/1.106, allocations: 1.798 MB / 1.175 GB, free: 8.867 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.973e-06/1.106, allocations: 4 kB / 1.175 GB, free: 8.863 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006386/1.106, allocations: 124.2 kB / 1.175 GB, free: 8.742 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002355/1.107, allocations: 76.69 kB / 1.175 GB, free: 8.664 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.697e-05/1.107, allocations: 12 kB / 1.175 GB, free: 8.652 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001728/1.108, allocations: 1.663 MB / 1.177 GB, free: 6.855 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.426e-06/1.108, allocations: 0 / 1.177 GB, free: 6.855 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001689/1.11, allocations: 1.072 MB / 1.178 GB, free: 5.727 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004596/1.111, allocations: 236 kB / 1.178 GB, free: 5.477 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001576/1.111, allocations: 12 kB / 1.178 GB, free: 5.465 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008658/1.112, allocations: 67.56 kB / 1.178 GB, free: 5.402 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001171/1.112, allocations: 51.81 kB / 1.178 GB, free: 5.352 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.169e-05/1.112, allocations: 27.98 kB / 1.178 GB, free: 5.324 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.0007727/1.113, allocations: 0.5576 MB / 1.179 GB, free: 4.773 MB / 0.9356 GB Notification: Performance of sort global known variables: time 2.2e-07/1.113, allocations: 0 / 1.179 GB, free: 4.773 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.001043/1.114, allocations: 288 kB / 1.179 GB, free: 4.492 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.0004864/1.114, allocations: 191.1 kB / 1.179 GB, free: 4.305 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.00142/1.116, allocations: 0.7921 MB / 1.18 GB, free: 3.48 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 5.661e-06/1.116, allocations: 4 kB / 1.18 GB, free: 3.477 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.000612/1.116, allocations: 416.2 kB / 1.18 GB, free: 3.059 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002836/1.119, allocations: 0.5782 MB / 1.181 GB, free: 2.484 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003383/1.122, allocations: 2.173 MB / 1.183 GB, free: 248 kB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008145/1.123, allocations: 1.087 MB / 1.184 GB, free: 15.12 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 0.000942/1.124, allocations: 211.7 kB / 1.184 GB, free: 14.91 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002403/1.124, allocations: 67.44 kB / 1.184 GB, free: 14.85 MB / 0.9512 GB Notification: Performance of SimCode: time 3.7e-07/1.125, allocations: 4 kB / 1.184 GB, free: 14.84 MB / 0.9512 GB Notification: Performance of Templates: time 0.03501/1.16, allocations: 19.61 MB / 1.204 GB, free: 11.51 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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches