Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow.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.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.MixingVolumeHeatReverseFlow,tolerance=1e-08,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volDyn.ports.1..m_flow|gain.y|volDyn.T|volSte.T",fileNamePrefix="Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow") translateModel(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow,tolerance=1e-08,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volDyn.ports.1..m_flow|gain.y|volDyn.T|volSte.T",fileNamePrefix="Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007341/0.007341, allocations: 100.3 kB / 15.73 MB, free: 6.031 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.001788/0.001788, allocations: 190.9 kB / 16.67 MB, free: 5.969 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.399/1.399, allocations: 222.9 MB / 240.4 MB, free: 4.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.754/2.754, allocations: 461.9 MB / 0.7347 GB, free: 14.68 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001405/0.001405, allocations: 67.84 kB / 1.054 GB, free: 7.133 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3656/0.367, allocations: 157.4 MB / 1.208 GB, free: 9.641 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow): time 0.9133/1.28, allocations: 190.6 MB / 1.394 GB, free: 15.09 MB / 1.092 GB Notification: Performance of NFInst.instExpressions: time 0.01021/1.291, allocations: 5.735 MB / 1.399 GB, free: 10.42 MB / 1.092 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001482/1.292, allocations: 42.09 kB / 1.4 GB, free: 10.4 MB / 1.092 GB Notification: Performance of NFTyping.typeComponents: time 0.001407/1.294, allocations: 0.5728 MB / 1.4 GB, free: 9.926 MB / 1.092 GB Notification: Performance of NFTyping.typeBindings: time 0.004384/1.298, allocations: 1.844 MB / 1.402 GB, free: 8.484 MB / 1.092 GB Notification: Performance of NFTyping.typeClassSections: time 0.002847/1.301, allocations: 1.194 MB / 1.403 GB, free: 7.57 MB / 1.092 GB Notification: Performance of NFFlatten.flatten: time 0.003885/1.305, allocations: 2.94 MB / 1.406 GB, free: 5.883 MB / 1.092 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001327/1.306, allocations: 0.9618 MB / 1.407 GB, free: 5.285 MB / 1.092 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001838/1.308, allocations: 1.072 MB / 1.408 GB, free: 4.66 MB / 1.092 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001578/1.31, allocations: 0.911 MB / 1.409 GB, free: 4.129 MB / 1.092 GB Notification: Performance of NFPackage.collectConstants: time 0.0001557/1.31, allocations: 107.8 kB / 1.409 GB, free: 4.129 MB / 1.092 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002757/1.312, allocations: 1.427 MB / 1.41 GB, free: 3.367 MB / 1.092 GB Notification: Performance of NFScalarize.scalarize: time 0.0004419/1.313, allocations: 464.2 kB / 1.411 GB, free: 3.055 MB / 1.092 GB Notification: Performance of NFVerifyModel.verify: time 0.0007256/1.314, allocations: 0.6532 MB / 1.411 GB, free: 2.641 MB / 1.092 GB Notification: Performance of NFConvertDAE.convert: time 0.002919/1.317, allocations: 2.135 MB / 1.413 GB, free: 1.258 MB / 1.092 GB Notification: Performance of FrontEnd - DAE generated: time 4.588e-06/1.317, allocations: 0 / 1.413 GB, free: 1.258 MB / 1.092 GB Notification: Performance of FrontEnd: time 1.643e-06/1.317, allocations: 0 / 1.413 GB, free: 1.258 MB / 1.092 GB Notification: Performance of Transformations before backend: time 1.509e-05/1.317, allocations: 0 / 1.413 GB, free: 1.258 MB / 1.092 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 213 * Number of variables: 213 Notification: Performance of Generate backend data structure: time 0.002369/1.319, allocations: 1.518 MB / 1.415 GB, free: 124 kB / 1.092 GB Notification: Performance of prepare preOptimizeDAE: time 3.366e-05/1.319, allocations: 11.47 kB / 1.415 GB, free: 124 kB / 1.092 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001868/1.321, allocations: 312.4 kB / 1.415 GB, free: 15.98 MB / 1.107 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001425/1.322, allocations: 0.8551 MB / 1.416 GB, free: 15.32 MB / 1.107 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.131e-05/1.322, allocations: 67.88 kB / 1.416 GB, free: 15.29 MB / 1.107 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000113/1.323, allocations: 82.94 kB / 1.416 GB, free: 15.26 MB / 1.107 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00147/1.324, allocations: 0.9098 MB / 1.417 GB, free: 14.75 MB / 1.107 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.302e-05/1.324, allocations: 0 / 1.417 GB, free: 14.75 MB / 1.107 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.596e-05/1.324, allocations: 38.06 kB / 1.417 GB, free: 14.72 MB / 1.107 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.717e-05/1.324, allocations: 33.02 kB / 1.417 GB, free: 14.71 MB / 1.107 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00141/1.326, allocations: 0.8229 MB / 1.418 GB, free: 14.31 MB / 1.107 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.005388/1.331, allocations: 3.512 MB / 1.421 GB, free: 11.54 MB / 1.107 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000783/1.332, allocations: 0.4992 MB / 1.422 GB, free: 11.26 MB / 1.107 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004693/1.332, allocations: 295.3 kB / 1.422 GB, free: 10.97 MB / 1.107 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001874/1.332, allocations: 105.5 kB / 1.422 GB, free: 10.85 MB / 1.107 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.494e-05/1.333, allocations: 47.41 kB / 1.422 GB, free: 10.79 MB / 1.107 GB Notification: Performance of pre-optimization done (n=47): time 2.114e-06/1.333, allocations: 0 / 1.422 GB, free: 10.79 MB / 1.107 GB Notification: Performance of matching and sorting (n=49): time 0.003931/1.336, allocations: 1.911 MB / 1.424 GB, free: 8.785 MB / 1.107 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.439e-05/1.336, allocations: 59.83 kB / 1.424 GB, free: 8.715 MB / 1.107 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009672/1.337, allocations: 0.8058 MB / 1.425 GB, free: 7.902 MB / 1.107 GB Notification: Performance of collectPreVariables (initialization): time 4.896e-05/1.338, allocations: 37.7 kB / 1.425 GB, free: 7.859 MB / 1.107 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003314/1.338, allocations: 479.3 kB / 1.426 GB, free: 7.383 MB / 1.107 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001519/1.338, allocations: 173.5 kB / 1.426 GB, free: 7.211 MB / 1.107 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001777/1.338, allocations: 114.2 kB / 1.426 GB, free: 7.094 MB / 1.107 GB Notification: Performance of setup shared object (initialization): time 0.0001203/1.338, allocations: 337.8 kB / 1.426 GB, free: 6.758 MB / 1.107 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004234/1.339, allocations: 237.2 kB / 1.426 GB, free: 6.527 MB / 1.107 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005026/1.339, allocations: 357.8 kB / 1.427 GB, free: 6.141 MB / 1.107 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.003659/1.343, allocations: 1.53 MB / 1.428 GB, free: 4.555 MB / 1.107 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.48e-06/1.343, allocations: 4.562 kB / 1.428 GB, free: 4.551 MB / 1.107 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.001273/1.344, allocations: 0.7848 MB / 1.429 GB, free: 3.754 MB / 1.107 GB Notification: Performance of prepare postOptimizeDAE: time 1.894e-05/1.344, allocations: 8 kB / 1.429 GB, free: 3.746 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.983e-06/1.344, allocations: 1.562 kB / 1.429 GB, free: 3.746 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002786/1.345, allocations: 97.28 kB / 1.429 GB, free: 3.648 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006485/1.345, allocations: 151.8 kB / 1.429 GB, free: 3.5 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002819/1.348, allocations: 3.289 MB / 1.432 GB, free: 15.93 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007929/1.349, allocations: 27.89 kB / 1.432 GB, free: 15.91 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.177e-05/1.349, allocations: 28.8 kB / 1.432 GB, free: 15.88 MB / 1.123 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 (67): * Single equations (assignments): 65 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * 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): 2 systems {(1,4), (1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0004454/1.349, allocations: 301.6 kB / 1.433 GB, free: 15.57 MB / 1.123 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000142/1.35, allocations: 95.03 kB / 1.433 GB, free: 15.48 MB / 1.123 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000172/1.35, allocations: 96.73 kB / 1.433 GB, free: 15.38 MB / 1.123 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.594e-06/1.35, allocations: 7.984 kB / 1.433 GB, free: 15.38 MB / 1.123 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.827e-06/1.35, allocations: 3.938 kB / 1.433 GB, free: 15.37 MB / 1.123 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001025/1.351, allocations: 0.8427 MB / 1.434 GB, free: 14.44 MB / 1.123 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002794/1.354, allocations: 1.79 MB / 1.436 GB, free: 12.55 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.051e-06/1.354, allocations: 4.188 kB / 1.436 GB, free: 12.54 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006009/1.354, allocations: 135.8 kB / 1.436 GB, free: 12.41 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002103/1.354, allocations: 69.22 kB / 1.436 GB, free: 12.34 MB / 1.123 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.537e-05/1.354, allocations: 12 kB / 1.436 GB, free: 12.33 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001499/1.356, allocations: 1.785 MB / 1.437 GB, free: 10.41 MB / 1.123 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.298e-06/1.356, allocations: 4 kB / 1.437 GB, free: 10.4 MB / 1.123 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001577/1.358, allocations: 1.069 MB / 1.439 GB, free: 9.273 MB / 1.123 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004597/1.358, allocations: 235.9 kB / 1.439 GB, free: 9.023 MB / 1.123 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.763e-05/1.358, allocations: 12 kB / 1.439 GB, free: 9.012 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006785/1.359, allocations: 32.17 kB / 1.439 GB, free: 8.98 MB / 1.123 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001097/1.359, allocations: 47.94 kB / 1.439 GB, free: 8.934 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.608e-05/1.359, allocations: 27.98 kB / 1.439 GB, free: 8.906 MB / 1.123 GB Notification: Performance of sorting global known variables: time 0.0006914/1.36, allocations: 0.5653 MB / 1.439 GB, free: 8.344 MB / 1.123 GB Notification: Performance of sort global known variables: time 1.5e-07/1.36, allocations: 0 / 1.439 GB, free: 8.344 MB / 1.123 GB Notification: Performance of remove unused functions: time 0.0008143/1.361, allocations: 288 kB / 1.44 GB, free: 8.062 MB / 1.123 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 (45): * Single equations (assignments): 44 * 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.0003968/1.361, allocations: 182.6 kB / 1.44 GB, free: 7.883 MB / 1.123 GB Notification: Performance of simCode: created initialization part: time 0.001276/1.362, allocations: 0.8116 MB / 1.441 GB, free: 7.047 MB / 1.123 GB Notification: Performance of simCode: created event and clocks part: time 3.867e-06/1.362, allocations: 0 / 1.441 GB, free: 7.047 MB / 1.123 GB Notification: Performance of simCode: created simulation system equations: time 0.000586/1.363, allocations: 419.7 kB / 1.441 GB, free: 6.625 MB / 1.123 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0026/1.365, allocations: 0.6005 MB / 1.442 GB, free: 6.039 MB / 1.123 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002698/1.368, allocations: 1.804 MB / 1.443 GB, free: 4.164 MB / 1.123 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006373/1.369, allocations: 1.095 MB / 1.444 GB, free: 3.035 MB / 1.123 GB Notification: Performance of simCode: alias equations: time 0.0006801/1.37, allocations: 215.7 kB / 1.445 GB, free: 2.82 MB / 1.123 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001681/1.37, allocations: 63.44 kB / 1.445 GB, free: 2.762 MB / 1.123 GB Notification: Performance of SimCode: time 3.71e-07/1.37, allocations: 0 / 1.445 GB, free: 2.762 MB / 1.123 GB Notification: Performance of Templates: time 0.03405/1.404, allocations: 21.11 MB / 1.465 GB, free: 13.92 MB / 1.154 GB make -j1 -f Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow.makefile (rm -f Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow.pipe ; mkfifo Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow.pipe >> ../files/Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow.sim & ./Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_MixingVolumes_Validation_MixingVolumeHeatReverseFlow.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches