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.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-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.001211/0.001211, allocations: 105.2 kB / 16.41 MB, free: 6.461 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.001253/0.001253, allocations: 192.2 kB / 17.34 MB, free: 5.715 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.482/1.482, 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.3-maint.9.1.x/package.mo): time 2.323/2.323, allocations: 390.3 MB / 0.6655 GB, free: 0.6172 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001383/0.001383, allocations: 63.91 kB / 0.9516 GB, free: 7.598 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9241/0.9255, allocations: 140.4 MB / 1.089 GB, free: 5.512 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate): time 0.2236/1.149, allocations: 190.6 MB / 1.275 GB, free: 15.01 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.009334/1.159, allocations: 5.724 MB / 1.28 GB, free: 9.27 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001718/1.16, allocations: 47.75 kB / 1.28 GB, free: 9.223 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.001731/1.162, allocations: 0.5824 MB / 1.281 GB, free: 8.637 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.004433/1.167, allocations: 1.618 MB / 1.283 GB, free: 7.012 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.003361/1.17, allocations: 1.21 MB / 1.284 GB, free: 5.809 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.003527/1.173, allocations: 2.566 MB / 1.286 GB, free: 3.238 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001264/1.175, allocations: 0.888 MB / 1.287 GB, free: 2.344 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002184/1.177, allocations: 1.066 MB / 1.288 GB, free: 1.273 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00177/1.179, allocations: 0.8134 MB / 1.289 GB, free: 476 kB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 0.0001867/1.179, allocations: 96 kB / 1.289 GB, free: 380 kB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002895/1.182, allocations: 1.54 MB / 1.291 GB, free: 14.83 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0003971/1.182, allocations: 402.9 kB / 1.291 GB, free: 14.43 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.000656/1.183, allocations: 0.5911 MB / 1.292 GB, free: 13.84 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.003051/1.186, allocations: 2.018 MB / 1.293 GB, free: 11.82 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.659e-06/1.186, allocations: 0 / 1.293 GB, free: 11.82 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.663e-06/1.186, allocations: 0 / 1.293 GB, free: 11.82 MB / 1.029 GB Notification: Performance of Transformations before backend: time 1.639e-05/1.186, allocations: 0 / 1.293 GB, free: 11.82 MB / 1.029 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.002249/1.188, allocations: 1.433 MB / 1.295 GB, free: 10.33 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.951e-05/1.188, allocations: 8.031 kB / 1.295 GB, free: 10.32 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002609/1.191, allocations: 418.3 kB / 1.295 GB, free: 9.91 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001351/1.192, allocations: 0.7999 MB / 1.296 GB, free: 9.07 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.11e-05/1.192, allocations: 58 kB / 1.296 GB, free: 9.012 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001175/1.192, allocations: 72 kB / 1.296 GB, free: 8.941 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001791/1.194, allocations: 0.9749 MB / 1.297 GB, free: 7.949 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.305e-05/1.194, allocations: 8 kB / 1.297 GB, free: 7.941 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.568e-05/1.194, allocations: 39.98 kB / 1.297 GB, free: 7.902 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.669e-05/1.194, allocations: 30 kB / 1.297 GB, free: 7.871 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00183/1.196, allocations: 0.8665 MB / 1.298 GB, free: 7.004 MB / 1.029 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.005701/1.202, allocations: 3.493 MB / 1.301 GB, free: 3.324 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001658/1.204, allocations: 0.597 MB / 1.302 GB, free: 2.719 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007574/1.204, allocations: 339.9 kB / 1.302 GB, free: 2.387 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001997/1.205, allocations: 105.4 kB / 1.302 GB, free: 2.266 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.801e-05/1.205, allocations: 39.22 kB / 1.303 GB, free: 2.219 MB / 1.029 GB Notification: Performance of pre-optimization done (n=39): time 2.374e-06/1.205, allocations: 0 / 1.303 GB, free: 2.219 MB / 1.029 GB Notification: Performance of matching and sorting (n=41): time 0.008196/1.213, allocations: 2.389 MB / 1.305 GB, free: 15.75 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.891e-05/1.213, allocations: 55.41 kB / 1.305 GB, free: 15.68 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001101/1.214, allocations: 0.8056 MB / 1.306 GB, free: 14.87 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 8.287e-05/1.214, allocations: 37.7 kB / 1.306 GB, free: 14.83 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003426/1.215, allocations: 443.7 kB / 1.306 GB, free: 14.39 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001501/1.215, allocations: 145.9 kB / 1.306 GB, free: 14.25 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001848/1.215, allocations: 110.1 kB / 1.306 GB, free: 14.13 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001345/1.215, allocations: 326 kB / 1.307 GB, free: 13.81 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000814/1.216, allocations: 304.8 kB / 1.307 GB, free: 13.51 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008583/1.217, allocations: 412.1 kB / 1.307 GB, free: 13.07 MB / 1.045 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.005361/1.222, allocations: 1.877 MB / 1.309 GB, free: 11.14 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.57e-06/1.222, allocations: 0 / 1.309 GB, free: 11.14 MB / 1.045 GB Notification: Performance of matching and sorting (n=63) (initialization): time 0.003378/1.225, allocations: 1.035 MB / 1.31 GB, free: 10.09 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 2.807e-05/1.226, allocations: 10.28 kB / 1.31 GB, free: 10.09 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.155e-05/1.226, allocations: 4 kB / 1.31 GB, free: 10.08 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006322/1.226, allocations: 196.7 kB / 1.31 GB, free: 9.887 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007135/1.227, allocations: 139.8 kB / 1.311 GB, free: 9.75 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004352/1.231, allocations: 2.227 MB / 1.313 GB, free: 7.383 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001038/1.232, allocations: 48.02 kB / 1.313 GB, free: 7.336 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.213e-05/1.232, allocations: 27.92 kB / 1.313 GB, free: 7.309 MB / 1.045 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.0004804/1.233, allocations: 269.7 kB / 1.313 GB, free: 7.035 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001706/1.233, allocations: 90.91 kB / 1.313 GB, free: 6.945 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001821/1.233, allocations: 100.2 kB / 1.313 GB, free: 6.84 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.86e-06/1.233, allocations: 4 kB / 1.313 GB, free: 6.836 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.821e-06/1.233, allocations: 0 / 1.313 GB, free: 6.836 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002815/1.236, allocations: 0.8949 MB / 1.314 GB, free: 5.906 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005313/1.241, allocations: 2.102 MB / 1.316 GB, free: 3.703 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.452e-06/1.241, allocations: 8.031 kB / 1.316 GB, free: 3.695 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006274/1.242, allocations: 127.7 kB / 1.316 GB, free: 3.57 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005556/1.243, allocations: 188.7 kB / 1.317 GB, free: 3.383 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.268e-05/1.243, allocations: 11.98 kB / 1.317 GB, free: 3.371 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003857/1.247, allocations: 2.183 MB / 1.319 GB, free: 1.043 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.555e-06/1.247, allocations: 8.016 kB / 1.319 GB, free: 1.035 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004068/1.251, allocations: 1.409 MB / 1.32 GB, free: 15.57 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007395/1.251, allocations: 243.9 kB / 1.32 GB, free: 15.31 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001266/1.252, allocations: 12 kB / 1.32 GB, free: 15.3 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008712/1.252, allocations: 59.06 kB / 1.32 GB, free: 15.24 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001123/1.253, allocations: 43.83 kB / 1.32 GB, free: 15.2 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.195e-05/1.253, allocations: 27.98 kB / 1.32 GB, free: 15.17 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.000818/1.254, allocations: 0.5575 MB / 1.321 GB, free: 14.62 MB / 1.061 GB Notification: Performance of sort global known variables: time 1.6e-07/1.254, allocations: 3.938 kB / 1.321 GB, free: 14.62 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0008849/1.254, allocations: 276 kB / 1.321 GB, free: 14.35 MB / 1.061 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.000525/1.255, allocations: 206 kB / 1.321 GB, free: 14.15 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.002224/1.257, allocations: 0.8091 MB / 1.322 GB, free: 13.33 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 4.338e-06/1.257, allocations: 0 / 1.322 GB, free: 13.33 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0009681/1.258, allocations: 459.5 kB / 1.323 GB, free: 12.87 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00247/1.261, allocations: 0.5439 MB / 1.323 GB, free: 12.33 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00462/1.265, allocations: 1.948 MB / 1.325 GB, free: 10.31 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006222/1.266, allocations: 1.044 MB / 1.326 GB, free: 9.234 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002439/1.266, allocations: 71.42 kB / 1.326 GB, free: 9.164 MB / 1.061 GB Notification: Performance of SimCode: time 9.22e-07/1.266, allocations: 4 kB / 1.326 GB, free: 9.16 MB / 1.061 GB Notification: Performance of Templates: time 0.02724/1.293, allocations: 18.97 MB / 1.345 GB, free: 6.332 MB / 1.076 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