Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 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.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volDyn.ports.1..m_flow|gain.y|volDyn.T|volSte.T",fileNamePrefix="Buildings_latest_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_latest_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.001524/0.001524, allocations: 103.5 kB / 15.98 MB, free: 6.348 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.001538/0.001538, allocations: 196.6 kB / 16.91 MB, free: 6.188 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.387/1.387, allocations: 222.9 MB / 240.6 MB, free: 13.74 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.717/2.717, allocations: 482.4 MB / 0.755 GB, free: 7.207 MB / 0.6231 GB Notification: Performance of FrontEnd - loaded program: time 0.001932/0.001933, allocations: 71.72 kB / 0.924 GB, free: 372 kB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7328/0.7347, allocations: 162.2 MB / 1.082 GB, free: 1.887 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate): time 0.2346/0.9693, allocations: 188.2 MB / 1.266 GB, free: 2.539 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.009995/0.9794, allocations: 5.711 MB / 1.272 GB, free: 12.82 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001433/0.9809, allocations: 39.75 kB / 1.272 GB, free: 12.78 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.00176/0.9827, allocations: 0.5092 MB / 1.272 GB, free: 12.27 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.004312/0.987, allocations: 1.525 MB / 1.274 GB, free: 10.74 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.003307/0.9903, allocations: 1.109 MB / 1.275 GB, free: 9.637 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.003775/0.9941, allocations: 2.558 MB / 1.277 GB, free: 7.074 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001531/0.9957, allocations: 0.855 MB / 1.278 GB, free: 6.211 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002771/0.9984, allocations: 1.207 MB / 1.279 GB, free: 5 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002199/1.001, allocations: 0.8482 MB / 1.28 GB, free: 4.156 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0002774/1.001, allocations: 100 kB / 1.28 GB, free: 4.059 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003094/1.004, allocations: 1.598 MB / 1.282 GB, free: 2.457 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0005278/1.005, allocations: 410.9 kB / 1.282 GB, free: 2.055 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0008304/1.005, allocations: 0.5872 MB / 1.283 GB, free: 1.465 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.00221/1.008, allocations: 1.524 MB / 1.284 GB, free: 15.94 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 4.278e-06/1.008, allocations: 4 kB / 1.284 GB, free: 15.93 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.673e-06/1.008, allocations: 0 / 1.284 GB, free: 15.93 MB / 1.014 GB Notification: Performance of Transformations before backend: time 2.086e-05/1.008, allocations: 0 / 1.284 GB, free: 15.93 MB / 1.014 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.002564/1.01, allocations: 1.433 MB / 1.286 GB, free: 14.45 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.287e-05/1.01, allocations: 12.03 kB / 1.286 GB, free: 14.43 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002651/1.013, allocations: 410.3 kB / 1.286 GB, free: 14.03 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00144/1.014, allocations: 0.7648 MB / 1.287 GB, free: 13.23 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003481/1.015, allocations: 113.9 kB / 1.287 GB, free: 13.11 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001327/1.015, allocations: 76 kB / 1.287 GB, free: 13.04 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001994/1.017, allocations: 0.9905 MB / 1.288 GB, free: 12.03 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.392e-05/1.017, allocations: 7.875 kB / 1.288 GB, free: 12.02 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.51e-05/1.017, allocations: 36 kB / 1.288 GB, free: 11.99 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.228e-05/1.017, allocations: 30 kB / 1.288 GB, free: 11.96 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001999/1.019, allocations: 0.8822 MB / 1.289 GB, free: 11.07 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.006323/1.025, allocations: 3.505 MB / 1.292 GB, free: 7.383 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001697/1.027, allocations: 0.6242 MB / 1.293 GB, free: 6.75 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008105/1.028, allocations: 339 kB / 1.293 GB, free: 6.418 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001995/1.028, allocations: 105.7 kB / 1.293 GB, free: 6.297 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.486e-05/1.028, allocations: 42.55 kB / 1.293 GB, free: 6.246 MB / 1.014 GB Notification: Performance of pre-optimization done (n=39): time 2.795e-06/1.028, allocations: 0 / 1.293 GB, free: 6.246 MB / 1.014 GB Notification: Performance of matching and sorting (n=41): time 0.008416/1.037, allocations: 2.42 MB / 1.296 GB, free: 3.746 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.759e-05/1.037, allocations: 55.41 kB / 1.296 GB, free: 3.68 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001123/1.038, allocations: 0.7978 MB / 1.297 GB, free: 2.875 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 8.141e-05/1.038, allocations: 37.7 kB / 1.297 GB, free: 2.832 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003715/1.038, allocations: 443.7 kB / 1.297 GB, free: 2.395 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.000173/1.039, allocations: 149.8 kB / 1.297 GB, free: 2.246 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002067/1.039, allocations: 110.1 kB / 1.297 GB, free: 2.133 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.000151/1.039, allocations: 322 kB / 1.298 GB, free: 1.812 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008223/1.04, allocations: 304.9 kB / 1.298 GB, free: 1.516 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008971/1.041, allocations: 416.1 kB / 1.298 GB, free: 1.074 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.005716/1.046, allocations: 1.902 MB / 1.3 GB, free: 15.12 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.583e-06/1.046, allocations: 4 kB / 1.3 GB, free: 15.11 MB / 1.029 GB Notification: Performance of matching and sorting (n=63) (initialization): time 0.003477/1.05, allocations: 1.05 MB / 1.301 GB, free: 14.05 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 2.682e-05/1.05, allocations: 8 kB / 1.301 GB, free: 14.05 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.055e-06/1.05, allocations: 0 / 1.301 GB, free: 14.05 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006334/1.051, allocations: 192.8 kB / 1.301 GB, free: 13.86 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007259/1.051, allocations: 139.8 kB / 1.302 GB, free: 13.72 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004457/1.056, allocations: 2.248 MB / 1.304 GB, free: 11.33 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001116/1.057, allocations: 83.89 kB / 1.304 GB, free: 11.25 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.479e-05/1.057, allocations: 23.98 kB / 1.304 GB, free: 11.23 MB / 1.029 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 (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.0005539/1.058, allocations: 280.4 kB / 1.304 GB, free: 10.95 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001694/1.058, allocations: 90.91 kB / 1.304 GB, free: 10.86 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001975/1.058, allocations: 96.23 kB / 1.304 GB, free: 10.75 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.51e-06/1.058, allocations: 4 kB / 1.304 GB, free: 10.75 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.449e-06/1.058, allocations: 0 / 1.304 GB, free: 10.75 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002934/1.061, allocations: 0.9068 MB / 1.305 GB, free: 9.809 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005648/1.067, allocations: 2.114 MB / 1.307 GB, free: 7.594 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.697e-06/1.067, allocations: 7.938 kB / 1.307 GB, free: 7.586 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006621/1.067, allocations: 136 kB / 1.307 GB, free: 7.453 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005823/1.068, allocations: 184.7 kB / 1.308 GB, free: 7.27 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.367e-05/1.068, allocations: 19.92 kB / 1.308 GB, free: 7.25 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003917/1.072, allocations: 2.184 MB / 1.31 GB, free: 4.93 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.945e-06/1.072, allocations: 7.938 kB / 1.31 GB, free: 4.922 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004091/1.076, allocations: 1.428 MB / 1.311 GB, free: 3.43 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004918/1.077, allocations: 240 kB / 1.311 GB, free: 3.176 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001342/1.077, allocations: 16 kB / 1.311 GB, free: 3.16 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009452/1.078, allocations: 89.66 kB / 1.311 GB, free: 3.074 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001063/1.078, allocations: 39.84 kB / 1.311 GB, free: 3.035 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.806e-05/1.078, allocations: 35.97 kB / 1.312 GB, free: 3 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0008065/1.079, allocations: 0.5537 MB / 1.312 GB, free: 2.453 MB / 1.029 GB Notification: Performance of sort global known variables: time 1.2e-07/1.079, allocations: 0 / 1.312 GB, free: 2.453 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.000933/1.08, allocations: 276 kB / 1.312 GB, free: 2.184 MB / 1.029 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.0005216/1.08, allocations: 206.9 kB / 1.313 GB, free: 1.98 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.002262/1.082, allocations: 0.8441 MB / 1.313 GB, free: 1.117 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 6.362e-06/1.082, allocations: 4.5 kB / 1.313 GB, free: 1.113 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.00104/1.083, allocations: 467.2 kB / 1.314 GB, free: 0.6445 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002438/1.086, allocations: 0.55 MB / 1.314 GB, free: 108 kB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005088/1.091, allocations: 2.296 MB / 1.317 GB, free: 13.73 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007649/1.092, allocations: 1.036 MB / 1.318 GB, free: 12.67 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002606/1.092, allocations: 71.42 kB / 1.318 GB, free: 12.6 MB / 1.045 GB Notification: Performance of SimCode: time 4.7e-07/1.092, allocations: 0 / 1.318 GB, free: 12.6 MB / 1.045 GB Notification: Performance of Templates: time 0.02884/1.121, allocations: 18.9 MB / 1.336 GB, free: 9.832 MB / 1.061 GB make -j1 -f Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate.makefile (rm -f Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate.pipe ; mkfifo Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate.pipe >> ../files/Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate.sim & ./Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_MixingVolumes_Validation_MixingVolumeHeatReverseFlowPrescribedHeatFlowRate.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches