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.001642/0.001642, allocations: 106.9 kB / 16.35 MB, free: 5.824 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.001715/0.001715, allocations: 190.5 kB / 17.29 MB, free: 5.48 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.426/1.426, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.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.278/2.278, allocations: 390.3 MB / 0.6655 GB, free: 0.5938 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001586/0.001586, allocations: 67.83 kB / 0.814 GB, free: 32.73 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3392/0.3408, allocations: 140.4 MB / 0.9511 GB, free: 8.012 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate): time 0.9487/1.29, allocations: 190.6 MB / 1.137 GB, free: 4.977 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.01039/1.3, allocations: 5.728 MB / 1.143 GB, free: 4.703 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002361/1.302, allocations: 41.38 kB / 1.143 GB, free: 4.688 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.001933/1.304, allocations: 0.5784 MB / 1.143 GB, free: 4.504 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.005152/1.31, allocations: 1.615 MB / 1.145 GB, free: 4.102 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.003783/1.313, allocations: 1.233 MB / 1.146 GB, free: 3.945 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.004654/1.318, allocations: 2.562 MB / 1.149 GB, free: 3.566 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001928/1.32, allocations: 0.875 MB / 1.15 GB, free: 3.457 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003479/1.324, allocations: 1.044 MB / 1.151 GB, free: 3.328 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002922/1.326, allocations: 0.8098 MB / 1.151 GB, free: 3.09 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 0.0002761/1.327, allocations: 96.66 kB / 1.151 GB, free: 3.09 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004365/1.331, allocations: 1.547 MB / 1.153 GB, free: 2.68 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0006174/1.332, allocations: 408.3 kB / 1.153 GB, free: 2.512 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.001058/1.333, allocations: 0.583 MB / 1.154 GB, free: 2.18 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.004599/1.337, allocations: 2.013 MB / 1.156 GB, free: 1.57 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 6.322e-06/1.338, allocations: 0 / 1.156 GB, free: 1.57 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.924e-06/1.338, allocations: 1.062 kB / 1.156 GB, free: 1.57 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 2.409e-05/1.338, allocations: 0 / 1.156 GB, free: 1.57 MB / 0.8575 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.003061/1.341, allocations: 1.434 MB / 1.157 GB, free: 16.62 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 4.624e-05/1.341, allocations: 12.66 kB / 1.157 GB, free: 16.62 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002815/1.343, allocations: 415.3 kB / 1.158 GB, free: 16.54 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001909/1.345, allocations: 0.8004 MB / 1.159 GB, free: 16.07 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.38e-05/1.346, allocations: 61.5 kB / 1.159 GB, free: 16.04 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000139/1.346, allocations: 72.34 kB / 1.159 GB, free: 16.02 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00204/1.348, allocations: 0.9857 MB / 1.16 GB, free: 15.63 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.318e-05/1.348, allocations: 0 / 1.16 GB, free: 15.63 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001051/1.348, allocations: 32.78 kB / 1.16 GB, free: 15.61 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.043e-05/1.348, allocations: 27.16 kB / 1.16 GB, free: 15.61 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002139/1.35, allocations: 0.8792 MB / 1.161 GB, free: 15.33 MB / 0.8731 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.007499/1.358, allocations: 3.492 MB / 1.164 GB, free: 13.26 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001603/1.359, allocations: 0.6104 MB / 1.165 GB, free: 13.04 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007965/1.36, allocations: 330.1 kB / 1.165 GB, free: 12.94 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002123/1.36, allocations: 99.75 kB / 1.165 GB, free: 12.84 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.176e-05/1.36, allocations: 43.81 kB / 1.165 GB, free: 12.8 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=39): time 3.056e-06/1.36, allocations: 1.594 kB / 1.165 GB, free: 12.8 MB / 0.8731 GB Notification: Performance of matching and sorting (n=41): time 0.008654/1.369, allocations: 2.385 MB / 1.167 GB, free: 11.79 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.73e-05/1.369, allocations: 56.91 kB / 1.167 GB, free: 11.73 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001203/1.37, allocations: 0.7937 MB / 1.168 GB, free: 11.41 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 0.0001207/1.37, allocations: 42.14 kB / 1.168 GB, free: 11.36 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003412/1.371, allocations: 449.3 kB / 1.169 GB, free: 11.01 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001642/1.371, allocations: 147.4 kB / 1.169 GB, free: 10.9 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001968/1.371, allocations: 103.7 kB / 1.169 GB, free: 10.84 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001228/1.371, allocations: 326.2 kB / 1.169 GB, free: 10.53 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007355/1.372, allocations: 302.2 kB / 1.169 GB, free: 10.44 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008042/1.373, allocations: 407.8 kB / 1.17 GB, free: 10.24 MB / 0.8731 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.005257/1.378, allocations: 1.879 MB / 1.172 GB, free: 9.551 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.392e-06/1.378, allocations: 1.375 kB / 1.172 GB, free: 9.551 MB / 0.8731 GB Notification: Performance of matching and sorting (n=63) (initialization): time 0.003238/1.381, allocations: 1.037 MB / 1.173 GB, free: 9.211 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 2.173e-05/1.381, allocations: 5.25 kB / 1.173 GB, free: 9.211 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.799e-06/1.381, allocations: 2.406 kB / 1.173 GB, free: 9.211 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005939/1.382, allocations: 191.1 kB / 1.173 GB, free: 9.16 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006791/1.383, allocations: 143 kB / 1.173 GB, free: 9.148 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003892/1.387, allocations: 2.236 MB / 1.175 GB, free: 7.277 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00125/1.388, allocations: 46.02 kB / 1.175 GB, free: 7.258 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.518e-05/1.388, allocations: 23.58 kB / 1.175 GB, free: 7.25 MB / 0.8731 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.0005652/1.389, allocations: 280.5 kB / 1.176 GB, free: 7.035 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001858/1.389, allocations: 85.34 kB / 1.176 GB, free: 6.992 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001774/1.389, allocations: 96.48 kB / 1.176 GB, free: 6.918 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.91e-06/1.389, allocations: 5.062 kB / 1.176 GB, free: 6.918 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.853e-06/1.389, allocations: 0 / 1.176 GB, free: 6.918 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002726/1.392, allocations: 0.8918 MB / 1.177 GB, free: 6.391 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005773/1.397, allocations: 2.101 MB / 1.179 GB, free: 4.988 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.392e-06/1.397, allocations: 3.219 kB / 1.179 GB, free: 4.988 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006291/1.398, allocations: 125.1 kB / 1.179 GB, free: 4.953 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005477/1.399, allocations: 192.3 kB / 1.179 GB, free: 4.863 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.629e-05/1.399, allocations: 20.33 kB / 1.179 GB, free: 4.852 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003716/1.402, allocations: 2.178 MB / 1.181 GB, free: 2.977 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.3e-06/1.403, allocations: 5 kB / 1.181 GB, free: 2.977 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003905/1.406, allocations: 1.416 MB / 1.182 GB, free: 2.117 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007622/1.407, allocations: 244 kB / 1.183 GB, free: 1.914 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001134/1.407, allocations: 6.812 kB / 1.183 GB, free: 1.91 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008139/1.408, allocations: 65.59 kB / 1.183 GB, free: 1.883 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001263/1.408, allocations: 47.55 kB / 1.183 GB, free: 1.852 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.855e-05/1.408, allocations: 25.95 kB / 1.183 GB, free: 1.844 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.000825/1.409, allocations: 0.5529 MB / 1.183 GB, free: 1.535 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.2e-07/1.409, allocations: 0 / 1.183 GB, free: 1.535 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.001064/1.41, allocations: 275.5 kB / 1.184 GB, free: 1.508 MB / 0.8731 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.0005721/1.411, allocations: 205.2 kB / 1.184 GB, free: 1.371 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.002049/1.413, allocations: 0.8096 MB / 1.185 GB, free: 0.9219 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 8.526e-06/1.413, allocations: 7.312 kB / 1.185 GB, free: 0.918 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0009406/1.414, allocations: 466.2 kB / 1.185 GB, free: 0.6328 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002295/1.416, allocations: 0.5451 MB / 1.186 GB, free: 356 kB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004491/1.421, allocations: 1.901 MB / 1.187 GB, free: 15.18 MB / 0.8887 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006754/1.421, allocations: 1.04 MB / 1.188 GB, free: 14.31 MB / 0.8887 GB Notification: Performance of simCode: alias equations: time 0.0008193/1.422, allocations: 211.9 kB / 1.189 GB, free: 14.21 MB / 0.8887 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002114/1.422, allocations: 72.17 kB / 1.189 GB, free: 14.2 MB / 0.8887 GB Notification: Performance of SimCode: time 8.01e-07/1.422, allocations: 0 / 1.189 GB, free: 14.2 MB / 0.8887 GB Notification: Performance of Templates: time 0.03652/1.459, allocations: 20.64 MB / 1.209 GB, free: 3.242 MB / 0.8887 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 -s cvode -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