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.001091/0.001091, allocations: 92.39 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.001359/0.001359, allocations: 182.8 kB / 16.92 MB, free: 6.926 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.428/1.428, allocations: 223.3 MB / 241 MB, free: 5.336 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.456/2.456, allocations: 390.9 MB / 0.667 GB, free: 2.402 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0005019/0.0005021, allocations: 11.98 kB / 0.8166 GB, free: 13.25 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7135/0.714, allocations: 142.4 MB / 0.9557 GB, free: 7.613 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate): time 0.2064/0.9204, allocations: 185.9 MB / 1.137 GB, free: 4.832 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.009972/0.9305, allocations: 5.747 MB / 1.143 GB, free: 15.07 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001727/0.9322, allocations: 35.75 kB / 1.143 GB, free: 15.03 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.0018/0.9341, allocations: 0.4896 MB / 1.143 GB, free: 14.54 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.004768/0.9388, allocations: 1.54 MB / 1.145 GB, free: 13 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.003421/0.9423, allocations: 1.092 MB / 1.146 GB, free: 11.91 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.004984/0.9473, allocations: 3.541 MB / 1.149 GB, free: 8.367 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001494/0.9488, allocations: 0.7152 MB / 1.15 GB, free: 7.641 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002423/0.9513, allocations: 0.8829 MB / 1.151 GB, free: 6.754 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00223/0.9535, allocations: 0.7983 MB / 1.152 GB, free: 5.957 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 0.0002387/0.9538, allocations: 40 kB / 1.152 GB, free: 5.918 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003531/0.9573, allocations: 1.715 MB / 1.153 GB, free: 4.199 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.0006228/0.958, allocations: 350.9 kB / 1.154 GB, free: 3.855 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.001175/0.9592, allocations: 0.5342 MB / 1.154 GB, free: 3.312 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.002598/0.9618, allocations: 1.477 MB / 1.156 GB, free: 1.832 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 5.28e-06/0.9618, allocations: 0 / 1.156 GB, free: 1.832 MB / 0.9044 GB Notification: Performance of FrontEnd: time 1.804e-06/0.9618, allocations: 0 / 1.156 GB, free: 1.832 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 4.86e-05/0.9619, allocations: 0 / 1.156 GB, free: 1.832 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.002551/0.9644, allocations: 1.231 MB / 1.157 GB, free: 0.5508 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 4.638e-05/0.9645, allocations: 15.97 kB / 1.157 GB, free: 0.5352 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002959/0.9674, allocations: 438.3 kB / 1.157 GB, free: 108 kB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001686/0.9691, allocations: 0.7648 MB / 1.158 GB, free: 15.29 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003808/0.9695, allocations: 125.9 kB / 1.158 GB, free: 15.17 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001939/0.9698, allocations: 75.94 kB / 1.158 GB, free: 15.1 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002264/0.972, allocations: 1.014 MB / 1.159 GB, free: 14.06 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.917e-05/0.9721, allocations: 3.906 kB / 1.159 GB, free: 14.06 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000107/0.9722, allocations: 32 kB / 1.159 GB, free: 14.03 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.41e-05/0.9722, allocations: 30 kB / 1.159 GB, free: 14 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002224/0.9745, allocations: 0.9134 MB / 1.16 GB, free: 13.08 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.007281/0.9818, allocations: 3.536 MB / 1.164 GB, free: 9.359 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001852/0.9837, allocations: 0.6585 MB / 1.164 GB, free: 8.695 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008584/0.9845, allocations: 351.2 kB / 1.165 GB, free: 8.352 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002097/0.9848, allocations: 105.4 kB / 1.165 GB, free: 8.23 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.874e-05/0.9848, allocations: 47.2 kB / 1.165 GB, free: 8.176 MB / 0.92 GB Notification: Performance of pre-optimization done (n=39): time 4.538e-06/0.9849, allocations: 4 kB / 1.165 GB, free: 8.172 MB / 0.92 GB Notification: Performance of matching and sorting (n=41): time 0.009126/0.994, allocations: 2.529 MB / 1.167 GB, free: 5.562 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.746e-05/0.9941, allocations: 59.41 kB / 1.167 GB, free: 5.492 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001368/0.9955, allocations: 0.7941 MB / 1.168 GB, free: 4.691 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 0.0001417/0.9956, allocations: 37.7 kB / 1.168 GB, free: 4.648 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004878/0.9961, allocations: 447.7 kB / 1.169 GB, free: 4.203 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002289/0.9964, allocations: 145.9 kB / 1.169 GB, free: 4.059 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001224/0.9965, allocations: 45.69 kB / 1.169 GB, free: 4.008 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001418/0.9966, allocations: 326 kB / 1.169 GB, free: 3.684 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001257/0.9979, allocations: 320.9 kB / 1.169 GB, free: 3.371 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001343/0.9993, allocations: 432.1 kB / 1.17 GB, free: 2.91 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.006136/1.005, allocations: 1.98 MB / 1.172 GB, free: 0.8789 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.02e-06/1.005, allocations: 0 / 1.172 GB, free: 0.8789 MB / 0.92 GB Notification: Performance of matching and sorting (n=63) (initialization): time 0.003719/1.009, allocations: 1.101 MB / 1.173 GB, free: 15.77 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 3.508e-05/1.009, allocations: 10.19 kB / 1.173 GB, free: 15.76 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.181e-05/1.009, allocations: 0 / 1.173 GB, free: 15.76 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006869/1.01, allocations: 196.7 kB / 1.173 GB, free: 15.56 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008001/1.011, allocations: 163.8 kB / 1.173 GB, free: 15.4 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004265/1.015, allocations: 2.108 MB / 1.175 GB, free: 13.16 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001293/1.016, allocations: 87.77 kB / 1.175 GB, free: 13.08 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001123/1.017, allocations: 23.94 kB / 1.175 GB, free: 13.05 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 (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.0006288/1.017, allocations: 285.6 kB / 1.176 GB, free: 12.77 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002535/1.017, allocations: 90.91 kB / 1.176 GB, free: 12.68 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002589/1.018, allocations: 96.23 kB / 1.176 GB, free: 12.58 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.352e-06/1.018, allocations: 7.938 kB / 1.176 GB, free: 12.57 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.851e-06/1.018, allocations: 0 / 1.176 GB, free: 12.57 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003179/1.021, allocations: 0.9458 MB / 1.177 GB, free: 11.59 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006207/1.027, allocations: 2.173 MB / 1.179 GB, free: 9.316 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.311e-05/1.027, allocations: 4 kB / 1.179 GB, free: 9.312 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006912/1.028, allocations: 140.2 kB / 1.179 GB, free: 9.176 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006044/1.029, allocations: 196.7 kB / 1.179 GB, free: 8.98 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.275e-05/1.029, allocations: 19.94 kB / 1.179 GB, free: 8.961 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003836/1.032, allocations: 2.061 MB / 1.181 GB, free: 6.77 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.045e-06/1.032, allocations: 12 kB / 1.181 GB, free: 6.758 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004402/1.037, allocations: 1.49 MB / 1.183 GB, free: 5.207 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006135/1.037, allocations: 236 kB / 1.183 GB, free: 4.957 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002073/1.038, allocations: 12 kB / 1.183 GB, free: 4.945 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001112/1.039, allocations: 100.4 kB / 1.183 GB, free: 4.848 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001098/1.039, allocations: 35.84 kB / 1.183 GB, free: 4.812 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.728e-05/1.039, allocations: 27.97 kB / 1.183 GB, free: 4.785 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.0008865/1.04, allocations: 0.5537 MB / 1.184 GB, free: 4.234 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.4e-07/1.04, allocations: 0 / 1.184 GB, free: 4.234 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.001099/1.041, allocations: 276 kB / 1.184 GB, free: 3.965 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.0005746/1.042, allocations: 203.2 kB / 1.184 GB, free: 3.766 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.002316/1.044, allocations: 0.8446 MB / 1.185 GB, free: 2.906 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 8.426e-06/1.044, allocations: 4 kB / 1.185 GB, free: 2.902 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.001071/1.045, allocations: 475.3 kB / 1.185 GB, free: 2.426 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003242/1.048, allocations: 0.5343 MB / 1.186 GB, free: 1.902 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0051/1.053, allocations: 2.386 MB / 1.188 GB, free: 15.44 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007783/1.054, allocations: 1.044 MB / 1.189 GB, free: 14.37 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000321/1.055, allocations: 67.42 kB / 1.189 GB, free: 14.3 MB / 0.9512 GB Notification: Performance of SimCode: time 7.31e-07/1.055, allocations: 0 / 1.189 GB, free: 14.3 MB / 0.9512 GB Notification: Performance of Templates: time 0.02897/1.084, allocations: 18.75 MB / 1.208 GB, free: 11.68 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