Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_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_10_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.001619/0.001619, allocations: 108 kB / 15.6 MB, free: 132 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.002114/0.002114, allocations: 194.2 kB / 16.53 MB, free: 6.391 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.51/1.51, allocations: 222.9 MB / 240.2 MB, free: 4.266 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.872/2.872, allocations: 437 MB / 0.7104 GB, free: 5.086 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.002445/0.002446, allocations: 59.91 kB / 0.8692 GB, free: 4.707 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6474/0.6499, allocations: 151.6 MB / 1.017 GB, free: 2.516 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow): time 0.2313/0.8812, allocations: 190.6 MB / 1.203 GB, free: 3.203 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.01066/0.8919, allocations: 5.732 MB / 1.209 GB, free: 13.46 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001544/0.8935, allocations: 39.81 kB / 1.209 GB, free: 13.42 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.001789/0.8954, allocations: 0.5824 MB / 1.21 GB, free: 12.84 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.005287/0.9007, allocations: 1.839 MB / 1.211 GB, free: 10.99 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.003391/0.9041, allocations: 1.186 MB / 1.213 GB, free: 9.809 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.004621/0.9087, allocations: 2.936 MB / 1.215 GB, free: 6.867 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001627/0.9104, allocations: 0.9538 MB / 1.216 GB, free: 5.898 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002251/0.9126, allocations: 1.047 MB / 1.217 GB, free: 4.848 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002201/0.9148, allocations: 0.911 MB / 1.218 GB, free: 3.938 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 0.000243/0.9151, allocations: 112 kB / 1.218 GB, free: 3.828 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003563/0.9187, allocations: 1.426 MB / 1.22 GB, free: 2.398 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.0006598/0.9194, allocations: 462.8 kB / 1.22 GB, free: 1.945 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.0009838/0.9204, allocations: 0.6495 MB / 1.221 GB, free: 1.293 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.004691/0.9251, allocations: 2.119 MB / 1.223 GB, free: 15.17 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 9.417e-06/0.9251, allocations: 3.984 kB / 1.223 GB, free: 15.16 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.783e-06/0.9251, allocations: 0 / 1.223 GB, free: 15.16 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 2.335e-05/0.9252, allocations: 4 kB / 1.223 GB, free: 15.16 MB / 0.9825 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.002951/0.9281, allocations: 1.509 MB / 1.224 GB, free: 13.6 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.61e-05/0.9282, allocations: 15.97 kB / 1.224 GB, free: 13.59 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002105/0.9303, allocations: 314.3 kB / 1.225 GB, free: 13.28 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001631/0.9319, allocations: 0.82 MB / 1.226 GB, free: 12.41 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.699e-05/0.932, allocations: 66 kB / 1.226 GB, free: 12.35 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001374/0.9322, allocations: 84 kB / 1.226 GB, free: 12.27 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001772/0.9339, allocations: 0.9131 MB / 1.227 GB, free: 11.35 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.284e-05/0.934, allocations: 0 / 1.227 GB, free: 11.35 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.229e-05/0.9341, allocations: 36 kB / 1.227 GB, free: 11.31 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.471e-05/0.9341, allocations: 37.98 kB / 1.227 GB, free: 11.28 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001559/0.9357, allocations: 0.8314 MB / 1.227 GB, free: 10.44 MB / 0.9825 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.006009/0.9417, allocations: 3.536 MB / 1.231 GB, free: 6.684 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008537/0.9426, allocations: 0.4937 MB / 1.231 GB, free: 6.184 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005112/0.9431, allocations: 295.6 kB / 1.232 GB, free: 5.895 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002017/0.9433, allocations: 105.5 kB / 1.232 GB, free: 5.773 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.778e-05/0.9434, allocations: 43 kB / 1.232 GB, free: 5.723 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=47): time 2.464e-06/0.9434, allocations: 0 / 1.232 GB, free: 5.723 MB / 0.9825 GB Notification: Performance of matching and sorting (n=49): time 0.004403/0.9478, allocations: 1.915 MB / 1.234 GB, free: 3.707 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.077e-05/0.9479, allocations: 55.84 kB / 1.234 GB, free: 3.641 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001099/0.949, allocations: 0.8097 MB / 1.235 GB, free: 2.824 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 6.452e-05/0.9491, allocations: 37.7 kB / 1.235 GB, free: 2.781 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004109/0.9495, allocations: 479.4 kB / 1.235 GB, free: 2.305 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001705/0.9497, allocations: 165.5 kB / 1.235 GB, free: 2.141 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002105/0.9499, allocations: 122.1 kB / 1.235 GB, free: 2.012 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001596/0.9501, allocations: 329.9 kB / 1.236 GB, free: 1.684 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004599/0.9505, allocations: 245.1 kB / 1.236 GB, free: 1.445 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000574/0.9511, allocations: 357.2 kB / 1.236 GB, free: 1.059 MB / 0.9825 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.003977/0.9551, allocations: 1.53 MB / 1.238 GB, free: 15.48 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.03e-06/0.9551, allocations: 4 kB / 1.238 GB, free: 15.47 MB / 0.9981 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.001474/0.9566, allocations: 0.7845 MB / 1.238 GB, free: 14.68 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.085e-05/0.9566, allocations: 7.984 kB / 1.238 GB, free: 14.67 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.654e-06/0.9566, allocations: 4 kB / 1.238 GB, free: 14.66 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003218/0.957, allocations: 102 kB / 1.239 GB, free: 14.56 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006754/0.9577, allocations: 143.8 kB / 1.239 GB, free: 14.42 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003418/0.9611, allocations: 3.299 MB / 1.242 GB, free: 10.84 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009212/0.962, allocations: 31.92 kB / 1.242 GB, free: 10.81 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.05e-05/0.9621, allocations: 20 kB / 1.242 GB, free: 10.79 MB / 0.9981 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.0005078/0.9626, allocations: 302.2 kB / 1.242 GB, free: 10.49 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001746/0.9628, allocations: 90.97 kB / 1.242 GB, free: 10.4 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001869/0.963, allocations: 100.7 kB / 1.242 GB, free: 10.3 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.071e-06/0.963, allocations: 8 kB / 1.242 GB, free: 10.29 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.018e-06/0.963, allocations: 3.938 kB / 1.242 GB, free: 10.29 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001207/0.9642, allocations: 0.8465 MB / 1.243 GB, free: 9.352 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003054/0.9673, allocations: 1.806 MB / 1.245 GB, free: 7.441 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.272e-06/0.9673, allocations: 4 kB / 1.245 GB, free: 7.438 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006371/0.9679, allocations: 123.9 kB / 1.245 GB, free: 7.316 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002429/0.9682, allocations: 73.11 kB / 1.245 GB, free: 7.242 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.74e-05/0.9682, allocations: 12 kB / 1.245 GB, free: 7.23 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001943/0.9702, allocations: 1.781 MB / 1.247 GB, free: 5.309 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.441e-05/0.9702, allocations: 7.938 kB / 1.247 GB, free: 5.301 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001841/0.9721, allocations: 1.068 MB / 1.248 GB, free: 4.176 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004537/0.9725, allocations: 235.9 kB / 1.248 GB, free: 3.926 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000119/0.9727, allocations: 15.98 kB / 1.248 GB, free: 3.91 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000696/0.9734, allocations: 31.98 kB / 1.248 GB, free: 3.879 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001162/0.9735, allocations: 47.83 kB / 1.248 GB, free: 3.832 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.564e-05/0.9736, allocations: 27.98 kB / 1.248 GB, free: 3.805 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0008028/0.9744, allocations: 0.5615 MB / 1.249 GB, free: 3.246 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.3e-07/0.9744, allocations: 4 kB / 1.249 GB, free: 3.242 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.000911/0.9753, allocations: 280 kB / 1.249 GB, free: 2.969 MB / 0.9981 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.000524/0.9758, allocations: 189.8 kB / 1.249 GB, free: 2.785 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.001569/0.9774, allocations: 0.8662 MB / 1.25 GB, free: 1.887 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 4.338e-06/0.9774, allocations: 0 / 1.25 GB, free: 1.887 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0006351/0.9781, allocations: 415.7 kB / 1.251 GB, free: 1.469 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002798/0.9809, allocations: 0.6062 MB / 1.251 GB, free: 0.8789 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.6124/1.593, allocations: 1.816 MB / 1.253 GB, free: 37.12 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008895/1.594, allocations: 1.088 MB / 1.254 GB, free: 36.41 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.001195/1.595, allocations: 214.8 kB / 1.254 GB, free: 36.4 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000252/1.596, allocations: 69.2 kB / 1.254 GB, free: 36.4 MB / 0.9981 GB Notification: Performance of SimCode: time 1.072e-06/1.596, allocations: 0 / 1.254 GB, free: 36.4 MB / 0.9981 GB Notification: Performance of Templates: time 0.04461/1.64, allocations: 20.6 MB / 1.274 GB, free: 35.74 MB / 0.9981 GB make -j1 -f Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow.makefile (rm -f Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow.pipe ; mkfifo Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow.pipe >> ../files/Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow.sim & ./Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_MixingVolumes_Validation_MixingVolumeHeatReverseFlow.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches