Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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 11.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_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_11_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.001827/0.001827, allocations: 109.4 kB / 15.99 MB, free: 6.344 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.001887/0.001887, allocations: 196.2 kB / 16.91 MB, free: 6.176 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.377/1.377, 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 11.1.0-maint.11.x/package.mo): time 2.686/2.686, allocations: 469.8 MB / 0.7427 GB, free: 3.617 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001875/0.001875, allocations: 73.55 kB / 0.9087 GB, free: 14.24 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3199/0.3218, allocations: 159.1 MB / 1.064 GB, free: 15.12 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate): time 0.7444/1.066, allocations: 188.1 MB / 1.248 GB, free: 13.01 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.01034/1.077, allocations: 5.703 MB / 1.253 GB, free: 7.297 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001707/1.078, allocations: 35.81 kB / 1.253 GB, free: 7.262 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.001785/1.08, allocations: 0.513 MB / 1.254 GB, free: 6.746 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.004676/1.085, allocations: 1.525 MB / 1.255 GB, free: 5.215 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.00422/1.089, allocations: 1.1 MB / 1.257 GB, free: 4.125 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.005074/1.094, allocations: 2.563 MB / 1.259 GB, free: 1.555 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001497/1.096, allocations: 0.8549 MB / 1.26 GB, free: 0.6953 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002276/1.098, allocations: 1.039 MB / 1.261 GB, free: 15.65 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002025/1.1, allocations: 0.8747 MB / 1.262 GB, free: 14.78 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.000189/1.1, allocations: 96 kB / 1.262 GB, free: 14.69 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003304/1.104, allocations: 1.609 MB / 1.263 GB, free: 13.07 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.000532/1.104, allocations: 402.8 kB / 1.264 GB, free: 12.68 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0007736/1.105, allocations: 0.5911 MB / 1.264 GB, free: 12.09 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.002387/1.107, allocations: 1.52 MB / 1.266 GB, free: 10.56 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 5.109e-06/1.107, allocations: 0 / 1.266 GB, free: 10.56 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.883e-06/1.107, allocations: 0 / 1.266 GB, free: 10.56 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 1.491e-05/1.107, allocations: 8 kB / 1.266 GB, free: 10.55 MB / 0.9825 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.002554/1.11, allocations: 1.43 MB / 1.267 GB, free: 9.07 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.106e-05/1.11, allocations: 8.031 kB / 1.267 GB, free: 9.062 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002851/1.113, allocations: 410.3 kB / 1.268 GB, free: 8.66 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001483/1.114, allocations: 0.7687 MB / 1.268 GB, free: 7.852 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003413/1.115, allocations: 109.9 kB / 1.268 GB, free: 7.742 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001487/1.115, allocations: 72 kB / 1.269 GB, free: 7.672 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002074/1.117, allocations: 1.004 MB / 1.27 GB, free: 6.652 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.732e-05/1.117, allocations: 0 / 1.27 GB, free: 6.652 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.789e-05/1.117, allocations: 39.98 kB / 1.27 GB, free: 6.613 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.831e-05/1.117, allocations: 26 kB / 1.27 GB, free: 6.586 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002014/1.119, allocations: 0.8822 MB / 1.27 GB, free: 5.703 MB / 0.9825 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.006686/1.126, allocations: 3.506 MB / 1.274 GB, free: 2.012 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001736/1.128, allocations: 0.6359 MB / 1.274 GB, free: 1.367 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008146/1.128, allocations: 337.3 kB / 1.275 GB, free: 1.035 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002064/1.129, allocations: 97.75 kB / 1.275 GB, free: 0.9219 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.926e-05/1.129, allocations: 42.56 kB / 1.275 GB, free: 0.8711 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=39): time 2.295e-06/1.129, allocations: 0 / 1.275 GB, free: 0.8711 MB / 0.9825 GB Notification: Performance of matching and sorting (n=41): time 0.008599/1.137, allocations: 2.424 MB / 1.277 GB, free: 14.37 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.332e-05/1.137, allocations: 55.41 kB / 1.277 GB, free: 14.3 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001103/1.139, allocations: 0.7941 MB / 1.278 GB, free: 13.5 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 7.559e-05/1.139, allocations: 37.64 kB / 1.278 GB, free: 13.46 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003733/1.139, allocations: 455.6 kB / 1.279 GB, free: 13.01 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001584/1.139, allocations: 141.9 kB / 1.279 GB, free: 12.87 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002141/1.139, allocations: 106.1 kB / 1.279 GB, free: 12.76 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001661/1.14, allocations: 334 kB / 1.279 GB, free: 12.43 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008075/1.14, allocations: 304.9 kB / 1.279 GB, free: 12.13 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000913/1.141, allocations: 408.1 kB / 1.28 GB, free: 11.7 MB / 0.9981 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.005513/1.147, allocations: 1.913 MB / 1.282 GB, free: 9.727 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.156e-06/1.147, allocations: 0 / 1.282 GB, free: 9.727 MB / 0.9981 GB Notification: Performance of matching and sorting (n=63) (initialization): time 0.003343/1.15, allocations: 1.042 MB / 1.283 GB, free: 8.676 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.484e-05/1.15, allocations: 8 kB / 1.283 GB, free: 8.668 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.093e-05/1.15, allocations: 4 kB / 1.283 GB, free: 8.664 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000618/1.151, allocations: 184.8 kB / 1.283 GB, free: 8.48 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007061/1.152, allocations: 150.8 kB / 1.283 GB, free: 8.336 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004145/1.156, allocations: 2.245 MB / 1.285 GB, free: 5.953 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001078/1.157, allocations: 81.27 kB / 1.285 GB, free: 5.875 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.928e-05/1.157, allocations: 20 kB / 1.285 GB, free: 5.855 MB / 0.9981 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.0005271/1.157, allocations: 285.6 kB / 1.286 GB, free: 5.57 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001642/1.158, allocations: 94.84 kB / 1.286 GB, free: 5.477 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001866/1.158, allocations: 100.2 kB / 1.286 GB, free: 5.371 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.999e-06/1.158, allocations: 4 kB / 1.286 GB, free: 5.367 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.799e-06/1.158, allocations: 0 / 1.286 GB, free: 5.367 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002856/1.161, allocations: 0.9065 MB / 1.287 GB, free: 4.426 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005361/1.166, allocations: 2.102 MB / 1.289 GB, free: 2.223 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.923e-06/1.166, allocations: 8.031 kB / 1.289 GB, free: 2.215 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006491/1.167, allocations: 124 kB / 1.289 GB, free: 2.094 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000589/1.167, allocations: 192.7 kB / 1.289 GB, free: 1.902 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.852e-05/1.167, allocations: 19.98 kB / 1.289 GB, free: 1.883 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003856/1.171, allocations: 2.184 MB / 1.291 GB, free: 15.56 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.542e-06/1.171, allocations: 7.938 kB / 1.291 GB, free: 15.55 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004106/1.175, allocations: 1.423 MB / 1.293 GB, free: 14.06 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005516/1.176, allocations: 239.9 kB / 1.293 GB, free: 13.81 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001282/1.176, allocations: 12 kB / 1.293 GB, free: 13.8 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009535/1.177, allocations: 99.75 kB / 1.293 GB, free: 13.7 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001121/1.177, allocations: 39.83 kB / 1.293 GB, free: 13.66 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.428e-05/1.177, allocations: 24.17 kB / 1.293 GB, free: 13.64 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0007766/1.178, allocations: 0.5537 MB / 1.294 GB, free: 13.09 MB / 1.014 GB Notification: Performance of sort global known variables: time 1.8e-07/1.178, allocations: 4 kB / 1.294 GB, free: 13.09 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0009462/1.179, allocations: 276 kB / 1.294 GB, free: 12.82 MB / 1.014 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.0005435/1.18, allocations: 217.6 kB / 1.294 GB, free: 12.61 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.002242/1.182, allocations: 0.8378 MB / 1.295 GB, free: 11.76 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 4.398e-06/1.182, allocations: 0 / 1.295 GB, free: 11.76 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.001014/1.183, allocations: 471.4 kB / 1.295 GB, free: 11.29 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002456/1.185, allocations: 0.5472 MB / 1.296 GB, free: 10.75 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004855/1.19, allocations: 2.295 MB / 1.298 GB, free: 8.375 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008024/1.191, allocations: 1.036 MB / 1.299 GB, free: 7.312 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003614/1.191, allocations: 71.42 kB / 1.299 GB, free: 7.242 MB / 1.014 GB Notification: Performance of SimCode: time 8.62e-07/1.191, allocations: 0 / 1.299 GB, free: 7.242 MB / 1.014 GB Notification: Performance of Templates: time 0.02962/1.221, allocations: 18.9 MB / 1.318 GB, free: 4.484 MB / 1.029 GB make -j1 -f Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate.makefile (rm -f Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate.pipe ; mkfifo Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate.pipe >> ../files/Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate.sim & ./Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_MixingVolumes_Validation_MixingVolumeHeatReverseFlowPrescribedHeatFlowRate.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches