Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate.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.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volDyn.ports.1..m_flow|gain.y|volDyn.T|volSte.T",fileNamePrefix="Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate") translateModel(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volDyn.ports.1..m_flow|gain.y|volDyn.T|volSte.T",fileNamePrefix="Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.009319/0.00932, allocations: 101.3 kB / 15.88 MB, free: 5.867 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.001435/0.001435, allocations: 193.8 kB / 16.79 MB, free: 5.809 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.497/1.497, allocations: 222.9 MB / 240.5 MB, free: 4.555 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.355/2.355, allocations: 390.3 MB / 0.6649 GB, free: 0.582 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001546/0.001546, allocations: 63.91 kB / 0.8125 GB, free: 14.87 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6698/0.6714, allocations: 140.4 MB / 0.9496 GB, free: 9.117 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate): time 0.2103/0.8817, allocations: 188.4 MB / 1.134 GB, free: 5.078 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.01009/0.8919, allocations: 5.795 MB / 1.139 GB, free: 15.27 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001683/0.8936, allocations: 35.75 kB / 1.139 GB, free: 15.23 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.001959/0.8956, allocations: 0.4975 MB / 1.14 GB, free: 14.73 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.005312/0.9009, allocations: 1.529 MB / 1.141 GB, free: 13.2 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.003783/0.9048, allocations: 1.092 MB / 1.142 GB, free: 12.11 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.004747/0.9095, allocations: 3.534 MB / 1.146 GB, free: 8.574 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001488/0.911, allocations: 0.7483 MB / 1.146 GB, free: 7.812 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002419/0.9135, allocations: 0.9141 MB / 1.147 GB, free: 6.895 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00251/0.916, allocations: 0.8301 MB / 1.148 GB, free: 6.066 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 0.0003438/0.9164, allocations: 56 kB / 1.148 GB, free: 6.012 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00375/0.9201, allocations: 1.722 MB / 1.15 GB, free: 4.285 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.000633/0.9208, allocations: 370.8 kB / 1.15 GB, free: 3.922 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.001253/0.9221, allocations: 0.5325 MB / 1.151 GB, free: 3.387 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.002554/0.9246, allocations: 1.501 MB / 1.152 GB, free: 1.883 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 6.051e-06/0.9247, allocations: 0 / 1.152 GB, free: 1.883 MB / 0.9044 GB Notification: Performance of FrontEnd: time 1.472e-06/0.9247, allocations: 0 / 1.152 GB, free: 1.883 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 5.692e-05/0.9247, allocations: 0 / 1.152 GB, free: 1.883 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: 187 * Number of variables: 187 Notification: Performance of Generate backend data structure: time 0.003104/0.9278, allocations: 1.437 MB / 1.154 GB, free: 404 kB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 4.848e-05/0.9279, allocations: 12.03 kB / 1.154 GB, free: 392 kB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002911/0.9308, allocations: 414.3 kB / 1.154 GB, free: 15.97 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001657/0.9325, allocations: 0.7648 MB / 1.155 GB, free: 15.16 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003575/0.9329, allocations: 109.9 kB / 1.155 GB, free: 15.06 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001954/0.9331, allocations: 72 kB / 1.155 GB, free: 14.99 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002199/0.9353, allocations: 1.002 MB / 1.156 GB, free: 13.96 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.48e-05/0.9353, allocations: 4 kB / 1.156 GB, free: 13.96 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001153/0.9355, allocations: 36 kB / 1.156 GB, free: 13.93 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.721e-05/0.9355, allocations: 26 kB / 1.156 GB, free: 13.9 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002021/0.9375, allocations: 0.8822 MB / 1.157 GB, free: 13.02 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.006697/0.9442, allocations: 3.516 MB / 1.16 GB, free: 9.316 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001634/0.9459, allocations: 0.618 MB / 1.161 GB, free: 8.691 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007837/0.9467, allocations: 341.3 kB / 1.161 GB, free: 8.355 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000188/0.9469, allocations: 97.75 kB / 1.161 GB, free: 8.242 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.509e-05/0.947, allocations: 42.56 kB / 1.161 GB, free: 8.191 MB / 0.92 GB Notification: Performance of pre-optimization done (n=39): time 3.417e-06/0.947, allocations: 0 / 1.161 GB, free: 8.191 MB / 0.92 GB Notification: Performance of matching and sorting (n=41): time 0.008519/0.9555, allocations: 2.424 MB / 1.164 GB, free: 5.688 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.467e-05/0.9556, allocations: 55.41 kB / 1.164 GB, free: 5.621 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001088/0.9567, allocations: 0.8018 MB / 1.165 GB, free: 4.812 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 0.0001053/0.9568, allocations: 33.7 kB / 1.165 GB, free: 4.773 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003821/0.9572, allocations: 455.6 kB / 1.165 GB, free: 4.32 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 0.000174/0.9574, allocations: 145.9 kB / 1.165 GB, free: 4.176 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002042/0.9576, allocations: 102.2 kB / 1.165 GB, free: 4.07 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001144/0.9577, allocations: 326 kB / 1.166 GB, free: 3.746 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008151/0.9585, allocations: 308.9 kB / 1.166 GB, free: 3.441 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008753/0.9594, allocations: 416.1 kB / 1.166 GB, free: 3 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.005356/0.9648, allocations: 1.898 MB / 1.168 GB, free: 1.051 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.332e-06/0.9648, allocations: 0 / 1.168 GB, free: 1.051 MB / 0.92 GB Notification: Performance of matching and sorting (n=63) (initialization): time 0.0033/0.9681, allocations: 1.054 MB / 1.169 GB, free: 15.98 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 2.349e-05/0.9681, allocations: 12.09 kB / 1.169 GB, free: 15.97 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.926e-06/0.9682, allocations: 0 / 1.169 GB, free: 15.97 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005872/0.9688, allocations: 180.7 kB / 1.169 GB, free: 15.79 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007318/0.9695, allocations: 151.8 kB / 1.169 GB, free: 15.64 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003855/0.9734, allocations: 2.082 MB / 1.172 GB, free: 13.44 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001143/0.9745, allocations: 83.89 kB / 1.172 GB, free: 13.36 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.98e-05/0.9746, allocations: 20 kB / 1.172 GB, free: 13.34 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 (59): * Single equations (assignments): 58 * 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 prepare postOptimizeDAE: time 0.0005415/0.9752, allocations: 276.7 kB / 1.172 GB, free: 13.06 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002526/0.9754, allocations: 83.06 kB / 1.172 GB, free: 12.98 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002348/0.9757, allocations: 104.2 kB / 1.172 GB, free: 12.87 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.809e-06/0.9757, allocations: 8 kB / 1.172 GB, free: 12.86 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.157e-06/0.9757, allocations: 0 / 1.172 GB, free: 12.86 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00292/0.9786, allocations: 0.9029 MB / 1.173 GB, free: 11.93 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005702/0.9844, allocations: 2.118 MB / 1.175 GB, free: 9.707 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.334e-06/0.9844, allocations: 0 / 1.175 GB, free: 9.707 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00065/0.985, allocations: 127.8 kB / 1.175 GB, free: 9.582 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005453/0.9856, allocations: 188.8 kB / 1.175 GB, free: 9.395 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.201e-05/0.9857, allocations: 15.92 kB / 1.175 GB, free: 9.379 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003479/0.9892, allocations: 2.038 MB / 1.177 GB, free: 7.203 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.603e-06/0.9892, allocations: 7.938 kB / 1.177 GB, free: 7.195 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004122/0.9933, allocations: 1.423 MB / 1.179 GB, free: 5.711 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005857/0.9939, allocations: 240 kB / 1.179 GB, free: 5.457 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002181/0.9942, allocations: 16 kB / 1.179 GB, free: 5.441 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00111/0.9953, allocations: 85.89 kB / 1.179 GB, free: 5.359 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001225/0.9954, allocations: 43.77 kB / 1.179 GB, free: 5.316 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.205e-05/0.9955, allocations: 31.98 kB / 1.179 GB, free: 5.285 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.0008825/0.9964, allocations: 0.5614 MB / 1.18 GB, free: 4.727 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.2e-07/0.9964, allocations: 0 / 1.18 GB, free: 4.727 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.00117/0.9976, allocations: 272 kB / 1.18 GB, free: 4.461 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 (37): * Single equations (assignments): 36 * 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.0005847/0.9982, allocations: 213.8 kB / 1.18 GB, free: 4.254 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.00214/1, allocations: 0.8137 MB / 1.181 GB, free: 3.426 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 8.777e-06/1, allocations: 8 kB / 1.181 GB, free: 3.418 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.001013/1.001, allocations: 459 kB / 1.181 GB, free: 2.957 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002738/1.004, allocations: 0.5348 MB / 1.182 GB, free: 2.434 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004833/1.009, allocations: 2.287 MB / 1.184 GB, free: 76 kB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006956/1.01, allocations: 1.04 MB / 1.185 GB, free: 15 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003025/1.01, allocations: 75.42 kB / 1.185 GB, free: 14.93 MB / 0.9512 GB Notification: Performance of SimCode: time 5.41e-07/1.01, allocations: 0 / 1.185 GB, free: 14.93 MB / 0.9512 GB Notification: Performance of Templates: time 0.02723/1.037, allocations: 18.89 MB / 1.204 GB, free: 12.18 MB / 0.9669 GB make -j1 -f Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate.makefile (rm -f Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate.pipe ; mkfifo Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate.pipe >> ../files/Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate.sim & ./Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_MixingVolumes_Validation_MixingVolumeHeatReverseFlowPrescribedHeatFlowRate.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches