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.001072/0.001072, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001773/0.001773, allocations: 190.8 kB / 16.25 MB, free: 6.637 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.414/1.414, allocations: 222.9 MB / 239.9 MB, free: 4.523 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.396/2.396, allocations: 390.2 MB / 0.6643 GB, free: 0.543 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001437/0.001437, allocations: 59.91 kB / 0.812 GB, free: 14.77 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7882/0.7897, allocations: 140.4 MB / 0.9491 GB, free: 9.07 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow): time 0.2222/1.012, allocations: 188.1 MB / 1.133 GB, free: 5.273 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.0133/1.025, allocations: 5.703 MB / 1.138 GB, free: 15.55 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001984/1.027, allocations: 39.75 kB / 1.138 GB, free: 15.52 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.001759/1.029, allocations: 0.5053 MB / 1.139 GB, free: 15.01 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.005364/1.035, allocations: 1.735 MB / 1.141 GB, free: 13.27 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.003398/1.038, allocations: 1.091 MB / 1.142 GB, free: 12.18 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.00439/1.042, allocations: 2.947 MB / 1.145 GB, free: 9.23 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001767/1.044, allocations: 0.9303 MB / 1.145 GB, free: 8.289 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002635/1.047, allocations: 1.055 MB / 1.146 GB, free: 7.23 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002742/1.05, allocations: 0.9745 MB / 1.147 GB, free: 6.258 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 0.0004134/1.05, allocations: 108 kB / 1.148 GB, free: 6.152 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003636/1.054, allocations: 1.5 MB / 1.149 GB, free: 4.648 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.0008369/1.055, allocations: 466.8 kB / 1.149 GB, free: 4.191 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.001668/1.056, allocations: 0.6572 MB / 1.15 GB, free: 3.531 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.00456/1.061, allocations: 2.22 MB / 1.152 GB, free: 1.305 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 8.566e-06/1.061, allocations: 0 / 1.152 GB, free: 1.305 MB / 0.9044 GB Notification: Performance of FrontEnd: time 2.295e-06/1.061, allocations: 0 / 1.152 GB, free: 1.305 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 8.643e-05/1.061, allocations: 0 / 1.152 GB, free: 1.305 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.00411/1.065, allocations: 1.519 MB / 1.154 GB, free: 15.73 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 4.461e-05/1.065, allocations: 12.03 kB / 1.154 GB, free: 15.72 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002402/1.068, allocations: 318.3 kB / 1.154 GB, free: 15.41 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001494/1.069, allocations: 0.8046 MB / 1.155 GB, free: 14.56 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.112e-05/1.069, allocations: 66 kB / 1.155 GB, free: 14.49 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001255/1.069, allocations: 80 kB / 1.155 GB, free: 14.41 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001729/1.071, allocations: 0.9284 MB / 1.156 GB, free: 13.48 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.728e-05/1.071, allocations: 3.906 kB / 1.156 GB, free: 13.48 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.14e-05/1.071, allocations: 36 kB / 1.156 GB, free: 13.44 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.04e-05/1.071, allocations: 34 kB / 1.156 GB, free: 13.41 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001453/1.073, allocations: 0.8276 MB / 1.157 GB, free: 12.58 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.005521/1.078, allocations: 3.524 MB / 1.16 GB, free: 8.836 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007684/1.079, allocations: 0.4886 MB / 1.161 GB, free: 8.336 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000456/1.079, allocations: 302 kB / 1.161 GB, free: 8.039 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000194/1.08, allocations: 101.5 kB / 1.161 GB, free: 7.922 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.531e-05/1.08, allocations: 39 kB / 1.161 GB, free: 7.875 MB / 0.92 GB Notification: Performance of pre-optimization done (n=47): time 2.164e-06/1.08, allocations: 4 kB / 1.161 GB, free: 7.871 MB / 0.92 GB Notification: Performance of matching and sorting (n=49): time 0.004269/1.084, allocations: 1.915 MB / 1.163 GB, free: 5.859 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.007e-05/1.084, allocations: 55.84 kB / 1.163 GB, free: 5.793 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001037/1.085, allocations: 0.8097 MB / 1.164 GB, free: 4.973 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 5.567e-05/1.085, allocations: 37.7 kB / 1.164 GB, free: 4.93 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.000346/1.085, allocations: 467.4 kB / 1.164 GB, free: 4.465 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001617/1.086, allocations: 173.5 kB / 1.164 GB, free: 4.293 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001964/1.086, allocations: 118.2 kB / 1.165 GB, free: 4.172 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001231/1.086, allocations: 329.9 kB / 1.165 GB, free: 3.844 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004383/1.086, allocations: 245.2 kB / 1.165 GB, free: 3.602 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005136/1.087, allocations: 353.2 kB / 1.165 GB, free: 3.223 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.003698/1.091, allocations: 1.538 MB / 1.167 GB, free: 1.633 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.775e-06/1.091, allocations: 0 / 1.167 GB, free: 1.633 MB / 0.92 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.00144/1.092, allocations: 0.7848 MB / 1.168 GB, free: 0.832 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 2.049e-05/1.092, allocations: 11.98 kB / 1.168 GB, free: 0.8203 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.919e-06/1.092, allocations: 4 kB / 1.168 GB, free: 0.8164 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003124/1.093, allocations: 93.64 kB / 1.168 GB, free: 0.7188 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006785/1.093, allocations: 151.8 kB / 1.168 GB, free: 0.5703 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003109/1.096, allocations: 3.306 MB / 1.171 GB, free: 12.99 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009977/1.097, allocations: 67.73 kB / 1.171 GB, free: 12.92 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.361e-05/1.097, allocations: 24 kB / 1.171 GB, free: 12.9 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.0005259/1.098, allocations: 302.2 kB / 1.172 GB, free: 12.59 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001537/1.098, allocations: 90.97 kB / 1.172 GB, free: 12.5 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001867/1.098, allocations: 100.7 kB / 1.172 GB, free: 12.41 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.278e-06/1.098, allocations: 7.938 kB / 1.172 GB, free: 12.4 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.781e-06/1.098, allocations: 0 / 1.172 GB, free: 12.4 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001053/1.099, allocations: 0.8465 MB / 1.173 GB, free: 11.46 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002826/1.102, allocations: 1.786 MB / 1.174 GB, free: 9.574 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.022e-06/1.102, allocations: 4 kB / 1.174 GB, free: 9.57 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006197/1.103, allocations: 136.2 kB / 1.174 GB, free: 9.438 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002306/1.103, allocations: 64.81 kB / 1.175 GB, free: 9.371 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.993e-05/1.103, allocations: 15.98 kB / 1.175 GB, free: 9.355 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001732/1.105, allocations: 1.781 MB / 1.176 GB, free: 7.43 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.188e-06/1.105, allocations: 8.062 kB / 1.176 GB, free: 7.422 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001649/1.107, allocations: 1.073 MB / 1.177 GB, free: 6.293 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000404/1.107, allocations: 235.9 kB / 1.178 GB, free: 6.043 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000113/1.107, allocations: 12 kB / 1.178 GB, free: 6.031 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008064/1.108, allocations: 70.2 kB / 1.178 GB, free: 5.965 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001095/1.108, allocations: 43.88 kB / 1.178 GB, free: 5.922 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.569e-05/1.108, allocations: 27.98 kB / 1.178 GB, free: 5.895 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.0007265/1.109, allocations: 0.5654 MB / 1.178 GB, free: 5.332 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.533e-06/1.109, allocations: 0 / 1.178 GB, free: 5.332 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0009847/1.11, allocations: 291.9 kB / 1.179 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.0005914/1.11, allocations: 182.3 kB / 1.179 GB, free: 4.867 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.001687/1.112, allocations: 0.8596 MB / 1.18 GB, free: 3.977 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 5.059e-06/1.112, allocations: 0 / 1.18 GB, free: 3.977 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0006402/1.113, allocations: 422.4 kB / 1.18 GB, free: 3.551 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002718/1.116, allocations: 0.6024 MB / 1.181 GB, free: 2.973 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003376/1.119, allocations: 2.179 MB / 1.183 GB, free: 0.7227 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007616/1.12, allocations: 1.087 MB / 1.184 GB, free: 15.61 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 0.0009278/1.121, allocations: 219.7 kB / 1.184 GB, free: 15.39 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001941/1.121, allocations: 67.44 kB / 1.184 GB, free: 15.32 MB / 0.9512 GB Notification: Performance of SimCode: time 9.42e-07/1.121, allocations: 0 / 1.184 GB, free: 15.32 MB / 0.9512 GB Notification: Performance of Templates: time 0.03701/1.158, allocations: 20.43 MB / 1.204 GB, free: 11.2 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