Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_9_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_9_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.001232/0.001232, allocations: 97.33 kB / 15.36 MB, free: 0.7344 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.009258/0.009258, allocations: 169.7 kB / 16.27 MB, free: 6.652 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.5/1.5, allocations: 223.3 MB / 240.3 MB, free: 5.324 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.485/2.485, allocations: 390.9 MB / 0.6663 GB, free: 2.316 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003363/0.0003363, allocations: 8 kB / 0.8159 GB, free: 13.25 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7865/0.7869, allocations: 142.4 MB / 0.955 GB, free: 7.648 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate): time 0.2291/1.016, allocations: 185.9 MB / 1.137 GB, free: 4.855 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.01022/1.026, allocations: 5.733 MB / 1.142 GB, free: 15.11 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001295/1.028, allocations: 35.75 kB / 1.142 GB, free: 15.07 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.001483/1.029, allocations: 0.4896 MB / 1.143 GB, free: 14.58 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.003965/1.033, allocations: 1.537 MB / 1.144 GB, free: 13.04 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.003173/1.036, allocations: 1.087 MB / 1.145 GB, free: 11.96 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.004253/1.041, allocations: 3.548 MB / 1.149 GB, free: 8.406 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001069/1.042, allocations: 0.7191 MB / 1.149 GB, free: 7.676 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001743/1.043, allocations: 0.879 MB / 1.15 GB, free: 6.793 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001732/1.045, allocations: 0.7962 MB / 1.151 GB, free: 6 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 0.0001058/1.045, allocations: 40 kB / 1.151 GB, free: 5.961 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003248/1.049, allocations: 1.715 MB / 1.153 GB, free: 4.242 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.0004005/1.049, allocations: 358.9 kB / 1.153 GB, free: 3.891 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.0006696/1.05, allocations: 0.5381 MB / 1.154 GB, free: 3.344 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.002754/1.052, allocations: 2.009 MB / 1.156 GB, free: 1.328 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 4.558e-06/1.052, allocations: 0 / 1.156 GB, free: 1.328 MB / 0.9044 GB Notification: Performance of FrontEnd: time 2.134e-06/1.052, allocations: 0 / 1.156 GB, free: 1.328 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 1.428e-05/1.052, allocations: 4 kB / 1.156 GB, free: 1.324 MB / 0.9044 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.002232/1.055, allocations: 1.236 MB / 1.157 GB, free: 40 kB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 4.237e-05/1.055, allocations: 8.031 kB / 1.157 GB, free: 32 kB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002714/1.057, allocations: 434.3 kB / 1.157 GB, free: 15.61 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001379/1.059, allocations: 0.7648 MB / 1.158 GB, free: 14.79 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003701/1.059, allocations: 121.9 kB / 1.158 GB, free: 14.68 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001316/1.059, allocations: 75.94 kB / 1.158 GB, free: 14.6 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002071/1.061, allocations: 1.006 MB / 1.159 GB, free: 13.57 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.064e-05/1.061, allocations: 7.844 kB / 1.159 GB, free: 13.57 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.959e-05/1.062, allocations: 32 kB / 1.159 GB, free: 13.54 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.308e-05/1.062, allocations: 33.98 kB / 1.159 GB, free: 13.5 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002106/1.064, allocations: 0.9095 MB / 1.16 GB, free: 12.59 MB / 0.92 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.006376/1.07, allocations: 3.552 MB / 1.164 GB, free: 8.852 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001771/1.072, allocations: 0.6532 MB / 1.164 GB, free: 8.191 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009306/1.073, allocations: 354.2 kB / 1.165 GB, free: 7.844 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002151/1.073, allocations: 105.3 kB / 1.165 GB, free: 7.723 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.358e-05/1.073, allocations: 43.22 kB / 1.165 GB, free: 7.672 MB / 0.92 GB Notification: Performance of pre-optimization done (n=39): time 3.226e-06/1.073, allocations: 4 kB / 1.165 GB, free: 7.668 MB / 0.92 GB Notification: Performance of matching and sorting (n=41): time 0.008501/1.082, allocations: 2.529 MB / 1.167 GB, free: 5.059 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.492e-05/1.082, allocations: 59.41 kB / 1.167 GB, free: 4.988 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001087/1.083, allocations: 0.7941 MB / 1.168 GB, free: 4.188 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 6.337e-05/1.083, allocations: 33.7 kB / 1.168 GB, free: 4.148 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003857/1.083, allocations: 447.7 kB / 1.168 GB, free: 3.703 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001562/1.083, allocations: 149.8 kB / 1.169 GB, free: 3.555 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.645e-05/1.084, allocations: 49.69 kB / 1.169 GB, free: 3.5 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001513/1.084, allocations: 326 kB / 1.169 GB, free: 3.176 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008639/1.085, allocations: 320.9 kB / 1.169 GB, free: 2.863 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009478/1.085, allocations: 440 kB / 1.17 GB, free: 2.395 MB / 0.92 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.005804/1.091, allocations: 1.98 MB / 1.172 GB, free: 372 kB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.755e-06/1.091, allocations: 8 kB / 1.172 GB, free: 364 kB / 0.92 GB Notification: Performance of matching and sorting (n=63) (initialization): time 0.003364/1.095, allocations: 1.085 MB / 1.173 GB, free: 15.25 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 2.19e-05/1.095, allocations: 8 kB / 1.173 GB, free: 15.25 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.161e-05/1.095, allocations: 4 kB / 1.173 GB, free: 15.24 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000617/1.095, allocations: 196.8 kB / 1.173 GB, free: 15.05 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007427/1.096, allocations: 155.8 kB / 1.173 GB, free: 14.89 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004013/1.1, allocations: 2.116 MB / 1.175 GB, free: 12.65 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001091/1.101, allocations: 91.77 kB / 1.175 GB, free: 12.56 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.233e-05/1.101, allocations: 24 kB / 1.175 GB, free: 12.54 MB / 0.9356 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 (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.0004541/1.102, allocations: 269.6 kB / 1.175 GB, free: 12.27 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001524/1.102, allocations: 94.89 kB / 1.176 GB, free: 12.17 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001883/1.102, allocations: 100.2 kB / 1.176 GB, free: 12.07 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.889e-06/1.102, allocations: 4 kB / 1.176 GB, free: 12.07 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.747e-06/1.102, allocations: 0 / 1.176 GB, free: 12.07 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003087/1.105, allocations: 0.9536 MB / 1.177 GB, free: 11.08 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005401/1.111, allocations: 2.169 MB / 1.179 GB, free: 8.812 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.048e-06/1.111, allocations: 0 / 1.179 GB, free: 8.812 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000688/1.111, allocations: 144.2 kB / 1.179 GB, free: 8.672 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005685/1.112, allocations: 192.7 kB / 1.179 GB, free: 8.48 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.241e-05/1.112, allocations: 15.94 kB / 1.179 GB, free: 8.465 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003598/1.116, allocations: 2.077 MB / 1.181 GB, free: 6.258 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.582e-06/1.116, allocations: 11.92 kB / 1.181 GB, free: 6.246 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004136/1.12, allocations: 1.482 MB / 1.183 GB, free: 4.703 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003854/1.12, allocations: 239.9 kB / 1.183 GB, free: 4.449 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001076/1.12, allocations: 15.94 kB / 1.183 GB, free: 4.434 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009784/1.121, allocations: 96.44 kB / 1.183 GB, free: 4.34 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.347e-05/1.121, allocations: 43.83 kB / 1.183 GB, free: 4.297 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.14e-05/1.121, allocations: 23.98 kB / 1.183 GB, free: 4.273 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.0007055/1.122, allocations: 0.5537 MB / 1.183 GB, free: 3.723 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.3e-07/1.122, allocations: 0 / 1.183 GB, free: 3.723 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0009039/1.123, allocations: 276 kB / 1.184 GB, free: 3.453 MB / 0.9356 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.0004647/1.124, allocations: 197.7 kB / 1.184 GB, free: 3.258 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.002168/1.126, allocations: 0.8445 MB / 1.185 GB, free: 2.398 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 3.747e-06/1.126, allocations: 0 / 1.185 GB, free: 2.398 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.001032/1.127, allocations: 479.5 kB / 1.185 GB, free: 1.918 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002946/1.13, allocations: 0.5357 MB / 1.186 GB, free: 1.395 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004788/1.135, allocations: 2.334 MB / 1.188 GB, free: 14.99 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006789/1.135, allocations: 1.04 MB / 1.189 GB, free: 13.92 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 0.0009061/1.136, allocations: 211.1 kB / 1.189 GB, free: 13.71 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002025/1.136, allocations: 59.44 kB / 1.189 GB, free: 13.65 MB / 0.9512 GB Notification: Performance of SimCode: time 7.72e-07/1.136, allocations: 0 / 1.189 GB, free: 13.65 MB / 0.9512 GB Notification: Performance of Templates: time 0.0338/1.17, allocations: 19.61 MB / 1.208 GB, free: 10.3 MB / 0.9669 GB make -j1 -f Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate.makefile (rm -f Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate.pipe ; mkfifo Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate.pipe >> ../files/Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate.sim & ./Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_MixingVolumes_Validation_MixingVolumeHeatReverseFlowPrescribedHeatFlowRate.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches