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 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.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.00125/0.00125, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001355/0.001355, allocations: 191 kB / 16.25 MB, free: 6.625 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.451/1.451, allocations: 222.9 MB / 239.9 MB, free: 4.504 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.077/3.077, allocations: 472.6 MB / 0.7448 GB, free: 4.895 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.002039/0.002039, allocations: 64.44 kB / 0.9116 GB, free: 33.48 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3672/0.3693, allocations: 159.9 MB / 1.068 GB, free: 10.76 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow): time 0.9686/1.338, allocations: 188.1 MB / 1.251 GB, free: 5.59 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.008498/1.346, allocations: 5.699 MB / 1.257 GB, free: 5.555 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001193/1.348, allocations: 36.94 kB / 1.257 GB, free: 5.555 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.00132/1.349, allocations: 0.5121 MB / 1.258 GB, free: 5.547 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.004178/1.353, allocations: 1.737 MB / 1.259 GB, free: 5.477 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.002895/1.356, allocations: 1.095 MB / 1.26 GB, free: 5.445 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.004036/1.36, allocations: 2.94 MB / 1.263 GB, free: 5.441 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002036/1.362, allocations: 0.9364 MB / 1.264 GB, free: 5.395 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00319/1.365, allocations: 1.056 MB / 1.265 GB, free: 5.391 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003363/1.369, allocations: 0.9742 MB / 1.266 GB, free: 5.387 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0002904/1.369, allocations: 111.1 kB / 1.266 GB, free: 5.387 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004342/1.373, allocations: 1.499 MB / 1.268 GB, free: 5.375 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.000725/1.374, allocations: 464 kB / 1.268 GB, free: 5.375 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.00104/1.375, allocations: 0.6508 MB / 1.269 GB, free: 5.375 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.003867/1.379, allocations: 2.224 MB / 1.271 GB, free: 5.258 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.999e-06/1.379, allocations: 1.203 kB / 1.271 GB, free: 5.258 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.804e-06/1.379, allocations: 4.125 kB / 1.271 GB, free: 5.258 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 2.211e-05/1.379, allocations: 0 / 1.271 GB, free: 5.258 MB / 0.9981 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.003072/1.382, allocations: 1.511 MB / 1.272 GB, free: 20.48 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.492e-05/1.382, allocations: 11.25 kB / 1.272 GB, free: 20.48 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002118/1.384, allocations: 313.8 kB / 1.273 GB, free: 20.43 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001313/1.386, allocations: 0.8144 MB / 1.273 GB, free: 20.11 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.462e-05/1.386, allocations: 64.88 kB / 1.274 GB, free: 20.1 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001367/1.386, allocations: 83.94 kB / 1.274 GB, free: 20.1 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001852/1.388, allocations: 0.9162 MB / 1.274 GB, free: 20.04 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.522e-05/1.388, allocations: 0.8438 kB / 1.274 GB, free: 20.04 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.543e-05/1.388, allocations: 37.72 kB / 1.275 GB, free: 20.04 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.119e-05/1.388, allocations: 32.94 kB / 1.275 GB, free: 20.04 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001594/1.39, allocations: 0.8285 MB / 1.275 GB, free: 20.04 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.006214/1.396, allocations: 3.528 MB / 1.279 GB, free: 18.73 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000807/1.397, allocations: 0.4906 MB / 1.279 GB, free: 18.7 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004765/1.397, allocations: 293.4 kB / 1.28 GB, free: 18.69 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002021/1.397, allocations: 103.2 kB / 1.28 GB, free: 18.6 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.611e-05/1.397, allocations: 48 kB / 1.28 GB, free: 18.55 MB / 1.014 GB Notification: Performance of pre-optimization done (n=47): time 2.314e-06/1.397, allocations: 1.062 kB / 1.28 GB, free: 18.55 MB / 1.014 GB Notification: Performance of matching and sorting (n=49): time 0.004427/1.402, allocations: 1.917 MB / 1.282 GB, free: 17.89 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.128e-05/1.402, allocations: 60.75 kB / 1.282 GB, free: 17.83 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001299/1.403, allocations: 0.8104 MB / 1.282 GB, free: 17.69 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 7.556e-05/1.403, allocations: 36.58 kB / 1.282 GB, free: 17.66 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004047/1.404, allocations: 479.3 kB / 1.283 GB, free: 17.45 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001764/1.404, allocations: 173.9 kB / 1.283 GB, free: 17.34 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002139/1.404, allocations: 113.2 kB / 1.283 GB, free: 17.32 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.000141/1.404, allocations: 328.8 kB / 1.284 GB, free: 17.02 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004748/1.405, allocations: 241.1 kB / 1.284 GB, free: 17.02 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005349/1.405, allocations: 354.8 kB / 1.284 GB, free: 16.91 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.003861/1.409, allocations: 1.536 MB / 1.286 GB, free: 16.71 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.457e-06/1.409, allocations: 1.5 kB / 1.286 GB, free: 16.71 MB / 1.014 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.001278/1.41, allocations: 0.7868 MB / 1.286 GB, free: 16.6 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 2.208e-05/1.411, allocations: 7.781 kB / 1.286 GB, free: 16.6 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.024e-05/1.411, allocations: 8.422 kB / 1.286 GB, free: 16.6 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002936/1.411, allocations: 96.2 kB / 1.286 GB, free: 16.58 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006359/1.411, allocations: 146.6 kB / 1.287 GB, free: 16.58 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002841/1.414, allocations: 3.31 MB / 1.29 GB, free: 13.88 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009452/1.415, allocations: 62.88 kB / 1.29 GB, free: 13.87 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.633e-05/1.415, allocations: 23.91 kB / 1.29 GB, free: 13.87 MB / 1.014 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.000474/1.416, allocations: 299.8 kB / 1.29 GB, free: 13.76 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001605/1.416, allocations: 92.02 kB / 1.29 GB, free: 13.71 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001827/1.416, allocations: 101.3 kB / 1.29 GB, free: 13.7 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.831e-06/1.416, allocations: 5.375 kB / 1.29 GB, free: 13.7 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.058e-05/1.416, allocations: 4.75 kB / 1.29 GB, free: 13.7 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001059/1.417, allocations: 0.8416 MB / 1.291 GB, free: 13.24 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002774/1.42, allocations: 1.79 MB / 1.293 GB, free: 12.82 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.612e-06/1.42, allocations: 3.406 kB / 1.293 GB, free: 12.82 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006184/1.421, allocations: 129.2 kB / 1.293 GB, free: 12.82 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002161/1.421, allocations: 67.7 kB / 1.293 GB, free: 12.81 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.11e-05/1.421, allocations: 17.58 kB / 1.293 GB, free: 12.81 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001587/1.423, allocations: 1.789 MB / 1.295 GB, free: 11.46 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.302e-06/1.423, allocations: 8.953 kB / 1.295 GB, free: 11.46 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001567/1.424, allocations: 1.067 MB / 1.296 GB, free: 11.16 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004165/1.425, allocations: 242.8 kB / 1.296 GB, free: 11.01 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001253/1.425, allocations: 13.75 kB / 1.296 GB, free: 11.01 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000827/1.426, allocations: 63.09 kB / 1.296 GB, free: 11.01 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001139/1.426, allocations: 47.61 kB / 1.296 GB, free: 11 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.4e-05/1.426, allocations: 29.94 kB / 1.296 GB, free: 11 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.000709/1.426, allocations: 0.5634 MB / 1.297 GB, free: 10.91 MB / 1.014 GB Notification: Performance of sort global known variables: time 9.52e-07/1.427, allocations: 0 / 1.297 GB, free: 10.91 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.001088/1.428, allocations: 283.4 kB / 1.297 GB, free: 10.91 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 (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.0004786/1.428, allocations: 189.1 kB / 1.297 GB, free: 10.81 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.001503/1.43, allocations: 0.869 MB / 1.298 GB, free: 10.57 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 6.392e-06/1.43, allocations: 1.25 kB / 1.298 GB, free: 10.57 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.00058/1.43, allocations: 412.7 kB / 1.299 GB, free: 10.46 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002628/1.433, allocations: 0.6077 MB / 1.299 GB, free: 10.38 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002886/1.436, allocations: 2.177 MB / 1.301 GB, free: 9.246 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006618/1.436, allocations: 1.09 MB / 1.302 GB, free: 8.531 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.0009282/1.437, allocations: 214.1 kB / 1.303 GB, free: 8.477 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001833/1.438, allocations: 65.19 kB / 1.303 GB, free: 8.473 MB / 1.014 GB Notification: Performance of SimCode: time 6.21e-07/1.438, allocations: 0 / 1.303 GB, free: 8.473 MB / 1.014 GB Notification: Performance of Templates: time 0.03508/1.473, allocations: 20.43 MB / 1.323 GB, free: 5.977 MB / 1.014 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