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.001078/0.001077, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001144/0.001144, allocations: 198.1 kB / 16.14 MB, free: 6.711 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.401/1.401, allocations: 222.9 MB / 239.8 MB, free: 4.613 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.807/2.807, allocations: 472.7 MB / 0.7447 GB, free: 4.949 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001255/0.001255, allocations: 67.11 kB / 0.9114 GB, free: 33.6 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3415/0.3428, allocations: 159.9 MB / 1.068 GB, free: 10.85 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow): time 0.9197/1.263, allocations: 188.3 MB / 1.251 GB, free: 5.645 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.0103/1.273, allocations: 5.794 MB / 1.257 GB, free: 5.574 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002091/1.275, allocations: 38.59 kB / 1.257 GB, free: 5.574 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.001759/1.277, allocations: 0.4984 MB / 1.258 GB, free: 5.566 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.005354/1.282, allocations: 1.741 MB / 1.259 GB, free: 5.48 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.003501/1.286, allocations: 1.08 MB / 1.26 GB, free: 5.441 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.006201/1.292, allocations: 4.086 MB / 1.264 GB, free: 5.438 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001548/1.294, allocations: 0.808 MB / 1.265 GB, free: 5.359 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00244/1.296, allocations: 0.8991 MB / 1.266 GB, free: 5.359 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002808/1.299, allocations: 0.9469 MB / 1.267 GB, free: 5.359 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.000251/1.299, allocations: 56.84 kB / 1.267 GB, free: 5.355 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004413/1.304, allocations: 1.634 MB / 1.269 GB, free: 5.34 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0007624/1.304, allocations: 406.7 kB / 1.269 GB, free: 5.34 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.001265/1.306, allocations: 0.5932 MB / 1.27 GB, free: 5.34 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.004971/1.311, allocations: 2.165 MB / 1.272 GB, free: 5.227 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 7.364e-06/1.311, allocations: 4.328 kB / 1.272 GB, free: 5.227 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.233e-06/1.311, allocations: 1.125 kB / 1.272 GB, free: 5.227 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 2.807e-05/1.311, allocations: 0 / 1.272 GB, free: 5.227 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.003599/1.314, allocations: 1.522 MB / 1.273 GB, free: 20.44 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 5.01e-05/1.314, allocations: 13.88 kB / 1.273 GB, free: 20.44 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002296/1.317, allocations: 311.4 kB / 1.274 GB, free: 20.38 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001624/1.318, allocations: 0.8122 MB / 1.274 GB, free: 20.05 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.56e-05/1.318, allocations: 66.59 kB / 1.274 GB, free: 20.05 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001574/1.318, allocations: 82.84 kB / 1.274 GB, free: 20.05 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002335/1.321, allocations: 0.9204 MB / 1.275 GB, free: 19.99 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.907e-05/1.321, allocations: 0.875 kB / 1.275 GB, free: 19.99 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001134/1.321, allocations: 37.25 kB / 1.275 GB, free: 19.99 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.055e-05/1.321, allocations: 31.83 kB / 1.275 GB, free: 19.99 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002183/1.323, allocations: 0.8273 MB / 1.276 GB, free: 19.98 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.007011/1.33, allocations: 3.526 MB / 1.28 GB, free: 18.65 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00084/1.331, allocations: 0.4956 MB / 1.28 GB, free: 18.62 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004755/1.332, allocations: 295.4 kB / 1.28 GB, free: 18.62 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000222/1.332, allocations: 106.4 kB / 1.281 GB, free: 18.52 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.144e-05/1.332, allocations: 41.16 kB / 1.281 GB, free: 18.48 MB / 1.014 GB Notification: Performance of pre-optimization done (n=47): time 2.745e-06/1.332, allocations: 0 / 1.281 GB, free: 18.48 MB / 1.014 GB Notification: Performance of matching and sorting (n=49): time 0.004732/1.337, allocations: 1.921 MB / 1.282 GB, free: 17.8 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.886e-05/1.337, allocations: 60.56 kB / 1.283 GB, free: 17.74 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00129/1.338, allocations: 0.8069 MB / 1.283 GB, free: 17.61 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 8.85e-05/1.338, allocations: 41.48 kB / 1.283 GB, free: 17.57 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003129/1.338, allocations: 475.4 kB / 1.284 GB, free: 17.37 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001597/1.339, allocations: 177.6 kB / 1.284 GB, free: 17.25 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001863/1.339, allocations: 113.9 kB / 1.284 GB, free: 17.23 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001291/1.339, allocations: 329.8 kB / 1.284 GB, free: 16.93 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004373/1.339, allocations: 240.9 kB / 1.285 GB, free: 16.93 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005243/1.34, allocations: 355.4 kB / 1.285 GB, free: 16.82 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.003974/1.344, allocations: 1.53 MB / 1.286 GB, free: 16.59 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.877e-06/1.344, allocations: 1.156 kB / 1.286 GB, free: 16.59 MB / 1.014 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.001545/1.345, allocations: 0.7861 MB / 1.287 GB, free: 16.48 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 2.146e-05/1.346, allocations: 6.469 kB / 1.287 GB, free: 16.48 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.136e-05/1.346, allocations: 3.156 kB / 1.287 GB, free: 16.48 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003153/1.346, allocations: 95.36 kB / 1.287 GB, free: 16.47 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006841/1.347, allocations: 143.4 kB / 1.287 GB, free: 16.46 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002965/1.35, allocations: 3.064 MB / 1.29 GB, free: 13.95 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001246/1.351, allocations: 59.5 kB / 1.291 GB, free: 13.94 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.913e-05/1.351, allocations: 25.09 kB / 1.291 GB, free: 13.94 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.0006282/1.352, allocations: 305.4 kB / 1.291 GB, free: 13.82 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002002/1.352, allocations: 92.56 kB / 1.291 GB, free: 13.78 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002235/1.352, allocations: 100.7 kB / 1.291 GB, free: 13.76 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.012e-06/1.352, allocations: 6.328 kB / 1.291 GB, free: 13.76 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.072e-05/1.352, allocations: 1.125 kB / 1.291 GB, free: 13.76 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001139/1.353, allocations: 0.843 MB / 1.292 GB, free: 13.3 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003342/1.356, allocations: 1.791 MB / 1.294 GB, free: 12.87 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.258e-06/1.356, allocations: 7.062 kB / 1.294 GB, free: 12.86 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000644/1.357, allocations: 134.6 kB / 1.294 GB, free: 12.86 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000248/1.357, allocations: 69.53 kB / 1.294 GB, free: 12.85 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.853e-05/1.357, allocations: 15.98 kB / 1.294 GB, free: 12.85 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001685/1.359, allocations: 1.646 MB / 1.295 GB, free: 11.59 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.661e-06/1.359, allocations: 6.312 kB / 1.295 GB, free: 11.59 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002059/1.361, allocations: 1.071 MB / 1.296 GB, free: 11.27 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009896/1.362, allocations: 233.7 kB / 1.297 GB, free: 11.14 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004201/1.363, allocations: 20.78 kB / 1.297 GB, free: 11.13 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00127/1.364, allocations: 65.95 kB / 1.297 GB, free: 11.12 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001676/1.364, allocations: 44.08 kB / 1.297 GB, free: 11.12 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001155/1.364, allocations: 29.92 kB / 1.297 GB, free: 11.12 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.001308/1.366, allocations: 0.5585 MB / 1.297 GB, free: 11.03 MB / 1.014 GB Notification: Performance of sort global known variables: time 1.7e-07/1.366, allocations: 1.094 kB / 1.297 GB, free: 11.03 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.002073/1.368, allocations: 285.3 kB / 1.298 GB, free: 11.03 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.0006928/1.368, allocations: 186.9 kB / 1.298 GB, free: 10.93 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.001912/1.37, allocations: 0.7954 MB / 1.299 GB, free: 10.7 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 9.768e-06/1.37, allocations: 2.125 kB / 1.299 GB, free: 10.7 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0008461/1.371, allocations: 412 kB / 1.299 GB, free: 10.59 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003982/1.375, allocations: 0.5931 MB / 1.3 GB, free: 10.53 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004045/1.379, allocations: 2.169 MB / 1.302 GB, free: 9.332 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009607/1.38, allocations: 1.087 MB / 1.303 GB, free: 8.613 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.001347/1.382, allocations: 218.6 kB / 1.303 GB, free: 8.555 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002811/1.382, allocations: 68.14 kB / 1.303 GB, free: 8.551 MB / 1.014 GB Notification: Performance of SimCode: time 1.202e-06/1.382, allocations: 3 kB / 1.303 GB, free: 8.551 MB / 1.014 GB Notification: Performance of Templates: time 0.03648/1.418, allocations: 19.61 MB / 1.322 GB, free: 5.316 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