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.001075/0.001075, allocations: 91.53 kB / 15.36 MB, free: 0.7383 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.008178/0.008179, allocations: 173.1 kB / 16.26 MB, free: 6.613 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.431/1.431, allocations: 223.3 MB / 240.3 MB, free: 5.316 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.895/2.895, allocations: 462.6 MB / 0.7364 GB, free: 272 kB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.0003578/0.0003578, allocations: 11.34 kB / 0.9028 GB, free: 36.62 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3422/0.3426, allocations: 159.6 MB / 1.059 GB, free: 5.465 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow): time 0.2033/0.5459, allocations: 185.9 MB / 1.24 GB, free: 10.9 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.0117/0.5576, allocations: 5.737 MB / 1.246 GB, free: 5.148 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002684/0.5604, allocations: 35.75 kB / 1.246 GB, free: 5.113 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.002255/0.5626, allocations: 0.5052 MB / 1.246 GB, free: 4.605 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.005699/0.5684, allocations: 1.735 MB / 1.248 GB, free: 2.863 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.003366/0.5717, allocations: 1.077 MB / 1.249 GB, free: 1.793 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.7348/1.307, allocations: 4.084 MB / 1.253 GB, free: 4.777 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001738/1.308, allocations: 0.7758 MB / 1.254 GB, free: 4.715 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002207/1.311, allocations: 0.8745 MB / 1.255 GB, free: 4.711 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002196/1.313, allocations: 0.9091 MB / 1.256 GB, free: 4.711 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.000148/1.313, allocations: 40.28 kB / 1.256 GB, free: 4.711 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003358/1.316, allocations: 1.628 MB / 1.257 GB, free: 4.707 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0005597/1.317, allocations: 387.1 kB / 1.258 GB, free: 4.707 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0008538/1.318, allocations: 0.5947 MB / 1.258 GB, free: 4.676 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.003838/1.322, allocations: 2.135 MB / 1.26 GB, free: 4.625 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 5.801e-06/1.322, allocations: 0 / 1.26 GB, free: 4.625 MB / 0.9981 GB Notification: Performance of FrontEnd: time 3.116e-06/1.322, allocations: 0 / 1.26 GB, free: 4.625 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 3.222e-05/1.322, allocations: 0 / 1.26 GB, free: 4.625 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.002936/1.325, allocations: 1.288 MB / 1.261 GB, free: 19.91 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.827e-05/1.325, allocations: 8.844 kB / 1.261 GB, free: 19.91 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002054/1.327, allocations: 313.3 kB / 1.262 GB, free: 19.84 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001584/1.328, allocations: 0.8125 MB / 1.263 GB, free: 19.52 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.477e-05/1.328, allocations: 63.62 kB / 1.263 GB, free: 19.52 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001236/1.329, allocations: 83.7 kB / 1.263 GB, free: 19.52 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001763/1.33, allocations: 0.9287 MB / 1.264 GB, free: 19.46 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.535e-05/1.33, allocations: 0 / 1.264 GB, free: 19.46 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.987e-05/1.33, allocations: 39.05 kB / 1.264 GB, free: 19.46 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.956e-05/1.33, allocations: 36.67 kB / 1.264 GB, free: 19.46 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001613/1.332, allocations: 0.8365 MB / 1.265 GB, free: 19.45 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.007055/1.339, allocations: 3.54 MB / 1.268 GB, free: 18.12 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009657/1.34, allocations: 0.4972 MB / 1.268 GB, free: 18.1 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005155/1.341, allocations: 300.1 kB / 1.269 GB, free: 18.09 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001955/1.341, allocations: 105 kB / 1.269 GB, free: 17.99 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.227e-05/1.341, allocations: 41.97 kB / 1.269 GB, free: 17.95 MB / 1.014 GB Notification: Performance of pre-optimization done (n=47): time 4.518e-06/1.341, allocations: 0.7031 kB / 1.269 GB, free: 17.95 MB / 1.014 GB Notification: Performance of matching and sorting (n=49): time 0.004805/1.346, allocations: 1.949 MB / 1.271 GB, free: 17.28 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.985e-05/1.346, allocations: 57.47 kB / 1.271 GB, free: 17.21 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00151/1.347, allocations: 0.8035 MB / 1.272 GB, free: 17.08 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 7.113e-05/1.347, allocations: 40.52 kB / 1.272 GB, free: 17.05 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004244/1.348, allocations: 478.5 kB / 1.272 GB, free: 16.84 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001961/1.348, allocations: 168.9 kB / 1.272 GB, free: 16.73 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.929e-05/1.348, allocations: 53.17 kB / 1.272 GB, free: 16.72 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001383/1.348, allocations: 331.8 kB / 1.273 GB, free: 16.41 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006011/1.349, allocations: 248.8 kB / 1.273 GB, free: 16.41 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006955/1.35, allocations: 361 kB / 1.273 GB, free: 16.31 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.004114/1.354, allocations: 1.572 MB / 1.275 GB, free: 16.07 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.911e-06/1.354, allocations: 1.406 kB / 1.275 GB, free: 16.07 MB / 1.014 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.001662/1.355, allocations: 0.7952 MB / 1.276 GB, free: 15.96 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 2.582e-05/1.355, allocations: 6.406 kB / 1.276 GB, free: 15.96 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.048e-05/1.355, allocations: 4.734 kB / 1.276 GB, free: 15.96 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003159/1.356, allocations: 96.73 kB / 1.276 GB, free: 15.94 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006998/1.356, allocations: 153.4 kB / 1.276 GB, free: 15.94 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00296/1.359, allocations: 3.072 MB / 1.279 GB, free: 13.42 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001251/1.361, allocations: 59.45 kB / 1.279 GB, free: 13.41 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.578e-05/1.361, allocations: 26.59 kB / 1.279 GB, free: 13.41 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 sytem: 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.0006917/1.361, allocations: 312.9 kB / 1.279 GB, free: 13.29 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001642/1.362, allocations: 93 kB / 1.279 GB, free: 13.24 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002029/1.362, allocations: 100.8 kB / 1.279 GB, free: 13.23 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.224e-06/1.362, allocations: 5 kB / 1.279 GB, free: 13.23 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.386e-06/1.362, allocations: 0.9062 kB / 1.279 GB, free: 13.23 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001202/1.363, allocations: 0.8577 MB / 1.28 GB, free: 12.77 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003197/1.366, allocations: 1.8 MB / 1.282 GB, free: 12.34 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.446e-06/1.366, allocations: 12.44 kB / 1.282 GB, free: 12.34 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006587/1.367, allocations: 138.4 kB / 1.282 GB, free: 12.33 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002582/1.367, allocations: 70.27 kB / 1.282 GB, free: 12.32 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.955e-05/1.367, allocations: 16.94 kB / 1.282 GB, free: 12.32 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001594/1.369, allocations: 1.646 MB / 1.284 GB, free: 11.07 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.779e-06/1.369, allocations: 3.812 kB / 1.284 GB, free: 11.07 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001957/1.371, allocations: 1.089 MB / 1.285 GB, free: 10.75 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006082/1.372, allocations: 236.1 kB / 1.285 GB, free: 10.61 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001178/1.372, allocations: 22.03 kB / 1.285 GB, free: 10.61 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000834/1.373, allocations: 65.66 kB / 1.285 GB, free: 10.6 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001522/1.373, allocations: 46.45 kB / 1.285 GB, free: 10.59 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.439e-05/1.373, allocations: 29.94 kB / 1.285 GB, free: 10.59 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.001069/1.374, allocations: 0.5614 MB / 1.286 GB, free: 10.5 MB / 1.014 GB Notification: Performance of sort global known variables: time 6.41e-07/1.374, allocations: 0 / 1.286 GB, free: 10.5 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.001853/1.376, allocations: 286.9 kB / 1.286 GB, free: 10.5 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.0007069/1.376, allocations: 187.5 kB / 1.286 GB, free: 10.4 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.001763/1.378, allocations: 0.8024 MB / 1.287 GB, free: 10.16 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 7.244e-06/1.378, allocations: 1.812 kB / 1.287 GB, free: 10.16 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.000706/1.379, allocations: 427.7 kB / 1.287 GB, free: 10.04 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003837/1.383, allocations: 0.5916 MB / 1.288 GB, free: 9.992 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003903/1.387, allocations: 2.248 MB / 1.29 GB, free: 8.781 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008419/1.388, allocations: 1.091 MB / 1.291 GB, free: 8.062 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.001202/1.389, allocations: 208.3 kB / 1.291 GB, free: 8.012 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002279/1.389, allocations: 68.72 kB / 1.292 GB, free: 8.004 MB / 1.014 GB Notification: Performance of SimCode: time 6.31e-07/1.389, allocations: 0 / 1.292 GB, free: 8.004 MB / 1.014 GB Notification: Performance of Templates: time 0.03554/1.425, allocations: 19.5 MB / 1.311 GB, free: 6.348 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