Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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_latest_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_latest_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.001288/0.001288, allocations: 107.5 kB / 15.99 MB, free: 6.355 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.001311/0.001311, allocations: 198.2 kB / 16.91 MB, free: 6.195 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.365/1.365, allocations: 222.9 MB / 240.6 MB, free: 15.43 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.694/2.694, allocations: 482.2 MB / 0.7548 GB, free: 7.363 MB / 0.6231 GB Notification: Performance of FrontEnd - loaded program: time 0.001861/0.001862, allocations: 78 kB / 0.9238 GB, free: 0.5742 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7362/0.7381, allocations: 162.2 MB / 1.082 GB, free: 2.004 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate): time 0.2204/0.9586, allocations: 188.2 MB / 1.266 GB, free: 2.746 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.009289/0.9679, allocations: 5.698 MB / 1.271 GB, free: 13.04 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001301/0.9693, allocations: 39.75 kB / 1.272 GB, free: 13 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.001587/0.9709, allocations: 0.517 MB / 1.272 GB, free: 12.48 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.004174/0.9751, allocations: 1.525 MB / 1.274 GB, free: 10.95 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.003296/0.9784, allocations: 1.104 MB / 1.275 GB, free: 9.852 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.003628/0.9821, allocations: 2.565 MB / 1.277 GB, free: 7.285 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001301/0.9834, allocations: 0.8588 MB / 1.278 GB, free: 6.414 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002569/0.986, allocations: 1.21 MB / 1.279 GB, free: 5.199 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002001/0.988, allocations: 0.848 MB / 1.28 GB, free: 4.355 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001893/0.9882, allocations: 96 kB / 1.28 GB, free: 4.262 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002972/0.9912, allocations: 1.602 MB / 1.282 GB, free: 2.656 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0005327/0.9917, allocations: 402.9 kB / 1.282 GB, free: 2.262 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0008591/0.9926, allocations: 0.5989 MB / 1.283 GB, free: 1.66 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.002358/0.9949, allocations: 1.516 MB / 1.284 GB, free: 144 kB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.809e-06/0.995, allocations: 0 / 1.284 GB, free: 144 kB / 0.9981 GB Notification: Performance of FrontEnd: time 1.613e-06/0.995, allocations: 0 / 1.284 GB, free: 144 kB / 0.9981 GB Notification: Performance of Transformations before backend: time 2.38e-05/0.995, allocations: 4 kB / 1.284 GB, free: 140 kB / 0.9981 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.002517/0.9975, allocations: 1.437 MB / 1.285 GB, free: 14.64 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.051e-05/0.9976, allocations: 8.031 kB / 1.285 GB, free: 14.64 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002726/1, allocations: 414.3 kB / 1.286 GB, free: 14.23 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001447/1.002, allocations: 0.7687 MB / 1.287 GB, free: 13.42 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003479/1.002, allocations: 109.9 kB / 1.287 GB, free: 13.31 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001379/1.002, allocations: 75.91 kB / 1.287 GB, free: 13.24 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00211/1.004, allocations: 0.9984 MB / 1.288 GB, free: 12.22 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.659e-05/1.004, allocations: 3.938 kB / 1.288 GB, free: 12.22 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.144e-05/1.005, allocations: 35.98 kB / 1.288 GB, free: 12.18 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.122e-05/1.005, allocations: 26 kB / 1.288 GB, free: 12.16 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002006/1.007, allocations: 0.8822 MB / 1.289 GB, free: 11.27 MB / 1.014 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.006596/1.013, allocations: 3.501 MB / 1.292 GB, free: 7.586 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001706/1.015, allocations: 0.6288 MB / 1.293 GB, free: 6.949 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008202/1.016, allocations: 338.9 kB / 1.293 GB, free: 6.617 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002012/1.016, allocations: 101.7 kB / 1.293 GB, free: 6.5 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.372e-05/1.016, allocations: 46.56 kB / 1.293 GB, free: 6.445 MB / 1.014 GB Notification: Performance of pre-optimization done (n=39): time 2.495e-06/1.016, allocations: 0 / 1.293 GB, free: 6.445 MB / 1.014 GB Notification: Performance of matching and sorting (n=41): time 0.008573/1.025, allocations: 2.416 MB / 1.296 GB, free: 3.949 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.442e-05/1.025, allocations: 55.41 kB / 1.296 GB, free: 3.883 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001145/1.026, allocations: 0.7979 MB / 1.296 GB, free: 3.078 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 9.946e-05/1.026, allocations: 33.7 kB / 1.296 GB, free: 3.039 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003672/1.026, allocations: 451.7 kB / 1.297 GB, free: 2.594 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001754/1.027, allocations: 149.8 kB / 1.297 GB, free: 2.445 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002099/1.027, allocations: 106.1 kB / 1.297 GB, free: 2.336 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001564/1.027, allocations: 330 kB / 1.297 GB, free: 2.008 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008322/1.028, allocations: 300.9 kB / 1.298 GB, free: 1.715 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009073/1.029, allocations: 416.1 kB / 1.298 GB, free: 1.273 MB / 1.014 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.005571/1.034, allocations: 1.913 MB / 1.3 GB, free: 15.3 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.607e-06/1.034, allocations: 0 / 1.3 GB, free: 15.3 MB / 1.029 GB Notification: Performance of matching and sorting (n=63) (initialization): time 0.003381/1.038, allocations: 1.042 MB / 1.301 GB, free: 14.25 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 2.155e-05/1.038, allocations: 8 kB / 1.301 GB, free: 14.24 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.032e-05/1.038, allocations: 4 kB / 1.301 GB, free: 14.24 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006087/1.038, allocations: 184.8 kB / 1.301 GB, free: 14.05 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007033/1.039, allocations: 143.8 kB / 1.301 GB, free: 13.91 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004144/1.043, allocations: 2.246 MB / 1.303 GB, free: 11.53 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001102/1.044, allocations: 83.83 kB / 1.304 GB, free: 11.45 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.025e-05/1.044, allocations: 20 kB / 1.304 GB, free: 11.43 MB / 1.029 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.0004926/1.045, allocations: 271.9 kB / 1.304 GB, free: 11.16 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001687/1.045, allocations: 98.84 kB / 1.304 GB, free: 11.06 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001969/1.045, allocations: 100.2 kB / 1.304 GB, free: 10.96 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.122e-06/1.045, allocations: 4 kB / 1.304 GB, free: 10.95 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.396e-06/1.045, allocations: 0 / 1.304 GB, free: 10.95 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002984/1.048, allocations: 0.903 MB / 1.305 GB, free: 10.02 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005554/1.054, allocations: 2.125 MB / 1.307 GB, free: 7.789 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.967e-06/1.054, allocations: 7.938 kB / 1.307 GB, free: 7.781 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006516/1.055, allocations: 123.8 kB / 1.307 GB, free: 7.66 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005626/1.055, allocations: 184.8 kB / 1.307 GB, free: 7.477 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.906e-05/1.055, allocations: 19.98 kB / 1.307 GB, free: 7.457 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00378/1.059, allocations: 2.184 MB / 1.309 GB, free: 5.133 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.813e-06/1.059, allocations: 7.969 kB / 1.309 GB, free: 5.125 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004179/1.063, allocations: 1.435 MB / 1.311 GB, free: 3.625 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005362/1.064, allocations: 228.1 kB / 1.311 GB, free: 3.383 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001238/1.064, allocations: 12 kB / 1.311 GB, free: 3.371 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009359/1.065, allocations: 92.69 kB / 1.311 GB, free: 3.281 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001105/1.065, allocations: 39.83 kB / 1.311 GB, free: 3.242 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.921e-05/1.065, allocations: 27.98 kB / 1.311 GB, free: 3.215 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0007692/1.066, allocations: 0.5614 MB / 1.312 GB, free: 2.66 MB / 1.029 GB Notification: Performance of sort global known variables: time 1.4e-07/1.066, allocations: 0 / 1.312 GB, free: 2.66 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0009217/1.067, allocations: 280 kB / 1.312 GB, free: 2.387 MB / 1.029 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.0005258/1.067, allocations: 211.5 kB / 1.312 GB, free: 2.18 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.002228/1.069, allocations: 0.8403 MB / 1.313 GB, free: 1.324 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 4.037e-06/1.069, allocations: 0 / 1.313 GB, free: 1.324 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.001006/1.07, allocations: 475.4 kB / 1.314 GB, free: 0.8477 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002491/1.073, allocations: 0.5515 MB / 1.314 GB, free: 316 kB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004847/1.078, allocations: 2.284 MB / 1.316 GB, free: 13.95 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007641/1.079, allocations: 1.044 MB / 1.317 GB, free: 12.88 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002598/1.079, allocations: 67.44 kB / 1.317 GB, free: 12.81 MB / 1.045 GB Notification: Performance of SimCode: time 7.72e-07/1.079, allocations: 0 / 1.317 GB, free: 12.81 MB / 1.045 GB Notification: Performance of Templates: time 0.02823/1.107, allocations: 18.9 MB / 1.336 GB, free: 10.04 MB / 1.061 GB make -j1 -f Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate.makefile (rm -f Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate.pipe ; mkfifo Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate.pipe >> ../files/Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate.sim & ./Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_MixingVolumes_Validation_MixingVolumeHeatReverseFlowPrescribedHeatFlowRate.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches